diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES --- mpfr-3.1.0-a/PATCHES 2011-10-14 10:43:32.000000000 +0000 +++ mpfr-3.1.0-b/PATCHES 2011-10-14 10:43:32.000000000 +0000 @@ -0,0 +1 @@ +lib-search-path diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION --- mpfr-3.1.0-a/VERSION 2011-10-05 21:39:57.000000000 +0000 +++ mpfr-3.1.0-b/VERSION 2011-10-14 10:43:32.000000000 +0000 @@ -1 +1 @@ -3.1.0-p1 +3.1.0-p2 diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h --- mpfr-3.1.0-a/src/mpfr.h 2011-10-05 21:39:57.000000000 +0000 +++ mpfr-3.1.0-b/src/mpfr.h 2011-10-14 10:43:32.000000000 +0000 @@ -27,7 +27,7 @@ #define MPFR_VERSION_MAJOR 3 #define MPFR_VERSION_MINOR 1 #define MPFR_VERSION_PATCHLEVEL 0 -#define MPFR_VERSION_STRING "3.1.0-p1" +#define MPFR_VERSION_STRING "3.1.0-p2" /* Macros dealing with MPFR VERSION */ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c)) diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c --- mpfr-3.1.0-a/src/version.c 2011-10-05 21:39:57.000000000 +0000 +++ mpfr-3.1.0-b/src/version.c 2011-10-14 10:43:32.000000000 +0000 @@ -25,5 +25,5 @@ const char * mpfr_get_version (void) { - return "3.1.0-p1"; + return "3.1.0-p2"; } diff -Naurd mpfr-3.1.0-a/tests/Makefile.am mpfr-3.1.0-b/tests/Makefile.am --- mpfr-3.1.0-a/tests/Makefile.am 2011-10-03 08:17:14.000000000 +0000 +++ mpfr-3.1.0-b/tests/Makefile.am 2011-10-03 08:17:14.000000000 +0000 @@ -65,8 +65,24 @@ TESTS = $(check_PROGRAMS) TESTS_ENVIRONMENT = MPFR_QUIET=1 $(VALGRIND) -# Option to prevent libtool from generating wrapper scripts for the tests. +# The -no-install option prevents libtool from generating wrapper scripts +# for the tests. # This is useful to easily run the test scripts under valgrind or gdb. # See discussion http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/28033 # http://article.gmane.org/gmane.comp.lib.gnulib.bugs/28140 in particular. -AM_LDFLAGS = -no-install +# +# The -L$(top_builddir)/src/.libs option is necessary for some platforms, +# such as HP-UX, when --with-gmp or --with-gmp-lib is used and an old MPFR +# library is already installed in the corresponding lib directory: its +# purpose is to make sure that the local .libs comes first in the library +# search path (otherwise the tests are linked against the old MPFR library +# by the LINK command -- see the generated Makefile). See: +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00042.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00043.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00044.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00066.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00065.html +# and +# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9728 +# +AM_LDFLAGS = -no-install -L$(top_builddir)/src/.libs diff -Naurd mpfr-3.1.0-a/tests/Makefile.in mpfr-3.1.0-b/tests/Makefile.in --- mpfr-3.1.0-a/tests/Makefile.in 2011-10-03 08:17:35.000000000 +0000 +++ mpfr-3.1.0-b/tests/Makefile.in 2011-10-03 08:17:35.000000000 +0000 @@ -1124,11 +1124,27 @@ TESTS = $(check_PROGRAMS) TESTS_ENVIRONMENT = MPFR_QUIET=1 $(VALGRIND) -# Option to prevent libtool from generating wrapper scripts for the tests. +# The -no-install option prevents libtool from generating wrapper scripts +# for the tests. # This is useful to easily run the test scripts under valgrind or gdb. # See discussion http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/28033 # http://article.gmane.org/gmane.comp.lib.gnulib.bugs/28140 in particular. -AM_LDFLAGS = -no-install +# +# The -L$(top_builddir)/src/.libs option is necessary for some platforms, +# such as HP-UX, when --with-gmp or --with-gmp-lib is used and an old MPFR +# library is already installed in the corresponding lib directory: its +# purpose is to make sure that the local .libs comes first in the library +# search path (otherwise the tests are linked against the old MPFR library +# by the LINK command -- see the generated Makefile). See: +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00042.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00043.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00044.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00066.html +# http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00065.html +# and +# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9728 +# +AM_LDFLAGS = -no-install -L$(top_builddir)/src/.libs all: all-am .SUFFIXES: