1 |
commit: 387033fac6060d7c7705b53957c88064912b07c8 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 20 15:30:03 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 08:22:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387033fa |
7 |
|
8 |
dev-libs/gmp: remove unused patches |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch | 20 -------- |
15 |
dev-libs/gmp/files/gmp-4.2.1-s390.diff | 68 -------------------------- |
16 |
2 files changed, 88 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch b/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch |
19 |
deleted file mode 100644 |
20 |
index 093bec1a5dc..00000000000 |
21 |
--- a/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch |
22 |
+++ /dev/null |
23 |
@@ -1,20 +0,0 @@ |
24 |
-fixed executable stack |
25 |
- |
26 |
-http://bugs.gentoo.org/115038 |
27 |
- |
28 |
---- gmp-4.1.4/configure |
29 |
-+++ gmp-4.1.4/configure |
30 |
-@@ -21689,6 +21689,13 @@ |
31 |
- fi |
32 |
- echo "')" >> $gmp_configm4 |
33 |
- echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 |
34 |
-+# Gentoo hack |
35 |
-+case $host_os in |
36 |
-+ *linux*) |
37 |
-+ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4 |
38 |
-+ echo '.previous' >> $gmp_configm4 |
39 |
-+ ;; |
40 |
-+esac |
41 |
- |
42 |
- # Create Makefiles |
43 |
- # FIXME: Upcoming version of autoconf/automake may not like broken lines. |
44 |
|
45 |
diff --git a/dev-libs/gmp/files/gmp-4.2.1-s390.diff b/dev-libs/gmp/files/gmp-4.2.1-s390.diff |
46 |
deleted file mode 100644 |
47 |
index 82dbb722eb1..00000000000 |
48 |
--- a/dev-libs/gmp/files/gmp-4.2.1-s390.diff |
49 |
+++ /dev/null |
50 |
@@ -1,68 +0,0 @@ |
51 |
-stolen from SuSE |
52 |
- |
53 |
---- configure.in |
54 |
-+++ configure.in |
55 |
-@@ -1050,6 +1050,9 @@ |
56 |
- ;; |
57 |
- |
58 |
- |
59 |
-+ s390x-*-*) |
60 |
-+ path="s390x" ;; |
61 |
-+ |
62 |
- # IBM s/370 and similar |
63 |
- [s3[6-9]0*-*-*]) |
64 |
- gcc_cflags="-O2 $fomit_frame_pointer" |
65 |
---- configure |
66 |
-+++ configure |
67 |
-@@ -1050,6 +1050,9 @@ |
68 |
- ;; |
69 |
- |
70 |
- |
71 |
-+ s390x-*-*) |
72 |
-+ path="s390x" ;; |
73 |
-+ |
74 |
- # IBM s/370 and similar |
75 |
- s3[6-9]0*-*-*) |
76 |
- gcc_cflags="-O2 $fomit_frame_pointer" |
77 |
---- mpn/s390/gmp-mparam.h |
78 |
-+++ mpn/s390/gmp-mparam.h |
79 |
-@@ -20,7 +20,8 @@ |
80 |
- MA 02110-1301, USA. */ |
81 |
- |
82 |
- |
83 |
--/* BITS_PER_MP_LIMB etc generated by configure */ |
84 |
-+#define BITS_PER_MP_LIMB 32 |
85 |
-+#define BYTES_PER_MP_LIMB 4 |
86 |
- |
87 |
- |
88 |
- /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ |
89 |
---- mpn/s390x/gmp-mparam.h |
90 |
-+++ mpn/s390x/gmp-mparam.h |
91 |
-@@ -0,0 +1,27 @@ |
92 |
-+/* gmp-mparam.h -- Compiler/machine parameter header file. |
93 |
-+ |
94 |
-+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc. |
95 |
-+ |
96 |
-+This file is part of the GNU MP Library. |
97 |
-+ |
98 |
-+The GNU MP Library is free software; you can redistribute it and/or modify |
99 |
-+it under the terms of the GNU Library General Public License as published by |
100 |
-+the Free Software Foundation; either version 2 of the License, or (at your |
101 |
-+option) any later version. |
102 |
-+ |
103 |
-+The GNU MP Library is distributed in the hope that it will be useful, but |
104 |
-+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
105 |
-+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public |
106 |
-+License for more details. |
107 |
-+ |
108 |
-+You should have received a copy of the GNU Library General Public License |
109 |
-+along with the GNU MP Library; see the file COPYING.LIB. If not, write to |
110 |
-+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
111 |
-+MA 02111-1307, USA. */ |
112 |
-+ |
113 |
-+#define BITS_PER_MP_LIMB 64 |
114 |
-+#define BYTES_PER_MP_LIMB 8 |
115 |
-+#define BITS_PER_LONGINT 64 |
116 |
-+#define BITS_PER_INT 32 |
117 |
-+#define BITS_PER_SHORTINT 16 |
118 |
-+#define BITS_PER_CHAR 8 |