tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

databases/sqlite3 is built with partial API



                Hi pkgsrc developers,

much like when I reported lib/46322, I realized that SQLite 3 from pkgsrc 
is built without support for a few useful functions among its C API. I 
would therefore like to apply the following patch:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/sqlite3/Makefile,v
retrieving revision 1.56
diff -p -u -r1.56 Makefile
--- Makefile    6 Oct 2012 17:59:07 -0000       1.56
+++ Makefile    7 Dec 2012 01:56:00 -0000
@@ -2,6 +2,7 @@
 
 DISTNAME=      sqlite-autoconf-3071401
 PKGNAME=       sqlite3-3.7.14.1
+PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  http://www.hwaci.com/sw/sqlite/ \
                http://www.sqlite.org/
@@ -23,6 +24,8 @@ INSTALLATION_DIRS+=   ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.prefs.mk"
 
+CFLAGS+=               -DSQLITE_ENABLE_COLUMN_METADATA
+
 # In the past, Linux had database corruption issues with pread, so
 # only enable it on safe platforms.
 CFLAGS.NetBSD+=                -DUSE_PREAD

Any objection?

Cheers,
-- 
khorben



Home | Main Index | Thread Index | Old Index