diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-11-05 11:03:47 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-11-05 11:03:47 +0000 |
commit | 6c5acf1a90279b3a5e2f3abdb3884866601d1814 (patch) | |
tree | 4f6a414f1af8f133a7baf56139d76ccfa86fd910 /dev-libs/nss/files | |
parent | Disable werror. (diff) | |
download | historical-6c5acf1a90279b3a5e2f3abdb3884866601d1814.tar.gz historical-6c5acf1a90279b3a5e2f3abdb3884866601d1814.tar.bz2 historical-6c5acf1a90279b3a5e2f3abdb3884866601d1814.zip |
Version bump. Removed old
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r-- | dev-libs/nss/files/nss-3.13.1-solaris-gcc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.13.1-solaris-gcc.patch b/dev-libs/nss/files/nss-3.13.1-solaris-gcc.patch new file mode 100644 index 000000000000..b775bac257f5 --- /dev/null +++ b/dev-libs/nss/files/nss-3.13.1-solaris-gcc.patch @@ -0,0 +1,33 @@ +--- nss-3.13.1/mozilla/security/coreconf/SunOS5.mk ++++ nss-3.13.1/mozilla/security/coreconf/SunOS5.mk +@@ -37,6 +37,9 @@ + + include $(CORE_DEPTH)/coreconf/UNIX.mk + ++NS_USE_GCC = 1 ++GCC_USE_GNU_LD = 1 ++ + # Sun's WorkShop defines v8, v8plus and v9 architectures. + # gcc on Solaris defines v8 and v9 "cpus". + # gcc's v9 is equivalent to Workshop's v8plus. +@@ -95,7 +98,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 +@@ -105,11 +108,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 |