From 4e10f76d3c83e6d2a1292d7e3dda778a5821eda5 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 05:21:57 +0000 Subject: [PATCH] auto-import changelog data from gmp-4.1.2-9.src.rpm Thu Oct 23 2003 Joe Orton 4.1.2-9 - build with -Wa,--noexecstack Thu Oct 23 2003 Joe Orton 4.1.2-8 - build assembly code with -Wa,--execstack - use parallel make - run tests, and fix C++ therein Thu Oct 02 2003 Florian La Roche - enable mpfr #104395 - enable cxx #80195 - add COPYING.LIB - add fixes from gmp web-site - remove some cruft patches for older libtool releases Wed Jun 04 2003 Elliot Lee - rebuilt Tue Jun 03 2003 Florian La Roche - make configure.in work with newer autoconf Sun Jun 01 2003 Florian La Roche - do not set extra_functions for s390x #92001 Thu Feb 13 2003 Elliot Lee 4.1.2-3 - Add ppc64 patch, accompanied by running auto* --- gmp-4.0.1-s390.patch | 32 +----------------- gmp-4.1.2-autoconf.patch | 17 ++++++++++ gmp-4.1.2-ppc64.patch | 34 +++++++++++++++++++ gmp.spec | 71 +++++++++++++++++++++++++++++++++++----- 4 files changed, 114 insertions(+), 40 deletions(-) create mode 100644 gmp-4.1.2-autoconf.patch create mode 100644 gmp-4.1.2-ppc64.patch diff --git a/gmp-4.0.1-s390.patch b/gmp-4.0.1-s390.patch index be1716c..017c7e1 100644 --- a/gmp-4.0.1-s390.patch +++ b/gmp-4.0.1-s390.patch @@ -49,38 +49,8 @@ + s390x-*-*) + gcc_cflags="-g -O2 $fomit_frame_pointer" + path="s390x" -+ extra_functions="udiv_w_sdiv" ++ #extra_functions="udiv_w_sdiv" + ;; # IBM s/370 and similar [s3[6-9]0*-*-*]) gcc_cflags="-g -O2 $fomit_frame_pointer" ---- gmp-4.1/mpn/Makeasm.am -+++ gmp-4.1/mpn/Makeasm.am -@@ -106,4 +106,4 @@ - $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ - $(RM_TMP) tmp-$*.s - .asm.lo: -- $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< -+ $(LIBTOOL) --mode=compile $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< ---- gmp-4.1/mpn/Makefile.in -+++ gmp-4.1/mpn/Makefile.in -@@ -681,7 +681,7 @@ - $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ - $(RM_TMP) tmp-$*.s - .asm.lo: -- $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< -+ $(LIBTOOL) --mode=compile $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: ---- gmp-4.1.1/longlong.h -+++ gmp-4.1.1/longlong.h -@@ -687,7 +687,7 @@ - #endif - #endif /* 80x86 */ - --#if defined (__x86_64__) && W_TYPE_SIZE == 64 -+#if defined (disable__x86_64__) && W_TYPE_SIZE == 64 - #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ - __asm__ ("addq %5,%1\n\tadcq %3,%0" \ - : "=r" ((UDItype)(sh)), "=&r" ((UDItype)(sl)) \ diff --git a/gmp-4.1.2-autoconf.patch b/gmp-4.1.2-autoconf.patch new file mode 100644 index 0000000..003f4f6 --- /dev/null +++ b/gmp-4.1.2-autoconf.patch @@ -0,0 +1,17 @@ +--- gmp-4.1.2/configure.in.lr 2003-06-03 09:48:52.000000000 +0200 ++++ gmp-4.1.2/configure.in 2003-06-03 09:49:39.000000000 +0200 +@@ -1338,11 +1338,11 @@ + + + # The C++ compiler, if desired. ++test_CXXFLAGS=${CXXFLAGS+set} ++AC_PROG_CXX ++ + want_cxx=no + if test $enable_cxx != no; then +- test_CXXFLAGS=${CXXFLAGS+set} +- AC_PROG_CXX +- + echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AC_FD_CC + cxxflags_ac_prog_cxx=$CXXFLAGS + cxxflags_list=ac_prog_cxx diff --git a/gmp-4.1.2-ppc64.patch b/gmp-4.1.2-ppc64.patch new file mode 100644 index 0000000..7123a43 --- /dev/null +++ b/gmp-4.1.2-ppc64.patch @@ -0,0 +1,34 @@ +--- gmp-4.1.2/acinclude.m4.sopwith 2002-09-07 20:02:19.000000000 -0400 ++++ gmp-4.1.2/acinclude.m4 2003-02-11 10:48:30.000000000 -0500 +@@ -1003,7 +1003,7 @@ + ${tmp_underscore}underscore_test$gmp_cv_asm_label_suffix + EOF + case $host in +- *-*-aix*) ++ *-*-aix*|powerpc64-*) + cat >>conftes2.s < 4.1.2-9 +- build with -Wa,--noexecstack + +* Thu Oct 23 2003 Joe Orton 4.1.2-8 +- build assembly code with -Wa,--execstack +- use parallel make +- run tests, and fix C++ therein + +* Thu Oct 02 2003 Florian La Roche +- enable mpfr #104395 +- enable cxx #80195 +- add COPYING.LIB +- add fixes from gmp web-site +- remove some cruft patches for older libtool releases + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Tue Jun 03 2003 Florian La Roche +- make configure.in work with newer autoconf + +* Sun Jun 01 2003 Florian La Roche +- do not set extra_functions for s390x #92001 + +* Thu Feb 13 2003 Elliot Lee 4.1.2-3 +- Add ppc64 patch, accompanied by running auto* + * Wed Jan 22 2003 Tim Powers - rebuilt