[Libreoffice-commits] .: nss/makefile.mk nss/nss-linux3.patch nss/nss.patch

Michael Stahl mst at kemper.freedesktop.org
Tue Oct 11 09:12:47 PDT 2011


 nss/makefile.mk      |    2 +-
 nss/nss-linux3.patch |   13 +++++++++++++
 nss/nss.patch        |   14 --------------
 3 files changed, 14 insertions(+), 15 deletions(-)

New commits:
commit ab3895465a6cf0a8a41c7432ad9a8f77df7ae572
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Oct 11 18:06:22 2011 +0200

    nss: replace Linux 3.0 workaround with one for 3.x

diff --git a/nss/makefile.mk b/nss/makefile.mk
index 75ebb21..9fdc9e6 100644
--- a/nss/makefile.mk
+++ b/nss/makefile.mk
@@ -48,7 +48,7 @@ VER_PATCH=8
 TARFILE_NAME=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)-with-nspr-4.8.6
 TARFILE_MD5=71474203939fafbe271e1263e61d083e
 TARFILE_ROOTDIR=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
-PATCH_FILES=nss.patch nss.aix.patch nss-config.patch
+PATCH_FILES=nss.patch nss.aix.patch nss-config.patch nss-linux3.patch
 
 .IF "$(OS)"=="MACOSX"
 PATCH_FILES+=nss_macosx.patch
diff --git a/nss/nss-linux3.patch b/nss/nss-linux3.patch
new file mode 100644
index 0000000..62c667f
--- /dev/null
+++ b/nss/nss-linux3.patch
@@ -0,0 +1,13 @@
+--- misc/nss-3.12.8/mozilla/security/coreconf/arch.mk	2011-10-06 19:58:31.808695724 +0200
++++ misc/build/nss-3.12.8/mozilla/security/coreconf/arch.mk	2011-10-06 19:58:00.074648943 +0200
+@@ -152,6 +152,10 @@
+ 
+ ifeq ($(OS_ARCH),Linux)
+     OS_RELEASE := $(subst ., ,$(OS_RELEASE))
++    # force Linux 3.x to 2.6
++    ifeq ($(word 1,$(OS_RELEASE)),3)
++	OS_RELEASE := 2 6
++    endif
+     ifneq ($(words $(OS_RELEASE)),1)
+ 	OS_RELEASE := $(word 1,$(OS_RELEASE)).$(word 2,$(OS_RELEASE))
+     endif
diff --git a/nss/nss.patch b/nss/nss.patch
index ac24855..6930e67 100644
--- a/nss/nss.patch
+++ b/nss/nss.patch
@@ -189,17 +189,3 @@
  endif
  CHECKLOC = $(CHECKLIBS:.$(DLL_SUFFIX)=.chk)
  
---- /dev/null	2011-07-24 19:07:44.290563140 +0200
-+++ misc/build/nss-3.12.8/mozilla/security/coreconf/Linux3.0.mk	2011-07-24 22:21:02.710513995 +0200
-@@ -0,0 +1,11 @@
-+include $(CORE_DEPTH)/coreconf/Linux.mk
-+
-+OS_REL_CFLAGS   += -DLINUX2_1
-+MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
-+
-+ifdef MAPFILE
-+	MKSHLIB += -Wl,--version-script,$(MAPFILE)
-+endif
-+PROCESS_MAP_FILE = grep -v ';-' $< | \
-+        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
-+


More information about the Libreoffice-commits mailing list