# --- 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 - 2005 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 https://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 --- 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 (); +#include 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.