A new user interface for you! Read more...

File nss-sqlitename.patch of Package mozilla-nss

Index: security/nss/lib/sqlite/manifest.mn
===================================================================
RCS file: /cvsroot/mozilla/security/nss/lib/sqlite/manifest.mn,v
retrieving revision 1.3
diff -u -p -6 -r1.3 manifest.mn
--- security/nss/lib/sqlite/manifest.mn	15 Aug 2007 15:30:05 -0000	1.3
+++ security/nss/lib/sqlite/manifest.mn	23 Jan 2008 08:39:29 -0000
@@ -35,15 +35,16 @@
 #
 # ***** END LICENSE BLOCK *****
 CORE_DEPTH = ../../..
 
 MODULE = nss
 
-LIBRARY_NAME = sqlite
+LIBRARY_NAME = nsssqlite
 LIBRARY_VERSION = 3
 MAPFILE = $(OBJDIR)/sqlite.def
+MAPFILE_SOURCE = sqlite.def
 DEFINES += -DTHREADSAFE=1
 
 EXPORTS = \
 	$(NULL)
 
 PRIVATE_EXPORTS = \
Index: security/nss/lib/softoken/config.mk
===================================================================
RCS file: /cvsroot/mozilla/security/nss/lib/softoken/config.mk,v
retrieving revision 1.23
diff -u -p -r1.23 config.mk
--- security/nss/lib/softoken/config.mk	5 Feb 2008 05:33:37 -0000	1.23
+++ security/nss/lib/softoken/config.mk	19 Feb 2008 11:50:02 -0000
@@ -86,12 +86,16 @@ else
 EXTRA_SHARED_LIBS += \
 	-L$(DIST)/lib \
 	-lnssutil3 \
-	-lsqlite3 \
 	-L$(NSPR_LIB_DIR) \
 	-lplc4 \
 	-lplds4 \
 	-lnspr4 \
 	$(NULL)
+ifdef NSS_USE_SYSTEM_SQLITE
+EXTRA_SHARED_LIBS += -lsqlite3
+else
+EXTRA_SHARED_LIBS += -lnsssqlite3
+endif
 endif
 
 ifeq ($(OS_TARGET),AIX)
Index: security/nss/cmd/platlibs.mk
===================================================================
RCS file: /cvsroot/mozilla/security/nss/cmd/platlibs.mk,v
retrieving revision 1.59
diff -u -p -6 -r1.59 platlibs.mk
--- security/nss/cmd/platlibs.mk	2 Dec 2008 23:24:46 -0000	1.59
+++ security/nss/cmd/platlibs.mk	14 Apr 2009 11:07:52 -0000
@@ -69,13 +69,17 @@ EXTRA_SHARED_LIBS += \
 else
 EXTRA_SHARED_LIBS += -Wl,+b,'$$ORIGIN/../lib'
 endif
 endif
 endif
 
+ifdef NSS_USE_SYSTEM_SQLITE
 SQLITE=-lsqlite3
+else
+SQLITE=-lnsssqlite3
+endif
 
 ifdef NSS_DISABLE_DBM
 DBMLIB = $(NULL)
 else
 DBMLIB = $(DIST)/lib/$(LIB_PREFIX)dbm.$(LIB_SUFFIX) 
 endif