remove workarounds for gcc2.95/sparc64 bugs

This commit is contained in:
naddy 2004-02-22 22:21:01 +00:00
parent 96a1426e6b
commit 3ad1cdbb49
6 changed files with 3 additions and 69 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2003/08/22 16:23:09 naddy Exp $
# $OpenBSD: Makefile,v 1.6 2004/02/22 22:21:01 naddy Exp $
COMMENT= "curses-based emulator for the Wyse 60 terminal"
@ -14,10 +14,6 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
MASTER_SITES= ${HOMEPAGE}html/archive/
CONFIGURE_STYLE=gnu

View File

@ -1,20 +0,0 @@
$OpenBSD: gcc-configure,v 1.1 2003/06/01 15:10:11 sturm Exp $
--- configure.orig Thu May 29 22:57:16 2003
+++ configure Thu May 29 22:58:11 2003
@@ -4622,6 +4622,8 @@ exit (malloc (0) ? 0 : 1);
}
_ACEOF
rm -f conftest$ac_exeext
+_SAVE_CFLAGS=$CFLAGS
+CFLAGS=-O0
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
@@ -4641,6 +4643,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ac_cv_func_malloc_0_nonnull=no
fi
+CFLAGS=$_SAVE_CFLAGS
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2003/03/29 00:30:59 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2004/02/22 22:21:01 naddy Exp $
COMMENT= "library for arbitrary precision arithmetic"
@ -17,11 +17,6 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=gmp/}
# work around optimizer bug in gcc 2.95
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-patch-*
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# Don't try to optimize for the local CPU submodel

View File

@ -1,12 +0,0 @@
$OpenBSD: gcc-patch-mpf_Makefile_in,v 1.2 2002/10/21 23:18:05 naddy Exp $
--- mpf/Makefile.in.orig Mon Oct 14 02:15:08 2002
+++ mpf/Makefile.in Mon Oct 14 02:16:22 2002
@@ -243,6 +243,8 @@ mostlyclean-kr:
.c.lo:
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+mul_ui.lo: mul_ui.c
+ $(LTCOMPILE) -O0 -c -o $@ `test -f $? || echo '$(srcdir)/'`$?
abs_.c: abs.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/abs.c; then echo $(srcdir)/abs.c; else echo abs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > abs_.c || rm -f abs_.c
add_.c: add.c $(ANSI2KNR)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2003/10/03 20:51:39 naddy Exp $
# $OpenBSD: Makefile,v 1.9 2004/02/22 22:21:01 naddy Exp $
COMMENT= "interactive typing tutor"
@ -16,11 +16,6 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=gtypist/}
# work around an optimizer bug in gcc 2.95
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-patch-*
.endif
MODULES= gettext
CONFIGURE_STYLE=gnu

View File

@ -1,20 +0,0 @@
$OpenBSD: gcc-patch-configure,v 1.1 2003/10/03 20:51:39 naddy Exp $
--- configure.orig 2003-09-28 23:35:45.000000000 +0200
+++ configure 2003-10-03 22:17:25.000000000 +0200
@@ -4595,6 +4595,8 @@ exit (malloc (0) ? 0 : 1);
}
_ACEOF
rm -f conftest$ac_exeext
+_SAVE_CFLAGS=$CFLAGS
+CFLAGS=-O0
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
@@ -4614,6 +4616,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ac_cv_func_malloc_0_nonnull=no
fi
+CFLAGS=$_SAVE_CFLAGS
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi