|
|
@ -1,35 +1,20 @@ |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# Please add additional copyright information _after_ the line containing |
|
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|
|
|
# |
|
|
|
# ROCK Linux: rock-src/package/rene/librep/fix_gmp_test.patch |
|
|
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|
|
|
# |
|
|
|
# This patch file is dual-licensed. It is available under the license the |
|
|
|
# patched project is licensed under, as long as it is an OpenSource license |
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
|
|
# of the GNU General Public License as published by the Free Software |
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
|
|
# version. |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
--- ./configure~ Thu Apr 13 16:53:31 2000
|
|
|
|
+++ ./configure Fri Apr 21 08:39:14 2000
|
|
|
|
@@ -2314,10 +2314,11 @@
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
diff -dur librep-0.17/configure librep-0.17-p/configure
|
|
|
|
--- librep-0.17/configure 2003-11-25 04:46:51.000000000 +0100
|
|
|
|
+++ librep-0.17-p/configure 2004-11-09 16:24:40.124499080 +0100
|
|
|
|
@@ -19377,11 +19377,12 @@
|
|
|
|
#endif |
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
builtin and then its argument prototype would still apply. */ |
|
|
|
-char mpz_init();
|
|
|
|
builtin and then its argument prototype would still apply. */ |
|
|
|
-char mpz_init ();
|
|
|
|
+#include <gmp.h>
|
|
|
|
|
|
|
|
int main() { |
|
|
|
-mpz_init()
|
|
|
|
+mpz_t integ;
|
|
|
|
+mpz_init(integ)
|
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
int |
|
|
|
main () |
|
|
|
{ |
|
|
|
-mpz_init ();
|
|
|
|
+ mpz_t integ;
|
|
|
|
+ mpz_init(integ)
|
|
|
|
; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
Nur in librep-0.17-p/: configure~. |
|
|
|
Nur in librep-0.17-p/: configure.rej. |