Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2020 14:01:49 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557735 - head/databases/sqlite3/files
Message-ID:  <202012111401.0BBE1nnj090046@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Dec 11 14:01:48 2020
New Revision: 557735
URL: https://svnweb.freebsd.org/changeset/ports/557735

Log:
  databases/sqlite3: fix build w/o THREADS
  
  PR:		244459
  Reported by:	Brian Haug <haug.bsd6114@yahoo.com>

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	Fri Dec 11 14:01:48 2020	(r557735)
@@ -0,0 +1,13 @@
+--- configure.orig	2020-12-11 13:58:21 UTC
++++ configure
+@@ -13335,7 +13335,9 @@ else
+   enable_threadsafe=yes
+ fi
+ 
+-if test x"$enable_threadsafe" != "xno"; then
++if test x"$enable_threadsafe" == "xno"; then
++  BUILD_CFLAGS="$BUILD_CFLAGS -DSQLITE_THREADSAFE=0"
++else
+   BUILD_CFLAGS="$BUILD_CFLAGS -D_REENTRANT=1 -DSQLITE_THREADSAFE=1"
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
+ $as_echo_n "checking for library containing pthread_create... " >&6; }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012111401.0BBE1nnj090046>