diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-07-18 11:25:14 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-07-18 11:25:14 +0000 |
commit | 943bd6bf6fb255302e5f18fec5fceb44afbd7b4d (patch) | |
tree | d28a6c5b8b20e324cd3ed5d49777045463a50648 /databases/sqlite3 | |
parent | 59073e8bf5ec0900118fc26907180716ce52fc6e (diff) | |
download | pkgsrc-943bd6bf6fb255302e5f18fec5fceb44afbd7b4d.tar.gz |
Fix SCO OpenServer 5.0.7/3.2 build.
Diffstat (limited to 'databases/sqlite3')
-rw-r--r-- | databases/sqlite3/Makefile | 6 | ||||
-rw-r--r-- | databases/sqlite3/distinfo | 3 | ||||
-rw-r--r-- | databases/sqlite3/patches/patch-sqlite3.c | 16 |
3 files changed, 23 insertions, 2 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 55635f2d141..166ea76d770 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2014/06/05 15:10:20 adam Exp $ +# $NetBSD: Makefile,v 1.80 2014/07/18 11:25:14 ryoon Exp $ DISTNAME= sqlite-autoconf-3080500 PKGNAME= sqlite3-3.8.5 @@ -43,6 +43,10 @@ CFLAGS+= -DSQLITE_ENABLE_LOAD_EXTENSION # See http://www.sqlite.org/cvstrac/tktview?tn=3555 LIBS+= ${BUILDLINK_LDADD.dl} +.if ${OS_VARIANT} == "SCOOSR5" +LDFLAGS.SCO_SV+= -lpthread +.endif + .include "../../mk/readline.buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/sqlite3/distinfo b/databases/sqlite3/distinfo index 6899a917035..d48efc6ff9e 100644 --- a/databases/sqlite3/distinfo +++ b/databases/sqlite3/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.89 2014/06/05 15:10:20 adam Exp $ +$NetBSD: distinfo,v 1.90 2014/07/18 11:25:14 ryoon Exp $ SHA1 (sqlite-autoconf-3080500.tar.gz) = 7f667e10ccebc26ab2086b8a30cb0a600ca0acae RMD160 (sqlite-autoconf-3080500.tar.gz) = b8da5ec594ac808da85469349c7506bd343946bf Size (sqlite-autoconf-3080500.tar.gz) = 1957050 bytes +SHA1 (patch-sqlite3.c) = 00399cf79308a4f6395d90f263dd2da9ae7de81b diff --git a/databases/sqlite3/patches/patch-sqlite3.c b/databases/sqlite3/patches/patch-sqlite3.c new file mode 100644 index 00000000000..4c7d0eb1de4 --- /dev/null +++ b/databases/sqlite3/patches/patch-sqlite3.c @@ -0,0 +1,16 @@ +$NetBSD: patch-sqlite3.c,v 1.3 2014/07/18 11:25:14 ryoon Exp $ + +--- sqlite3.c.orig 2014-02-11 19:42:03.000000000 +0000 ++++ sqlite3.c +@@ -25,6 +25,11 @@ + #ifndef SQLITE_API + # define SQLITE_API + #endif ++/* GNU pth requires these headers in very early stage. */ ++#if defined(_SCO_DS) ++#include <sys/types.h> ++#include <sys/stat.h> ++#endif + /************** Begin file sqlite3.h *****************************************/ + /* + ** 2001 September 15 |