Fix bad preprocessor conditional. PR pkg/37849.

This commit is contained in:
tnn 2008-01-23 11:24:47 +00:00
parent 9dff4b5d40
commit d43d02c961
2 changed files with 14 additions and 5 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.8 2007/06/01 20:21:03 wiz Exp $
$NetBSD: distinfo,v 1.9 2008/01/23 11:24:47 tnn Exp $
SHA1 (liboil-0.3.12.tar.gz) = b6bf01ba31ce090e426391a9ea8ef6daf6739e96
RMD160 (liboil-0.3.12.tar.gz) = 0fb494f816d60889a745320bd021add972be1684
Size (liboil-0.3.12.tar.gz) = 810532 bytes
SHA1 (patch-aa) = 9f6478ae4008ed9881e6dcf99beb4b49db04c9e5
SHA1 (patch-aa) = b4c44d24846cdd8295c1205073e057b028ceda49
SHA1 (patch-ab) = 36a06f38f34f43ab6d181f4e9028f7b9adf5332b
SHA1 (patch-ac) = 8ccb2b0323b337902c384f4bdda856ca1cc2b023

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.5 2007/04/12 17:53:41 joerg Exp $
$NetBSD: patch-aa,v 1.6 2008/01/23 11:24:47 tnn Exp $
--- liboil/liboilcpu.c.orig 2007-04-12 17:34:43.000000000 +0000
--- liboil/liboilcpu.c.orig 2007-04-11 08:25:16.000000000 +0200
+++ liboil/liboilcpu.c
@@ -574,7 +574,7 @@ oil_cpu_detect_getisax (void)
@@ -578,7 +578,7 @@ oil_cpu_detect_getisax (void)
static void
oil_cpu_detect_kernel_support (void)
{
@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.5 2007/04/12 17:53:41 joerg Exp $
int ret, enabled;
size_t len;
@@ -598,7 +598,7 @@ oil_cpu_detect_kernel_support (void)
/* Solaris is OK */
#elif defined(__NetBSD__)
/* NetBSD is OK */
-#elif
+#else
/* If we don't know that the operating system supports SSE, don't trust that
* it will properly support it.