dev-libs/nspr: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 4 Sep 2016 11:50:49 +0000 (13:50 +0200)
committerJory A. Pratt <anarchy@gentoo.org>
Sun, 4 Sep 2016 22:58:45 +0000 (17:58 -0500)
Closes: https://github.com/gentoo/gentoo/pull/2230

Signed-off-by: Jory A. Pratt <anarchy@gentoo.org>
dev-libs/nspr/files/nspr-4.6.1-lang.patch [deleted file]
dev-libs/nspr/files/nspr-4.7.4-solaris.patch [deleted file]

diff --git a/dev-libs/nspr/files/nspr-4.6.1-lang.patch b/dev-libs/nspr/files/nspr-4.6.1-lang.patch
deleted file mode 100644 (file)
index 46fe15b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in 
-option parsing, it may break.
-
-http://bugs.gentoo.org/103483
-
---- mozilla/nsprpub/configure
-+++ mozilla/nsprpub/configure
-@@ -54,6 +54,16 @@
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-+# NLS nuisances.
-+# Only set these to C if already set.  These must not be set unconditionally
-+# because not all systems understand e.g. LANG=C (notably SCO).
-+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-+# Non-C LC_CTYPE values break the ctype check.
-+if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
-+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-+if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
-+
- # Initialize some other variables.
- subdirs=
- MFLAGS= MAKEFLAGS=
-@@ -452,16 +463,6 @@
-   esac
- done
--# NLS nuisances.
--# Only set these to C if already set.  These must not be set unconditionally
--# because not all systems understand e.g. LANG=C (notably SCO).
--# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
--# Non-C LC_CTYPE values break the ctype check.
--if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
--if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
diff --git a/dev-libs/nspr/files/nspr-4.7.4-solaris.patch b/dev-libs/nspr/files/nspr-4.7.4-solaris.patch
deleted file mode 100644 (file)
index a0f14d5..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-* drop Solaris linker stuff
-
---- nspr-4.7.4/mozilla/nsprpub/configure.in
-+++ nspr-4.7.4/mozilla/nsprpub/configure.in
-@@ -1988,26 +1988,14 @@
-     CPU_ARCH=`uname -p`
-     MDCPUCFG_H=_solaris.cfg
-     PR_MD_CSRCS=solaris.c
--    LD=/usr/ccs/bin/ld
-     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
-     RESOLVE_LINK_SYMBOLS=1
--    case "${OS_RELEASE}" in
--    5.8|5.9)
--        ;;
--    *)
--        # It is safe to use the -Bdirect linker flag on Solaris 10 or later.
--        USE_B_DIRECT=1
--        ;;
--    esac
-     if test -n "$GNU_CC"; then
-         DSO_CFLAGS=-fPIC
-         if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
-             GCC_USE_GNU_LD=1
-         fi
--        DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' 
--        if test -n "$USE_B_DIRECT"; then
--            DSO_LDOPTS="$DSO_LDOPTS,-Bdirect"
--        fi
-+              DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
-     else
-         DSO_CFLAGS=-KPIC
-         DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
---- nspr-4.7.4/mozilla/nsprpub/configure
-+++ nspr-4.7.4/mozilla/nsprpub/configure
-@@ -4765,26 +4765,14 @@
-     CPU_ARCH=`uname -p`
-     MDCPUCFG_H=_solaris.cfg
-     PR_MD_CSRCS=solaris.c
--    LD=/usr/ccs/bin/ld
-     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
-     RESOLVE_LINK_SYMBOLS=1
--    case "${OS_RELEASE}" in
--    5.8|5.9)
--        ;;
--    *)
--        # It is safe to use the -Bdirect linker flag on Solaris 10 or later.
--        USE_B_DIRECT=1
--        ;;
--    esac
-     if test -n "$GNU_CC"; then
-         DSO_CFLAGS=-fPIC
-         if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
-             GCC_USE_GNU_LD=1
-         fi
--        DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' 
--        if test -n "$USE_B_DIRECT"; then
--            DSO_LDOPTS="$DSO_LDOPTS,-Bdirect"
--        fi
-+              DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
-     else
-         DSO_CFLAGS=-KPIC
-         DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'