Date: Thu, 20 Sep 2018 13:42:10 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480170 - head/databases/sqlite3/files Message-ID: <201809201342.w8KDgAfw018910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Sep 20 13:42:10 2018 New Revision: 480170 URL: https://svnweb.freebsd.org/changeset/ports/480170 Log: Fix configure error when SESSION is enabled In file included from <built-in>:318: <command line>:39:28: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define SQLITE_ENABLE_RTREE-DSQLITE_ENABLE_SESSION 1 ^ sqlite3.c:308:5: error: token is not a valid binary operator in a preprocessor subexpression #if SQLITE_ENABLE_RTREE ^~~~~~~~~~~~~~~~~~~ <command line>:39:52: note: expanded from here #define SQLITE_ENABLE_RTREE-DSQLITE_ENABLE_SESSION 1 ~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning and 1 error generated. *** Error code 1 Approved by: portmgr (blanket) Added: head/databases/sqlite3/files/ head/databases/sqlite3/files/patch-configure (contents, props changed) Added: head/databases/sqlite3/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/sqlite3/files/patch-configure Thu Sep 20 13:42:10 2018 (r480170) @@ -0,0 +1,11 @@ +--- configure.orig 2018-09-18 20:36:42 UTC ++++ configure +@@ -13638,7 +13638,7 @@ if test "${enable_session+set}" = set; t + fi + + if test x"$enable_session" = "xyes"; then +- BUILD_CFLAGS="$BUILD_CFLAGS-DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK" ++ BUILD_CFLAGS="$BUILD_CFLAGS -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK" + fi + #----------------------------------------------------------------------- +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809201342.w8KDgAfw018910>