summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2006-02-09 21:42:01 +0000
committerJory Pratt <anarchy@gentoo.org>2006-02-09 21:42:01 +0000
commitfdf0756fb3e4a916db1981075e3facf9adf5b6a2 (patch)
tree126aa5f3ec17a1be940b7e9d2c85bb94bde27c7b /dev-libs/nss
parentfixed broken encoding in ChangeLog (diff)
downloadgentoo-2-fdf0756fb3e4a916db1981075e3facf9adf5b6a2.tar.gz
gentoo-2-fdf0756fb3e4a916db1981075e3facf9adf5b6a2.tar.bz2
gentoo-2-fdf0756fb3e4a916db1981075e3facf9adf5b6a2.zip
oops missing config-1 patch
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-libs/nss')
-rw-r--r--dev-libs/nss/files/nss-3.11-config-1.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.11-config-1.patch b/dev-libs/nss/files/nss-3.11-config-1.patch
new file mode 100644
index 000000000000..3b2cd8a6ba93
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.11-config-1.patch
@@ -0,0 +1,36 @@
+--- mozilla/security/coreconf/Linux.mk.orig 2005-09-16 17:09:23.000000000 +0000
++++ mozilla/security/coreconf/Linux.mk 2006-02-09 05:27:36.000000000 +0000
+@@ -37,6 +37,8 @@
+
+ include $(CORE_DEPTH)/coreconf/UNIX.mk
+
++NSS_VERSION_MINOR=11
++
+ #
+ # The default implementation strategy for Linux is now pthreads
+ #
+--- mozilla/security/coreconf/Linux2.6.mk.orig 2005-09-16 17:09:23.000000000 +0000
++++ mozilla/security/coreconf/Linux2.6.mk 2006-02-09 05:38:16.000000000 +0000
+@@ -38,8 +38,7 @@
+ include $(CORE_DEPTH)/coreconf/Linux.mk
+
+ OS_REL_CFLAGS += -DLINUX2_1
+-MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
+-
++MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so).$(NSS_VERSION_MINOR)
+ ifdef MAPFILE
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
+ endif
+--- mozilla/security/coreconf/rules.mk.orig 2005-10-10 23:46:12.000000000 +0000
++++ mozilla/security/coreconf/rules.mk 2006-02-09 06:27:46.000000000 +0000
+@@ -113,7 +113,10 @@
+ $(INSTALL) -m 664 $(LIBRARY) $(SOURCE_LIB_DIR)
+ endif
+ ifdef SHARED_LIBRARY
++ mv $(SHARED_LIBRARY) $(SHARED_LIBRARY).$(NSS_VERSION_MINOR)
++ ln -s $(shell pwd)/$(SHARED_LIBRARY).$(NSS_VERSION_MINOR) $(shell pwd)/$(SHARED_LIBRARY)
+ $(INSTALL) -m 775 $(SHARED_LIBRARY) $(SOURCE_LIB_DIR)
++ $(INSTALL) -m 775 $(SHARED_LIBRARY).$(NSS_VERSION_MINOR) $(SOURCE_LIB_DIR)
+ endif
+ ifdef IMPORT_LIBRARY
+ $(INSTALL) -m 775 $(IMPORT_LIBRARY) $(SOURCE_LIB_DIR)