diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/sqlite/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r-- | dev-db/sqlite/files/maketcllib.sh | 40 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch | 12 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-2.8.16-exit.patch | 12 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-2.8.16-multilib.patch | 108 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch | 12 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch | 12 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch | 49 |
7 files changed, 245 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/maketcllib.sh b/dev-db/sqlite/files/maketcllib.sh new file mode 100644 index 00000000000..ad87ce1fcaf --- /dev/null +++ b/dev-db/sqlite/files/maketcllib.sh @@ -0,0 +1,40 @@ +#!/bin/bash +# +# This script was adapted from the one used by Hwaci to build it's +# documentation and binaries for shipping to their website. +# +# Any similarity to the original has probably been trampled into +# oblivion modifying everything for Gentoo. +# +echo "Starting TCL Build" + +# Set srcdir to the name of the directory that contains the publish.sh +# script. +# +srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'` + +# +# Build the tclsqlite.so shared library for import into tclsh or wish +# under Linux +# +make target_source +source /etc/make.conf +cd tsrc +rm shell.c + +OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1' +TCLSTUBLIB=${TCL_BUILD_STUB_LIB_PATH} + +export CFLAGS +gcc -fPIC $CFLAGS $OPTS -I. -shared *.c $TCLSTUBLIB -o tclsqlite.so + +strip tclsqlite.so +cp tclsqlite.so .. + +cd .. + +echo "pkg_mkIndex [pwd] tclsqlite.so" >> make_pkgIndex.tcl +tclsh make_pkgIndex.tcl + +echo "Done TCL Build" + diff --git a/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch b/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch new file mode 100644 index 00000000000..7081ffd0032 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch @@ -0,0 +1,12 @@ +diff -uNr sqlite.orig/src/vdbeInt.h sqlite/src/vdbeInt.h +--- sqlite.orig/src/vdbeInt.h 2004-10-16 01:33:02.779442000 +0200 ++++ sqlite/src/vdbeInt.h 2004-10-16 01:35:01.139442000 +0200 +@@ -115,7 +115,7 @@ + int flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */ + double r; /* Real value */ + char *z; /* String value */ +- char zShort[NBFS]; /* Space for short strings */ ++ char zShort[NBFS] __attribute__ ((__aligned__(16))); /* Space for short strings */ + }; + typedef struct Mem Mem; + diff --git a/dev-db/sqlite/files/sqlite-2.8.16-exit.patch b/dev-db/sqlite/files/sqlite-2.8.16-exit.patch new file mode 100644 index 00000000000..aaccb575e0a --- /dev/null +++ b/dev-db/sqlite/files/sqlite-2.8.16-exit.patch @@ -0,0 +1,12 @@ +temp.c:4:1: warning: incompatible implicit declaration of built-in function ‘exit’ + +--- Makefile.in ++++ Makefile.in +@@ -269,6 +269,7 @@ + # + config.h: + echo '#include <stdio.h>' >temp.c ++ echo '#include <stdlib.h>' >>temp.c + echo 'int main(){printf(' >>temp.c + echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c + echo 'exit(0);}' >>temp.c diff --git a/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch b/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch new file mode 100644 index 00000000000..32111877c1b --- /dev/null +++ b/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch @@ -0,0 +1,108 @@ +diff -Naurp sqlite-2.8.16.orig/Makefile.in sqlite-2.8.16/Makefile.in +--- sqlite-2.8.16.orig/Makefile.in 2005-02-14 00:22:04.000000000 +0000 ++++ sqlite-2.8.16/Makefile.in 2005-02-17 18:22:50.174537727 +0000 +@@ -187,12 +187,12 @@ last_change: $(SRC) + | awk '{print $$5,$$6}' >last_change + + libsqlite.la: $(LIBOBJ) +- $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @exec_prefix@/lib \ ++ $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @libdir@ \ + -version-info "8:6:8" + + libtclsqlite.la: tclsqlite.lo libsqlite.la + $(LTLINK) -o libtclsqlite.la tclsqlite.lo \ +- libsqlite.la $(LIBTCL) -rpath @exec_prefix@/lib/sqlite \ ++ libsqlite.la $(LIBTCL) -rpath @libdir@/sqlite \ + -version-info "8:6:8" + + sqlite@TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite.la sqlite.h +@@ -465,14 +465,14 @@ doc: $(DOC) + mv $(DOC) doc + + install: sqlite libsqlite.la sqlite.h +- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib +- $(LTINSTALL) libsqlite.la $(DESTDIR)$(exec_prefix)/lib ++ $(INSTALL) -d $(DESTDIR)@libdir@ ++ $(LTINSTALL) libsqlite.la $(DESTDIR)@libdir@ + $(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin + $(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin + $(INSTALL) -d $(DESTDIR)$(prefix)/include + $(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include +- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; +- $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig; ++ $(INSTALL) -d $(DESTDIR)@libdir@/pkgconfig; ++ $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)@libdir@/pkgconfig; + + clean: + rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.* +diff -Naurp sqlite-2.8.16.orig/Makefile.linux-gcc sqlite-2.8.16/Makefile.linux-gcc +--- sqlite-2.8.16.orig/Makefile.linux-gcc 2005-02-14 00:22:04.000000000 +0000 ++++ sqlite-2.8.16/Makefile.linux-gcc 2005-02-17 18:21:47.654969648 +0000 +@@ -14,7 +14,7 @@ + #### The toplevel directory of the source tree. This is the directory + # that contains this "Makefile.in" and the "configure.in" script. + # +-TOP = ../sqlite ++TOP = @@S@@ + + #### C Compiler and options for use in building executables that + # will run on the platform that is doing the build. +@@ -38,8 +38,8 @@ THREADSAFE = -DTHREADSAFE=0 + #### Specify any extra linker options needed to make the library + # thread safe + # +-#THREADLIB = -lpthread +-THREADLIB = ++THREADLIB = -lpthread ++#THREADLIB = + + #### Leave MEMORY_DEBUG undefined for maximum speed. Use MEMORY_DEBUG=1 + # to check for memory leaks. Use MEMORY_DEBUG=2 to print a log of all +@@ -64,7 +64,7 @@ EXE = + # will run on the target platform. This is usually the same + # as BCC, unless you are cross-compiling. + # +-TCC = gcc -O6 ++TCC = @@CC@@ @@CFLAGS@@ + #TCC = gcc -g -O0 -Wall + #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage + #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6 +@@ -72,23 +72,23 @@ TCC = gcc -O6 + + #### Tools used to build a static library. + # +-AR = ar cr ++AR = @@AR@@ cr + #AR = /opt/mingw/bin/i386-mingw32-ar cr +-RANLIB = ranlib ++RANLIB = @@RANLIB@@ + #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib + + #### Extra compiler options needed for programs that use the TCL library. + # +-#TCL_FLAGS = ++#TCL_FLAGS = @@TCL_FLAGS@@ + #TCL_FLAGS = -DSTATIC_BUILD=1 +-TCL_FLAGS = -I/home/drh/tcltk/8.4linux ++#TCL_FLAGS = -I/home/drh/tcltk/8.4linux + #TCL_FLAGS = -I/home/drh/tcltk/8.4win -DSTATIC_BUILD=1 + #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux + + #### Linker options needed to link against the TCL library. + # +-#LIBTCL = -ltcl -lm -ldl +-LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl ++LIBTCL = -ltcl -lm -ldl ++#LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl + #LIBTCL = /home/drh/tcltk/8.4win/libtcl84s.a -lmsvcrt + #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc + +@@ -100,7 +100,7 @@ READLINE_FLAGS = -DHAVE_READLINE=1 -I/us + #### Linker options needed by programs using readline() must link against. + # + #LIBREADLINE = +-LIBREADLINE = -static -lreadline -ltermcap ++LIBREADLINE = -static -lreadline -lncurses + + #### Should the database engine assume text is coded as UTF-8 or iso8859? + # diff --git a/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch b/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch new file mode 100644 index 00000000000..bd55a0778bd --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch @@ -0,0 +1,12 @@ +--- configure.ac ++++ configure.ac +@@ -70,6 +70,9 @@ + [], [enable_dynamic_extensions=yes]) + if test x"$enable_dynamic_extensions" != "xno"; then + AC_SEARCH_LIBS(dlopen, dl) ++ if test "${ac_cv_search_dlopen}" = "no" ; then ++ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1 ++ fi + else + DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1 + fi diff --git a/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch b/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch new file mode 100644 index 00000000000..0c5b48d1db9 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch @@ -0,0 +1,12 @@ +--- configure.ac ++++ configure.ac +@@ -611,6 +611,9 @@ + if test "${use_loadextension}" = "yes" ; then + OPT_FEATURE_FLAGS="" + AC_SEARCH_LIBS(dlopen, dl) ++ if test "${ac_cv_search_dlopen}" = "no" ; then ++ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1" ++ fi + else + OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1" + fi diff --git a/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch b/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch new file mode 100644 index 00000000000..c6cbb33c491 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch @@ -0,0 +1,49 @@ +--- test/fts4unicode.test ++++ test/fts4unicode.test +@@ -366,27 +366,26 @@ + do_isspace_test 6.$T.1 $T 32 + do_isspace_test 6.$T.2 $T 160 + do_isspace_test 6.$T.3 $T 5760 +- do_isspace_test 6.$T.4 $T 6158 +- do_isspace_test 6.$T.5 $T 8192 +- do_isspace_test 6.$T.6 $T 8193 +- do_isspace_test 6.$T.7 $T 8194 +- do_isspace_test 6.$T.8 $T 8195 +- do_isspace_test 6.$T.9 $T 8196 +- do_isspace_test 6.$T.10 $T 8197 +- do_isspace_test 6.$T.11 $T 8198 +- do_isspace_test 6.$T.12 $T 8199 +- do_isspace_test 6.$T.13 $T 8200 +- do_isspace_test 6.$T.14 $T 8201 +- do_isspace_test 6.$T.15 $T 8202 +- do_isspace_test 6.$T.16 $T 8239 +- do_isspace_test 6.$T.17 $T 8287 +- do_isspace_test 6.$T.18 $T 12288 ++ do_isspace_test 6.$T.4 $T 8192 ++ do_isspace_test 6.$T.5 $T 8193 ++ do_isspace_test 6.$T.6 $T 8194 ++ do_isspace_test 6.$T.7 $T 8195 ++ do_isspace_test 6.$T.8 $T 8196 ++ do_isspace_test 6.$T.9 $T 8197 ++ do_isspace_test 6.$T.10 $T 8198 ++ do_isspace_test 6.$T.11 $T 8199 ++ do_isspace_test 6.$T.12 $T 8200 ++ do_isspace_test 6.$T.13 $T 8201 ++ do_isspace_test 6.$T.14 $T 8202 ++ do_isspace_test 6.$T.15 $T 8239 ++ do_isspace_test 6.$T.16 $T 8287 ++ do_isspace_test 6.$T.17 $T 12288 + +- do_isspace_test 6.$T.19 $T {32 160 5760 6158} +- do_isspace_test 6.$T.20 $T {8192 8193 8194 8195} +- do_isspace_test 6.$T.21 $T {8196 8197 8198 8199} +- do_isspace_test 6.$T.22 $T {8200 8201 8202 8239} +- do_isspace_test 6.$T.23 $T {8287 12288} ++ do_isspace_test 6.$T.18 $T {32 160 5760} ++ do_isspace_test 6.$T.19 $T {8192 8193 8194 8195} ++ do_isspace_test 6.$T.20 $T {8196 8197 8198 8199} ++ do_isspace_test 6.$T.21 $T {8200 8201 8202 8239} ++ do_isspace_test 6.$T.22 $T {8287 12288} + } + + #------------------------------------------------------------------------- |