ports/99008: [PATCH] databases/sqlite: Make thread safe support default

Alexander Botero-Lowry alex at foxybanana.com
Fri Jun 16 05:50:15 UTC 2006

>Number:         99008
>Category:       ports
>Synopsis:       [PATCH] databases/sqlite: Make thread safe support default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 16 05:50:11 GMT 2006
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.1-STABLE i386
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May  6 22:21:39 PDT
- Make thread safe support default

My reason for doing this is that, as far as I know there are no significant
performance or stability concerns with regards to this switch, and it is
required by some ports. audio/xmms2 for example requires that sqlite3 be
compiled with thread safety or it can lead to media library corruption. 
Development versions (not in ports, but will hopefully be in ports in the
future) of audio/mt-daapd also require that sqlite3 be compiled thread safe.

Generated with FreeBSD Port Tools 0.63

--- sqlite-3.3.6.patch begins here ---
Index: Makefile
RCS file: /home/ncvs/ports/databases/sqlite3/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	11 Jun 2006 21:43:25 -0000	1.19
+++ Makefile	16 Jun 2006 05:40:53 -0000
@@ -27,7 +27,7 @@
 EXAMPLESDIR=	${PREFIX}/share/examples/sqlite3
 OPTIONS=	TCLWRAPPER	"TCL wrapper for SQLITE"		off \
-		THREADS		"Enable threads support"		off \
+		THREADS		"Enable threads support"		on \
 		DEBUG		"Enable debugging & verbose explain"	off \
 		DOCS		"Building docs (depends on TCL)"	on
@@ -48,7 +48,7 @@
-.if defined(WITH_THREADS)
+.if !defined(WITHOUT_THREADS)
 CONFIGURE_ARGS+=	--enable-threadsafe
--- sqlite-3.3.6.patch ends here ---


More information about the freebsd-ports-bugs mailing list