diff options
Diffstat (limited to 'dev-libs/gmp/files')
-rw-r--r-- | dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch | 20 | ||||
-rw-r--r-- | dev-libs/gmp/files/gmp-4.2.1-s390.diff | 68 |
2 files changed, 0 insertions, 88 deletions
diff --git a/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch b/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch deleted file mode 100644 index 093bec1a5dca..000000000000 --- a/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch +++ /dev/null @@ -1,20 +0,0 @@ -fixed executable stack - -http://bugs.gentoo.org/115038 - ---- gmp-4.1.4/configure -+++ gmp-4.1.4/configure -@@ -21689,6 +21689,13 @@ - fi - echo "')" >> $gmp_configm4 - echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 -+# Gentoo hack -+case $host_os in -+ *linux*) -+ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4 -+ echo '.previous' >> $gmp_configm4 -+ ;; -+esac - - # Create Makefiles - # FIXME: Upcoming version of autoconf/automake may not like broken lines. diff --git a/dev-libs/gmp/files/gmp-4.2.1-s390.diff b/dev-libs/gmp/files/gmp-4.2.1-s390.diff deleted file mode 100644 index 82dbb722eb14..000000000000 --- a/dev-libs/gmp/files/gmp-4.2.1-s390.diff +++ /dev/null @@ -1,68 +0,0 @@ -stolen from SuSE - ---- configure.in -+++ configure.in -@@ -1050,6 +1050,9 @@ - ;; - - -+ s390x-*-*) -+ path="s390x" ;; -+ - # IBM s/370 and similar - [s3[6-9]0*-*-*]) - gcc_cflags="-O2 $fomit_frame_pointer" ---- configure -+++ configure -@@ -1050,6 +1050,9 @@ - ;; - - -+ s390x-*-*) -+ path="s390x" ;; -+ - # IBM s/370 and similar - s3[6-9]0*-*-*) - gcc_cflags="-O2 $fomit_frame_pointer" ---- mpn/s390/gmp-mparam.h -+++ mpn/s390/gmp-mparam.h -@@ -20,7 +20,8 @@ - MA 02110-1301, USA. */ - - --/* BITS_PER_MP_LIMB etc generated by configure */ -+#define BITS_PER_MP_LIMB 32 -+#define BYTES_PER_MP_LIMB 4 - - - /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ ---- mpn/s390x/gmp-mparam.h -+++ mpn/s390x/gmp-mparam.h -@@ -0,0 +1,27 @@ -+/* gmp-mparam.h -- Compiler/machine parameter header file. -+ -+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc. -+ -+This file is part of the GNU MP Library. -+ -+The GNU MP Library is free software; you can redistribute it and/or modify -+it under the terms of the GNU Library General Public License as published by -+the Free Software Foundation; either version 2 of the License, or (at your -+option) any later version. -+ -+The GNU MP Library is distributed in the hope that it will be useful, but -+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public -+License for more details. -+ -+You should have received a copy of the GNU Library General Public License -+along with the GNU MP Library; see the file COPYING.LIB. If not, write to -+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, -+MA 02111-1307, USA. */ -+ -+#define BITS_PER_MP_LIMB 64 -+#define BYTES_PER_MP_LIMB 8 -+#define BITS_PER_LONGINT 64 -+#define BITS_PER_INT 32 -+#define BITS_PER_SHORTINT 16 -+#define BITS_PER_CHAR 8 |