Update to 4.1.1: bug fixes, support for *BSD/sparc64 has been integrated.

This commit is contained in:
naddy 2002-12-13 23:56:58 +00:00
parent bdfb426373
commit 0fe9eb2ce8
7 changed files with 47 additions and 58 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.8 2002/10/21 23:18:05 naddy Exp $
# $OpenBSD: Makefile,v 1.9 2002/12/13 23:56:58 naddy Exp $
COMMENT= "library for arbitrary precision arithmetic"
DISTNAME= gmp-4.1
DISTNAME= gmp-4.1.1
CATEGORIES= devel math
HOMEPAGE= http://www.swox.com/gmp/
@ -22,8 +22,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:=gmp/}
PATCH_LIST= patch-* gcc-patch-*
.endif
AUTOCONF_NEW= Yes
CONFIGURE_STYLE= autoconf
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# Don't try to optimize for the local CPU submodel
CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-unknown-openbsd${OSrev}

View File

@ -1,3 +1,3 @@
MD5 (gmp-4.1.tar.gz) = d6afbdf7e02615fa16867896ce0e03d3
RMD160 (gmp-4.1.tar.gz) = fdb61064d21087f0faf889c76898b0e20210b7d7
SHA1 (gmp-4.1.tar.gz) = 6385fdfda2da9bd8c47256f5766b917f767c181b
MD5 (gmp-4.1.1.tar.gz) = 3fcc07a8cc4b4e739b9757c0d687bb49
RMD160 (gmp-4.1.1.tar.gz) = a14ad36d392765a4cac2d3a3159417caf0c22840
SHA1 (gmp-4.1.1.tar.gz) = ea713b4b03033d0a7577fbef789ec0b8e281bcf5

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2002/10/21 23:18:05 naddy Exp $
--- aclocal.m4.orig Thu Oct 10 19:39:06 2002
+++ aclocal.m4 Thu Oct 10 19:39:36 2002
@@ -7370,7 +7370,7 @@ EOF
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
else
@@ -7380,7 +7380,7 @@ EOF
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
;;
*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
;;
esac

View File

@ -0,0 +1,39 @@
$OpenBSD: patch-configure,v 1.3 2002/12/13 23:56:58 naddy Exp $
--- configure.orig Wed Dec 4 18:12:04 2002
+++ configure Wed Dec 4 18:13:24 2002
@@ -8299,7 +8299,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -8309,7 +8309,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
@@ -14098,7 +14098,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var_GCJ=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
export_dynamic_flag_spec_GCJ='${wl}-E'
else
@@ -14108,7 +14108,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_libdir_flag_spec_GCJ='-R$libdir'
;;
*)
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
;;
esac

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-configure_in,v 1.1 2002/10/21 23:18:05 naddy Exp $
--- configure.in.orig Sat May 18 11:54:44 2002
+++ configure.in Mon Oct 21 17:48:45 2002
@@ -875,6 +875,12 @@ case $host in
SPEED_CYCLECOUNTER_OBJ_64=sparcv9.lo
cyclecounter_size_64=2
;;
+ [*-*-openbsd*])
+ abilist="64"
+ extra_functions=
+ path="sparc64"
+ cyclecounter_size=2
+ ;;
esac
;;
esac

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-mpn_x86_dive_1_asm,v 1.1 2002/10/21 23:18:05 naddy Exp $
--- mpn/x86/dive_1.asm.orig Mon Oct 14 02:06:16 2002
+++ mpn/x86/dive_1.asm Mon Oct 14 02:07:10 2002
@@ -71,7 +71,7 @@ L(strip_twos):
ifdef(`PIC',`
call L(movl_eip_edx)
- addl $_GLOBAL_OFFSET_TABLE_, %edx
+ addl $GSYM_PREFIX`'_GLOBAL_OFFSET_TABLE_, %edx
movl modlimb_invert_table@GOT(%edx), %edx
movzbl (%eax,%edx), %eax C inv 8 bits
',`

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2002/10/21 23:18:05 naddy Exp $
lib/libgmp.so.6.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2002/12/13 23:56:58 naddy Exp $
lib/libgmp.so.6.1
DYNLIBDIR(%B)