[27264] trunk/dports/devel/liboil
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 26 02:52:25 PDT 2007
Revision: 27264
http://trac.macosforge.org/projects/macports/changeset/27264
Author: rhwood at macports.org
Date: 2007-07-26 02:52:25 -0700 (Thu, 26 Jul 2007)
Log Message:
-----------
Add some patches from the fink folk
Modified Paths:
--------------
trunk/dports/devel/liboil/Portfile
Added Paths:
-----------
trunk/dports/devel/liboil/files/
trunk/dports/devel/liboil/files/configure.patch
trunk/dports/devel/liboil/files/liboil_liboilcpu.c.patch
trunk/dports/devel/liboil/files/testsuite_stack_align.c.patch
Modified: trunk/dports/devel/liboil/Portfile
===================================================================
--- trunk/dports/devel/liboil/Portfile 2007-07-26 07:39:29 UTC (rev 27263)
+++ trunk/dports/devel/liboil/Portfile 2007-07-26 09:52:25 UTC (rev 27264)
@@ -15,3 +15,8 @@
rmd160 0fb494f816d60889a745320bd021add972be1684
configure.args --mandir=${prefix}/share/man
+
+patchfiles \
+ configure.patch \
+ testsuite_stack_align.c.patch \
+ liboil_liboilcpu.c.patch
Added: trunk/dports/devel/liboil/files/configure.patch
===================================================================
--- trunk/dports/devel/liboil/files/configure.patch (rev 0)
+++ trunk/dports/devel/liboil/files/configure.patch 2007-07-26 09:52:25 UTC (rev 27264)
@@ -0,0 +1,29 @@
+--- configure~ 2007-07-26 05:10:09.000000000 -0400
++++ configure 2007-07-26 05:12:16.000000000 -0400
+@@ -15193,7 +15193,7 @@
+
+ SSE_CFLAGS="-msse"
+ if test "X$flag_ok" = Xyes ; then
+- HAVE_SSE_INTRINSICS=yes
++ HAVE_SSE_INTRINSICS=no
+ true
+ else
+ HAVE_SSE_INTRINSICS=no
+@@ -15253,7 +15253,7 @@
+
+ SSE2_CFLAGS="-msse2"
+ if test "X$flag_ok" = Xyes ; then
+- HAVE_SSE2_INTRINSICS=yes
++ HAVE_SSE2_INTRINSICS=no
+ true
+ else
+ HAVE_SSE2_INTRINSICS=no
+@@ -15313,7 +15313,7 @@
+
+ SSE3_CFLAGS="-msse3"
+ if test "X$flag_ok" = Xyes ; then
+- HAVE_SSE3_INTRINSICS=yes
++ HAVE_SSE3_INTRINSICS=no
+ true
+ else
+ HAVE_SSE3_INTRINSICS=no
Added: trunk/dports/devel/liboil/files/liboil_liboilcpu.c.patch
===================================================================
--- trunk/dports/devel/liboil/files/liboil_liboilcpu.c.patch (rev 0)
+++ trunk/dports/devel/liboil/files/liboil_liboilcpu.c.patch 2007-07-26 09:52:25 UTC (rev 27264)
@@ -0,0 +1,20 @@
+--- liboil/liboilcpu.c~ 2007-07-26 05:10:57.000000000 -0400
++++ liboil/liboilcpu.c 2007-07-26 05:12:47.000000000 -0400
+@@ -42,7 +42,7 @@
+ #include <sys/time.h>
+ #include <time.h>
+
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__APPLE__)
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
+@@ -578,7 +578,7 @@
+ static void
+ oil_cpu_detect_kernel_support (void)
+ {
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__APPLE__)
+ int ret, enabled;
+ size_t len;
+
Added: trunk/dports/devel/liboil/files/testsuite_stack_align.c.patch
===================================================================
--- trunk/dports/devel/liboil/files/testsuite_stack_align.c.patch (rev 0)
+++ trunk/dports/devel/liboil/files/testsuite_stack_align.c.patch 2007-07-26 09:52:25 UTC (rev 27264)
@@ -0,0 +1,12 @@
+--- testsuite/stack_align.c~ 2007-07-26 05:11:59.000000000 -0400
++++ testsuite/stack_align.c 2007-07-26 05:12:55.000000000 -0400
+@@ -235,7 +235,8 @@
+
+ void realign(int align)
+ {
+-#ifdef HAVE_GCC_ASM
++/* not sure about this test on osx, but the asm is clobbering things I guess? */
++#ifndef __APPLE__
+ #ifdef HAVE_I386
+ __asm__ __volatile__ (
+ " sub %%ebx, %%esp\n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070726/6630cf15/attachment.html
More information about the macports-changes
mailing list