From owner-svn-ports-all@freebsd.org Thu Sep 20 13:42:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C3A5109D27B; Thu, 20 Sep 2018 13:42:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E54F78D954; Thu, 20 Sep 2018 13:42:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E04831EAC5; Thu, 20 Sep 2018 13:42:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8KDgARf018911; Thu, 20 Sep 2018 13:42:10 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8KDgAfw018910; Thu, 20 Sep 2018 13:42:10 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201809201342.w8KDgAfw018910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 20 Sep 2018 13:42:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480170 - head/databases/sqlite3/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/databases/sqlite3/files X-SVN-Commit-Revision: 480170 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 13:42:11 -0000 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 :318: :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 ^~~~~~~~~~~~~~~~~~~ :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 + #----------------------------------------------------------------------- +