aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqlite34
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2007-02-12 20:47:47 +0800
committermnag <mnag@FreeBSD.org>2007-02-12 20:47:47 +0800
commit5a76c65d947fb14fca6d939ee0f12c6d1b18a338 (patch)
tree753e0aa8b7e8eae356ffaca06e2795d3746da5b8 /databases/sqlite34
parent7f905cb47242f959c2eb8c3b2daadcdc4df4df7d (diff)
downloadfreebsd-ports-gnome-5a76c65d947fb14fca6d939ee0f12c6d1b18a338.tar.gz
freebsd-ports-gnome-5a76c65d947fb14fca6d939ee0f12c6d1b18a338.tar.zst
freebsd-ports-gnome-5a76c65d947fb14fca6d939ee0f12c6d1b18a338.zip
- Update to 3.3.12 [1]
- Fix FTS1 build [2] Notified by: Max Khitrov <mkhitrov___umd.edu> [1], Jeroen Ruigrok/asmodai <asmodai___in-nomine.org> [2]
Diffstat (limited to 'databases/sqlite34')
-rw-r--r--databases/sqlite34/Makefile2
-rw-r--r--databases/sqlite34/distinfo6
-rw-r--r--databases/sqlite34/files/fts1_patch-Makefile.in31
-rw-r--r--databases/sqlite34/files/patch-Makefile.in14
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1_porter.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c14
-rw-r--r--databases/sqlite34/pkg-plist1
8 files changed, 85 insertions, 11 deletions
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
index 1766270cee70..d645f4c38d01 100644
--- a/databases/sqlite34/Makefile
+++ b/databases/sqlite34/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= sqlite
-PORTVERSION= 3.3.8
+PORTVERSION= 3.3.12
CATEGORIES= databases
MASTER_SITES= http://www.sqlite.org/
diff --git a/databases/sqlite34/distinfo b/databases/sqlite34/distinfo
index 9591fefcb909..e5bf1ed35ea3 100644
--- a/databases/sqlite34/distinfo
+++ b/databases/sqlite34/distinfo
@@ -1,3 +1,3 @@
-MD5 (sqlite-3.3.8.tar.gz) = 2b2b0f967b6c5df1a5d495067c092d11
-SHA256 (sqlite-3.3.8.tar.gz) = 25ad20114cbf9821249b9e383f2af5ca447ea5382149519c0a84bf9fb37f0f0a
-SIZE (sqlite-3.3.8.tar.gz) = 1921871
+MD5 (sqlite-3.3.12.tar.gz) = ae251cc7a4b54b80941d400ed5af01b7
+SHA256 (sqlite-3.3.12.tar.gz) = e005781cb0356f65200c05979c04fea533b9a7d873e0060672a4d384468b7186
+SIZE (sqlite-3.3.12.tar.gz) = 2021696
diff --git a/databases/sqlite34/files/fts1_patch-Makefile.in b/databases/sqlite34/files/fts1_patch-Makefile.in
new file mode 100644
index 000000000000..0ee9a993a0ac
--- /dev/null
+++ b/databases/sqlite34/files/fts1_patch-Makefile.in
@@ -0,0 +1,31 @@
+--- Makefile.in.orig Sun Dec 3 16:16:05 2006
++++ Makefile.in Sun Dec 3 16:15:40 2006
+@@ -130,7 +130,8 @@
+ select.lo table.lo tokenize.lo trigger.lo update.lo \
+ util.lo vacuum.lo \
+ vdbe.lo vdbeapi.lo vdbeaux.lo vdbefifo.lo vdbemem.lo \
+- where.lo utf.lo legacy.lo vtab.lo
++ where.lo utf.lo legacy.lo vtab.lo \
++ fts1.lo fts1_hash.lo fts1_porter.lo fts1_tokenizer1.lo
+
+ # All of the source code files.
+ #
+@@ -464,6 +465,18 @@
+
+ where.lo: $(TOP)/src/where.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/where.c
++
++fts1.lo: $(TOP)/ext/fts1/fts1.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1.c
++
++fts1_hash.lo: $(TOP)/ext/fts1/fts1_hash.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_hash.c
++
++fts1_porter.lo: $(TOP)/ext/fts1/fts1_porter.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_porter.c
++
++fts1_tokenizer1.lo: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR)
++ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_tokenizer1.c
+
+ tclsqlite-shell.lo: $(TOP)/src/tclsqlite.c $(HDR)
+ $(LTCOMPILE) -DTCLSH=1 -o $@ -c $(TOP)/src/tclsqlite.c
diff --git a/databases/sqlite34/files/patch-Makefile.in b/databases/sqlite34/files/patch-Makefile.in
index b66fd8181372..1b7d46e8a134 100644
--- a/databases/sqlite34/files/patch-Makefile.in
+++ b/databases/sqlite34/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Fri Mar 11 14:50:32 2005
-+++ Makefile.in Sat Mar 19 16:06:28 2005
-@@ -212,7 +212,7 @@
+--- Makefile.in.orig Mon Jan 8 11:39:27 2007
++++ Makefile.in Mon Feb 12 10:18:02 2007
+@@ -260,7 +260,7 @@
# This is the default Makefile target. The objects listed here
# are what get build when you type just "make" with no arguments.
#
@@ -9,14 +9,14 @@
Makefile: $(TOP)/Makefile.in
./config.status
-@@ -611,8 +611,8 @@
- $(LTINSTALL) sqlite3 $(DESTDIR)$(exec_prefix)/bin
+@@ -666,8 +666,8 @@
$(INSTALL) -d $(DESTDIR)$(prefix)/include
$(INSTALL) -m 0644 sqlite3.h $(DESTDIR)$(prefix)/include
+ $(INSTALL) -m 0644 $(TOP)/src/sqlite3ext.h $(DESTDIR)$(prefix)/include
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig;
- $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(libdir)/pkgconfig;
-+ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
-+ $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
++ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
++ $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
tcl_install: libtclsqlite3.la
tclsh $(TOP)/tclinstaller.tcl $(VERSION)
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1.c b/databases/sqlite34/files/patch-ext__fts1__fts1.c
new file mode 100644
index 000000000000..8357e5832668
--- /dev/null
+++ b/databases/sqlite34/files/patch-ext__fts1__fts1.c
@@ -0,0 +1,14 @@
+--- ext/fts1/fts1.c.orig Sun Oct 8 06:16:32 2006
++++ ext/fts1/fts1.c Sun Dec 3 14:44:46 2006
+@@ -19,11 +19,7 @@
+ #endif
+
+ #include <assert.h>
+-#if !defined(__APPLE__)
+-#include <malloc.h>
+-#else
+ #include <stdlib.h>
+-#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c b/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c
new file mode 100644
index 000000000000..6185bf94dcd5
--- /dev/null
+++ b/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c
@@ -0,0 +1,14 @@
+--- ext/fts1/fts1_porter.c.orig Sun Oct 1 13:01:13 2006
++++ ext/fts1/fts1_porter.c Sun Dec 3 14:45:17 2006
+@@ -26,11 +26,7 @@
+
+
+ #include <assert.h>
+-#if !defined(__APPLE__)
+-#include <malloc.h>
+-#else
+ #include <stdlib.h>
+-#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c b/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c
new file mode 100644
index 000000000000..438019e54f9d
--- /dev/null
+++ b/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c
@@ -0,0 +1,14 @@
+--- ext/fts1/fts1_tokenizer1.c.orig Sat Sep 30 08:57:33 2006
++++ ext/fts1/fts1_tokenizer1.c Sun Dec 3 14:45:56 2006
+@@ -18,11 +18,7 @@
+
+
+ #include <assert.h>
+-#if !defined(__APPLE__)
+-#include <malloc.h>
+-#else
+ #include <stdlib.h>
+-#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/databases/sqlite34/pkg-plist b/databases/sqlite34/pkg-plist
index 54f6affb0162..a5a53a4db283 100644
--- a/databases/sqlite34/pkg-plist
+++ b/databases/sqlite34/pkg-plist
@@ -1,6 +1,7 @@
bin/sqlite3
%%WITH_TCLWRAPPER%%bin/tclsqlite3
include/sqlite3.h
+include/sqlite3ext.h
lib/libsqlite3.a
lib/libsqlite3.la
lib/libsqlite3.so