back out a couple #define'd c99 math functions now that OpenBSD

implements them natively
bump PKGNAME, reminded by naddy@
This commit is contained in:
todd 2005-11-25 04:12:54 +00:00
parent 15c5159cae
commit 305ca8493e
2 changed files with 6 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2005/11/05 12:11:05 todd Exp $
# $OpenBSD: Makefile,v 1.8 2005/11/25 04:12:54 todd Exp $
# no success building on other archs yet
ONLY_FOR_ARCHS= amd64 i386 macppc
COMMENT= "multi system emulator"
DISTNAME= qemu-0.7.2
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
CATEGORIES= emulators
HOMEPAGE= http://fabrice.bellard.free.fr/qemu/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-gnu-c99-math_h,v 1.1 2005/08/11 01:15:17 todd Exp $
--- gnu-c99-math.h.orig Thu Apr 28 15:16:19 2005
+++ gnu-c99-math.h Thu Apr 28 15:38:01 2005
@@ -0,0 +1,24 @@
$OpenBSD: patch-gnu-c99-math_h,v 1.2 2005/11/25 04:12:54 todd Exp $
--- gnu-c99-math.h.orig Thu Nov 24 20:19:46 2005
+++ gnu-c99-math.h Thu Nov 24 20:22:25 2005
@@ -0,0 +1,22 @@
+#if (defined(__sun__) || defined(__OpenBSD__)) && defined(__GNUC__)
+
+/*
@ -22,7 +22,5 @@ $OpenBSD: patch-gnu-c99-math_h,v 1.1 2005/08/11 01:15:17 todd Exp $
+#define islessequal(x, y) ((x) <= (y))
+
+#define isunordered(x,y) (isnan(x) || isnan(y))
+#define lrintf(x) ((long)rintf(x))
+#define llrintf(x) ((long long)rintf(x))
+
+#endif