OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 15-Apr-2009 19:04:58 Branch: HEAD Handle: 2009041518045800 Modified files: openpkg-src/gmp gmp.patch gmp.spec Log: upgrading package: gmp 4.2.4 -> 4.3.0 Summary: Revision Changes Path 1.4 +33 -34 openpkg-src/gmp/gmp.patch 1.49 +2 -2 openpkg-src/gmp/gmp.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/gmp/gmp.patch ============================================================================ $ cvs diff -u -r1.3 -r1.4 gmp.patch --- openpkg-src/gmp/gmp.patch 4 Aug 2008 17:15:17 -0000 1.3 +++ openpkg-src/gmp/gmp.patch 15 Apr 2009 17:04:58 -0000 1.4 @@ -1,7 +1,7 @@ Index: configure ---- configure.orig 2008-08-02 15:51:49 +0200 -+++ configure 2008-08-04 19:09:01 +0200 -@@ -3199,184 +3199,6 @@ +--- configure.orig 2009-04-14 14:36:53 +0200 ++++ configure 2009-04-15 18:17:21 +0200 +@@ -3213,183 +3213,6 @@ sh2-*-*) path="sh/sh2 sh" ;; @@ -48,9 +48,9 @@ - # - case $host_cpu in - sparc64 | sparcv9* | ultrasparc*) -- gcc_cflags="-O2 -Wa,-xarch=v8plus" ;; +- gcc_cflags="$gcc_cflags -Wa,-xarch=v8plus" ;; - *) -- gcc_cflags="-O2" ;; +- gcc_cflags="$gcc_cflags" ;; - esac - gcc_32_cflags_maybe="-m32" - gcc_cflags_optlist="cpu" @@ -77,40 +77,40 @@ - # SunPRO cc and acc, and SunOS bundled cc - case $host in - *-*-solaris* | *-*-sunos*) -- # Note no -g, it disables all optimizations. -- cc_cflags= -- cc_cflags_optlist="opt arch cpu" +- # Note no -g, it disables all optimizations. +- cc_cflags= +- cc_cflags_optlist="opt arch cpu" - - # SunOS cc doesn't know -xO4, fallback to -O2. -- cc_cflags_opt="-xO4 -O2" +- cc_cflags_opt="-xO4 -O2" - - # SunOS cc doesn't know -xarch, apparently always generating v7 - # code, so make this optional -- case $host_cpu in -- sparcv8 | microsparc | supersparc | turbosparc) +- case $host_cpu in +- sparcv8 | microsparc | supersparc | turbosparc) - cc_cflags_arch="-xarch=v8" ;; -- sparc64 | sparcv9* | ultrasparc*) cc_cflags_arch="-xarch=v8plus" ;; -- *) cc_cflags_arch="-xarch=v7" ;; -- esac +- sparc64 | sparcv9* | ultrasparc*) cc_cflags_arch="-xarch=v8plus" ;; +- *) cc_cflags_arch="-xarch=v7" ;; +- esac - - # SunOS cc doesn't know -xchip and doesn't seem to have an equivalent. -- # SunPRO cc 5 recognises -xchip=generic, old, super, super2, micro, -- # micro2, hyper, hyper2, powerup, ultra, ultra2, ultra2i. -- # SunPRO cc 6 adds -xchip=ultra2e, ultra3cu. +- # SunPRO cc 5 recognises -xchip=generic, old, super, super2, micro, +- # micro2, hyper, hyper2, powerup, ultra, ultra2, ultra2i. +- # SunPRO cc 6 adds -xchip=ultra2e, ultra3cu. - # -- # FIXME: Which of ultra, ultra2 or ultra2i is the best fallback for -- # ultrasparc3? -- # -- case $host_cpu in -- supersparc) cc_cflags_cpu="-xchip=super" ;; -- microsparc) cc_cflags_cpu="-xchip=micro" ;; -- turbosparc) cc_cflags_cpu="-xchip=micro2" ;; -- ultrasparc) cc_cflags_cpu="-xchip=ultra" ;; -- ultrasparc2) cc_cflags_cpu="-xchip=ultra2" ;; -- ultrasparc2i) cc_cflags_cpu="-xchip=ultra2i" ;; -- ultrasparc3) cc_cflags_cpu="-xchip=ultra3 -xchip=ultra" ;; -- *) cc_cflags_cpu="-xchip=generic" ;; -- esac +- # FIXME: Which of ultra, ultra2 or ultra2i is the best fallback for +- # ultrasparc3? +- # +- case $host_cpu in +- supersparc) cc_cflags_cpu="-xchip=super" ;; +- microsparc) cc_cflags_cpu="-xchip=micro" ;; +- turbosparc) cc_cflags_cpu="-xchip=micro2" ;; +- ultrasparc) cc_cflags_cpu="-xchip=ultra" ;; +- ultrasparc2) cc_cflags_cpu="-xchip=ultra2" ;; +- ultrasparc2i) cc_cflags_cpu="-xchip=ultra2i" ;; +- ultrasparc3) cc_cflags_cpu="-xchip=ultra3 -xchip=ultra" ;; +- *) cc_cflags_cpu="-xchip=generic" ;; +- esac - esac - - case $host_cpu in @@ -155,7 +155,7 @@ - # it until we're sure. (Might want -xarch=v9a or -xarch=v9b for the - # higher cpu types instead.) - # -- gcc_64_cflags="-O2 -m64 -mptr64" +- gcc_64_cflags="$gcc_64_cflags -m64 -mptr64" - gcc_64_ldflags="-Wc,-m64" - gcc_64_cflags_optlist="cpu" - @@ -168,7 +168,7 @@ - # -fast is documented as miscompiling things for the sake of speed. - # - cclist_64="$cclist_64 cc" -- cc_64_cflags="-O3 -xarch=v9" +- cc_64_cflags="-xO3 -xarch=v9" - cc_64_cflags_optlist="cpu" - ;; - esac @@ -182,7 +182,6 @@ - esac - ;; - -- + # VAX vax*-*-*) - # Currently gcc (version 3.0) on vax always uses a frame pointer @@ . patch -p0 <<'@@ .' Index: openpkg-src/gmp/gmp.spec ============================================================================ $ cvs diff -u -r1.48 -r1.49 gmp.spec --- openpkg-src/gmp/gmp.spec 12 Apr 2009 16:19:17 -0000 1.48 +++ openpkg-src/gmp/gmp.spec 15 Apr 2009 17:04:58 -0000 1.49 @@ -31,8 +31,8 @@ Class: CORE Group: Algorithm License: LGPL -Version: 4.2.4 -Release: 20090412 +Version: 4.3.0 +Release: 20090415 # package options %option with_cxx no @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org