commit:     e02fcfeec55bd6cc106c5db852bafb4ab6a58539
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 11 19:14:20 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 19:14:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02fcfee

Revert "dev-lisp/sbcl: Removed outdated patches"

This reverts commit ff11c961891eb0a9d65414b7a72528958474015c.

reverted at username234's request

 ...7-gentoo-fix_nopie_for_hardened_toolchain.patch | 22 +++++++++++++++++++
 dev-lisp/sbcl/files/sbcl-1.2.11-solaris.patch      | 12 +++++++++++
 .../sbcl/files/sbcl-1.2.13-verbose-build.patch     | 25 ++++++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git 
a/dev-lisp/sbcl/files/sbcl-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch 
b/dev-lisp/sbcl/files/sbcl-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
new file mode 100644
index 00000000..bf03ada
--- /dev/null
+++ 
b/dev-lisp/sbcl/files/sbcl-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
@@ -0,0 +1,22 @@
+--- sbcl-1.1.17-orig/src/runtime/Config.x86-linux      2014-03-31 
03:14:22.000000000 +1100
++++ sbcl-1.1.17/src/runtime/Config.x86-linux   2014-04-28 15:34:59.822482441 
+1000
+@@ -27,7 +27,7 @@
+ # (You *are* encouraged to design and implement a coherent stable
+ # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
+ # working on one and it would be a nice thing to have.)
+-LINKFLAGS += -Wl,--export-dynamic -m32
++LINKFLAGS += -Wl,--export-dynamic -m32 -nopie
+ OS_LIBS = -ldl
+ 
+ ifdef LISP_FEATURE_LARGEFILE
+--- sbcl-1.1.17-orig/src/runtime/Config.x86-64-linux   2014-03-31 
03:14:22.000000000 +1100
++++ sbcl-1.1.17/src/runtime/Config.x86-64-linux        2014-04-28 
15:35:22.364623003 +1000
+@@ -27,7 +27,7 @@
+ # (You *are* encouraged to design and implement a coherent stable
+ # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
+ # working on one and it would be a nice thing to have.)
+-LINKFLAGS += -Wl,--export-dynamic
++LINKFLAGS += -Wl,--export-dynamic -nopie
+ OS_LIBS = -ldl
+ 
+ ifdef LISP_FEATURE_LARGEFILE

diff --git a/dev-lisp/sbcl/files/sbcl-1.2.11-solaris.patch 
b/dev-lisp/sbcl/files/sbcl-1.2.11-solaris.patch
new file mode 100644
index 00000000..850fd5d
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.2.11-solaris.patch
@@ -0,0 +1,12 @@
+diff -r -U2 sbcl-1.2.11.orig/src/runtime/Config.x86-sunos 
sbcl-1.2.11/src/runtime/Config.x86-sunos
+--- sbcl-1.2.11.orig/src/runtime/Config.x86-sunos      2015-04-27 
20:56:50.000000000 +0600
++++ sbcl-1.2.11/src/runtime/Config.x86-sunos   2015-04-28 22:38:01.569103626 
+0600
+@@ -12,6 +12,6 @@
+ CC=gcc
+ CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 
-D_REENTRANT -fno-omit-frame-pointer
+-NM = nm -xgp
+-GREP = ggrep
++NM = nm -t x -p
++GREP = grep
+ 
+ ASSEM_SRC = x86-assem.S ldso-stubs.S

diff --git a/dev-lisp/sbcl/files/sbcl-1.2.13-verbose-build.patch 
b/dev-lisp/sbcl/files/sbcl-1.2.13-verbose-build.patch
new file mode 100644
index 00000000..ade4f08
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.2.13-verbose-build.patch
@@ -0,0 +1,25 @@
+diff -r -U2 sbcl-1.2.13.orig/make.sh sbcl-1.2.13/make.sh
+--- sbcl-1.2.13.orig/make.sh   2015-06-29 01:24:03.000000000 +0600
++++ sbcl-1.2.13/make.sh        2015-06-29 15:53:04.430927942 +0600
+@@ -25,5 +25,5 @@
+ # any --xc-host parameter should be suitable for the host machine
+ # instead of the target.
+-sh make-config.sh "$@" || exit $?
++sh -x make-config.sh "$@" || exit $?
+ 
+ . output/prefix.def
+@@ -70,9 +70,9 @@
+ # and the make-target-*.sh scripts will take care of transferring the
+ # necessary files.
+-time sh make-host-1.sh
+-time sh make-target-1.sh
+-time sh make-host-2.sh
+-time sh make-target-2.sh
+-time sh make-target-contrib.sh
++time sh -x make-host-1.sh
++time sh -x make-target-1.sh
++time sh -x make-host-2.sh
++time sh -x make-target-2.sh
++time sh -x make-target-contrib.sh
+ 
+ NCONTRIBS=`find contrib -name Makefile -print | wc -l`

Reply via email to