components/sqlite-3/patches/sqlite3-02-zrecord.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 03 May 2016 17:42:42 -0700
changeset 5915 9a9d3be0766e
parent 5421 7c37e32758f1
child 6349 00824654920d
permissions -rw-r--r--
23210440 w3m fails to build on userland nightly (99)

# This fix is needed for sqlite3 to run on Solaris.  See Bug 15566164 and
# Bug 15705787 for details.
# Need to determine if these changes are still applicable to the latest version,
# and if so, then submit them upstream. 
--- sqlite-autoconf-3090200/Makefile.am.orig	2015-12-21 15:35:19.261166407 +0530
+++ sqlite-autoconf-3090200/Makefile.am	2015-12-21 15:36:15.587286651 +0530
@@ -8,6 +8,7 @@ libsqlite3_la_LDFLAGS = -no-undefined -v
 bin_PROGRAMS = sqlite3
 sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h
 sqlite3_LDADD = @READLINE_LIBS@
+sqlite3_LDFLAGS = -Wl,-zrecord
 sqlite3_CFLAGS = $(AM_CFLAGS)
 
 include_HEADERS = sqlite3.h sqlite3ext.h