enable load-extension for ports starting to require it
tested by bernd@ in a bulk build, thanks!
This commit is contained in:
parent
5a764bcd76
commit
be59bde7ab
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.45 2009/04/22 21:23:43 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.46 2009/05/12 23:20:52 simon Exp $
|
||||
|
||||
COMMENT-main= embedded SQL implementation
|
||||
COMMENT-tcl= TCL bindings for Sqlite3
|
||||
COMMENT-lemon= LEMON LALR(1) parser generator
|
||||
V= 3.6.13
|
||||
DISTNAME= sqlite-${V}
|
||||
PKGNAME-main= sqlite3-${V}
|
||||
PKGNAME-main= sqlite3-${V}p0
|
||||
PKGNAME-tcl= sqlite3-tcl-${V}
|
||||
PKGNAME-lemon= lemon-${V}
|
||||
CATEGORIES= databases
|
||||
@ -30,7 +30,8 @@ USE_LIBTOOL= Yes
|
||||
CFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--enable-threads-override-locks
|
||||
--enable-threads-override-locks \
|
||||
--enable-load-extension
|
||||
|
||||
PSEUDO_FLAVORS= no_tcl
|
||||
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-src_os_unix_c,v 1.9 2009/04/22 21:23:43 martynas Exp $
|
||||
--- src/os_unix.c.orig Thu Apr 9 21:41:18 2009
|
||||
+++ src/os_unix.c Thu Apr 16 23:11:23 2009
|
||||
$OpenBSD: patch-src_os_unix_c,v 1.10 2009/05/12 23:20:52 simon Exp $
|
||||
--- src/os_unix.c.orig Thu Apr 9 20:41:18 2009
|
||||
+++ src/os_unix.c Thu Apr 23 17:50:03 2009
|
||||
@@ -111,6 +111,14 @@
|
||||
# define _LARGEFILE_SOURCE 1
|
||||
#endif
|
||||
@ -107,6 +107,15 @@ $OpenBSD: patch-src_os_unix_c,v 1.9 2009/04/22 21:23:43 martynas Exp $
|
||||
static int transferOwnership(unixFile *pFile){
|
||||
int rc;
|
||||
pthread_t hSelf;
|
||||
@@ -3936,7 +3947,7 @@ static void *unixDlOpen(sqlite3_vfs *NotUsed, const ch
|
||||
** error message.
|
||||
*/
|
||||
static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut){
|
||||
- char *zErr;
|
||||
+ const char *zErr;
|
||||
UNUSED_PARAMETER(NotUsed);
|
||||
unixEnterMutex();
|
||||
zErr = dlerror();
|
||||
@@ -4002,7 +4013,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
|
||||
#if !defined(SQLITE_TEST)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user