pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/liboil Fix bad preprocessor conditional. PR pkg/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2783e5e8e923
branches:  trunk
changeset: 537989:2783e5e8e923
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 23 11:24:47 2008 +0000

description:
Fix bad preprocessor conditional. PR pkg/37849.

diffstat:

 devel/liboil/distinfo         |   4 ++--
 devel/liboil/patches/patch-aa |  15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 10ef5270eaec -r 2783e5e8e923 devel/liboil/distinfo
--- a/devel/liboil/distinfo     Wed Jan 23 08:53:06 2008 +0000
+++ b/devel/liboil/distinfo     Wed Jan 23 11:24:47 2008 +0000
@@ -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
diff -r 10ef5270eaec -r 2783e5e8e923 devel/liboil/patches/patch-aa
--- a/devel/liboil/patches/patch-aa     Wed Jan 23 08:53:06 2008 +0000
+++ b/devel/liboil/patches/patch-aa     Wed Jan 23 11:24:47 2008 +0000
@@ -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 @@
    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.



Home | Main Index | Thread Index | Old Index