summaryrefslogtreecommitdiff
path: root/package/nss/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
commitb5b277f51439e52bec1ecdb1f6f1d19a3aed448a (patch)
tree124fcb970c087a739eeb10385fb97fc8287cee9d /package/nss/patches
parent975f9ccb8c9a3896941e02c2bca538853adf60df (diff)
add some packages
- add make/patch/rpm and dependencies - update ar7 port a little bit
Diffstat (limited to 'package/nss/patches')
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_Linux_mk15
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_arch_mk11
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_arch_mk.orig11
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_nsinstall_Makefile13
-rw-r--r--package/nss/patches/patch-mozilla_security_nss_cmd_shlibsign_sign_sh11
5 files changed, 61 insertions, 0 deletions
diff --git a/package/nss/patches/patch-mozilla_security_coreconf_Linux_mk b/package/nss/patches/patch-mozilla_security_coreconf_Linux_mk
new file mode 100644
index 000000000..cce23e2ee
--- /dev/null
+++ b/package/nss/patches/patch-mozilla_security_coreconf_Linux_mk
@@ -0,0 +1,15 @@
+--- nss-3.12.3.orig/mozilla/security/coreconf/Linux.mk 2008-09-06 01:17:23.000000000 +0200
++++ nss-3.12.3/mozilla/security/coreconf/Linux.mk 2009-06-24 19:11:27.470840369 +0200
+@@ -46,9 +46,9 @@ ifeq ($(USE_PTHREADS),1)
+ IMPL_STRATEGY = _PTH
+ endif
+
+-CC = gcc
+-CCC = g++
+-RANLIB = ranlib
++CC ?= gcc
++CCC ?= g++
++RANLIB ?= ranlib
+
+ DEFAULT_COMPILER = gcc
+
diff --git a/package/nss/patches/patch-mozilla_security_coreconf_arch_mk b/package/nss/patches/patch-mozilla_security_coreconf_arch_mk
new file mode 100644
index 000000000..1ebf69cc9
--- /dev/null
+++ b/package/nss/patches/patch-mozilla_security_coreconf_arch_mk
@@ -0,0 +1,11 @@
+--- nss-3.12.3.orig/mozilla/security/coreconf/arch.mk 2009-03-11 19:54:24.000000000 +0100
++++ nss-3.12.3/mozilla/security/coreconf/arch.mk 2009-06-24 21:46:32.910214640 +0200
+@@ -329,7 +329,7 @@ endif
+ # IMPL_STRATEGY may be defined too.
+ #
+
+-OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
++OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(LIBC_TAG).OBJ
+
+ ifeq (,$(filter-out WIN%,$(OS_TARGET)))
+ ifndef BUILD_OPT
diff --git a/package/nss/patches/patch-mozilla_security_coreconf_arch_mk.orig b/package/nss/patches/patch-mozilla_security_coreconf_arch_mk.orig
new file mode 100644
index 000000000..20af1c767
--- /dev/null
+++ b/package/nss/patches/patch-mozilla_security_coreconf_arch_mk.orig
@@ -0,0 +1,11 @@
+--- nss-3.12.3.orig/mozilla/security/coreconf/arch.mk 2009-03-11 19:54:24.000000000 +0100
++++ nss-3.12.3/mozilla/security/coreconf/arch.mk 2009-06-24 21:38:51.010734431 +0200
+@@ -329,7 +329,7 @@ endif
+ # IMPL_STRATEGY may be defined too.
+ #
+
+-OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
++OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(LIBC_TAG)$(OBJDIR_TAG).OBJ
+
+ ifeq (,$(filter-out WIN%,$(OS_TARGET)))
+ ifndef BUILD_OPT
diff --git a/package/nss/patches/patch-mozilla_security_coreconf_nsinstall_Makefile b/package/nss/patches/patch-mozilla_security_coreconf_nsinstall_Makefile
new file mode 100644
index 000000000..db87f018b
--- /dev/null
+++ b/package/nss/patches/patch-mozilla_security_coreconf_nsinstall_Makefile
@@ -0,0 +1,13 @@
+--- nss-3.12.3.orig/mozilla/security/coreconf/nsinstall/Makefile 2005-10-06 00:25:37.000000000 +0200
++++ nss-3.12.3/mozilla/security/coreconf/nsinstall/Makefile 2009-06-24 19:48:52.858310011 +0200
+@@ -65,6 +65,10 @@ ifdef NATIVE_FLAGS
+ OS_CFLAGS=$(NATIVE_FLAGS)
+ endif
+
++ifdef NATIVE_LDFLAGS
++LDFLAGS=$(NATIVE_LDFLAGS)
++endif
++
+ include $(DEPTH)/coreconf/rules.mk
+
+ # Redefine MAKE_OBJDIR for just this directory
diff --git a/package/nss/patches/patch-mozilla_security_nss_cmd_shlibsign_sign_sh b/package/nss/patches/patch-mozilla_security_nss_cmd_shlibsign_sign_sh
new file mode 100644
index 000000000..9c643dacf
--- /dev/null
+++ b/package/nss/patches/patch-mozilla_security_nss_cmd_shlibsign_sign_sh
@@ -0,0 +1,11 @@
+--- nss-3.12.3.orig/mozilla/security/nss/cmd/shlibsign/sign.sh 2006-01-18 21:56:28.000000000 +0100
++++ nss-3.12.3/mozilla/security/nss/cmd/shlibsign/sign.sh 2009-06-24 21:27:49.462838938 +0200
+@@ -53,6 +53,7 @@ OpenVMS)
+ ADDON_PATH=${1}/lib:${4}:$ADDON_PATH
+ export ADDON_PATH
+ echo ${2}/shlibsign -v -i ${5}
+- ${2}/shlibsign -v -i ${5}
++ #disable for cross-compile
++ #${2}/shlibsign -v -i ${5}
+ ;;
+ esac