1 |
vapier 08/05/02 04:46:06 |
2 |
|
3 |
Modified: gmp-4.1.4-noexecstack.patch |
4 |
Log: |
5 |
Redo how we add noexecstack since #if checks do not work in .s files. |
6 |
(Portage version: 2.2_pre5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.5 dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch?rev=1.5&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch?rev=1.5&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch?r1=1.4&r2=1.5 |
14 |
|
15 |
Index: gmp-4.1.4-noexecstack.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch,v |
18 |
retrieving revision 1.4 |
19 |
retrieving revision 1.5 |
20 |
diff -u -r1.4 -r1.5 |
21 |
--- gmp-4.1.4-noexecstack.patch 4 Apr 2007 21:58:11 -0000 1.4 |
22 |
+++ gmp-4.1.4-noexecstack.patch 2 May 2008 04:46:06 -0000 1.5 |
23 |
@@ -1,19 +1,20 @@ |
24 |
-fixed executable stack as per bug #115038 thanks to Petteri Räty |
25 |
+fixed executable stack |
26 |
+ |
27 |
+http://bugs.gentoo.org/115038 |
28 |
|
29 |
--- gmp-4.1.4/configure |
30 |
+++ gmp-4.1.4/configure |
31 |
-@@ -21689,6 +21689,7 @@ |
32 |
+@@ -21689,6 +21689,13 @@ |
33 |
fi |
34 |
echo "')" >> $gmp_configm4 |
35 |
echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 |
36 |
-+cat nostackexec>>$gmp_configm4 |
37 |
++# Gentoo hack |
38 |
++case $host_os in |
39 |
++ *linux*) |
40 |
++ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4 |
41 |
++ echo '.previous' >> $gmp_configm4 |
42 |
++ ;; |
43 |
++esac |
44 |
|
45 |
# Create Makefiles |
46 |
# FIXME: Upcoming version of autoconf/automake may not like broken lines. |
47 |
---- gmp-4.1.4/nostackexec |
48 |
-+++ gmp-4.1.4/nostackexec |
49 |
-@@ -0,0 +1,4 @@ |
50 |
-+#if defined(__linux__) && defined(__ELF__) |
51 |
-+.section .note.GNU-stack,"",%progbits |
52 |
-+.previous |
53 |
-+#endif |
54 |
|
55 |
|
56 |
|
57 |
-- |
58 |
gentoo-commits@l.g.o mailing list |