diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-07-21 14:21:02 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-07-21 14:21:02 +0000 |
commit | 716883484417063c2395a9df81ca59caf3bb87a9 (patch) | |
tree | c45229f6756633cfcda3a929b65e989d9bdee5b0 /dev-libs/nss/files | |
parent | x86 stable wrt bug #329265 (diff) | |
download | gentoo-2-716883484417063c2395a9df81ca59caf3bb87a9.tar.gz gentoo-2-716883484417063c2395a9df81ca59caf3bb87a9.tar.bz2 gentoo-2-716883484417063c2395a9df81ca59caf3bb87a9.zip |
Migrate changes from Gentoo Prefix overlay. Convert to EAPI3, add patch, etc. Approved by mozilla team in IRC, reference bug 328127
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r-- | dev-libs/nss/files/nss-3.12.4-solaris-gcc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.12.4-solaris-gcc.patch b/dev-libs/nss/files/nss-3.12.4-solaris-gcc.patch new file mode 100644 index 000000000000..f0a3310c3c81 --- /dev/null +++ b/dev-libs/nss/files/nss-3.12.4-solaris-gcc.patch @@ -0,0 +1,33 @@ +--- mozilla/security/coreconf/SunOS5.mk.orig 2009-10-02 10:51:26.617090950 +0200 ++++ mozilla/security/coreconf/SunOS5.mk 2009-10-02 10:53:39.756260510 +0200 +@@ -37,6 +37,9 @@ + + include $(CORE_DEPTH)/coreconf/UNIX.mk + ++NS_USE_GCC = 1 ++GCC_USE_GNU_LD = 1 ++ + # + # Temporary define for the Client; to be removed when binary release is used + # +@@ -104,7 +107,7 @@ + endif + endif + +-INCLUDES += -I/usr/dt/include -I/usr/openwin/include ++#INCLUDES += -I/usr/dt/include -I/usr/openwin/include + + RANLIB = echo + CPU_ARCH = sparc +@@ -114,11 +117,6 @@ + NOMD_OS_CFLAGS += $(DSO_CFLAGS) $(OS_DEFINES) $(SOL_CFLAGS) + + MKSHLIB = $(CC) $(DSO_LDOPTS) $(RPATH) +-ifdef NS_USE_GCC +-ifeq (GNU,$(findstring GNU,$(shell `$(CC) -print-prog-name=ld` -v 2>&1))) +- GCC_USE_GNU_LD = 1 +-endif +-endif + ifdef MAPFILE + ifdef NS_USE_GCC + ifdef GCC_USE_GNU_LD |