summaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-22 21:02:17 +0000
committerwiz <wiz@pkgsrc.org>2009-03-22 21:02:17 +0000
commit3c1a4c919f55a7ef6c7b349aa660a59dcece070d (patch)
tree5ed51107fc39972292cdd6ddec18d0c35e7f9d86 /devel/liboil
parent8fba500bace71011e136e6986639f08647257e4b (diff)
downloadpkgsrc-3c1a4c919f55a7ef6c7b349aa660a59dcece070d.tar.gz
Update to 0.3.16:
Version bump if's need else's. Fix previous commit Wrap force_align_arg_pointer in HAVE_I386 Add AltiVec detection support for OpenBSD Fix double free on failed arm_init Add SSE detection support for OpenBSD init: shortcut benchmarking, if there is only one runable implementation. Add x86_64/amd64 to unaligned access whitelist Add cris to unaligned access whitelist remove ltdl.m4 Clean up function prototypes used for casting bump version Remove ' DATA' from symbol list Add srcdir to includes for out-of-source builds Fix cpu detection on OS/X Add avg2_32xn_u8
Diffstat (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile5
-rw-r--r--devel/liboil/distinfo10
-rw-r--r--devel/liboil/patches/patch-ad30
3 files changed, 22 insertions, 23 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 3db7f2ffa8a..e91803e9956 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2009/02/21 14:39:03 he Exp $
+# $NetBSD: Makefile,v 1.21 2009/03/22 21:02:17 wiz Exp $
#
-DISTNAME= liboil-0.3.15
-PKGREVISION= 1
+DISTNAME= liboil-0.3.16
CATEGORIES= devel
MASTER_SITES= http://liboil.freedesktop.org/download/
diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo
index 81c4fb3e2c6..14795adcf3a 100644
--- a/devel/liboil/distinfo
+++ b/devel/liboil/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2009/02/21 14:39:03 he Exp $
+$NetBSD: distinfo,v 1.17 2009/03/22 21:02:17 wiz Exp $
-SHA1 (liboil-0.3.15.tar.gz) = 8791e3399aae619b89a1d00f40ffcafc7d7f5d9b
-RMD160 (liboil-0.3.15.tar.gz) = ba6a4889dd8c16f62dee5c238e019b42066e6a9b
-Size (liboil-0.3.15.tar.gz) = 822195 bytes
+SHA1 (liboil-0.3.16.tar.gz) = 0d6530ccb22d805c5209a185a94b575111ec34f3
+RMD160 (liboil-0.3.16.tar.gz) = 5add00151e24ee8cc5a8dfb40223936a576cbffd
+Size (liboil-0.3.16.tar.gz) = 855765 bytes
SHA1 (patch-aa) = 363219c8afee30ac07f73278f127de01d6a5b689
SHA1 (patch-ab) = 13ff4bef610a28174a2a41b74029f24f04fd598f
SHA1 (patch-ac) = 4559e8b635099d96df59bcc5525eb3c0322720ba
-SHA1 (patch-ad) = 25fdf7e3b007325c33b6b4be4bd58f543d6be514
+SHA1 (patch-ad) = 2ed2e23de780aad575b2614afa7af48e9e4ca571
diff --git a/devel/liboil/patches/patch-ad b/devel/liboil/patches/patch-ad
index ba075769a97..338c1132ebe 100644
--- a/devel/liboil/patches/patch-ad
+++ b/devel/liboil/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.4 2009/02/21 14:39:03 he Exp $
+$NetBSD: patch-ad,v 1.5 2009/03/22 21:02:17 wiz Exp $
Provide proper detection of altivec on NetBSD/powerpc ports.
---- liboil/liboilcpu-powerpc.c.orig 2008-06-30 19:57:33.000000000 +0000
+--- liboil/liboilcpu-powerpc.c.orig 2009-02-26 19:50:42.000000000 +0000
+++ liboil/liboilcpu-powerpc.c
@@ -59,6 +59,12 @@
#include <sys/sysctl.h>
@@ -14,19 +14,19 @@ Provide proper detection of altivec on NetBSD/powerpc ports.
+#include <sys/sysctl.h>
+#endif
+
-
- /***** powerpc *****/
-
-@@ -70,7 +76,7 @@ oil_profile_stamp_tb(void)
+ #if defined(__OpenBSD__)
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+@@ -75,7 +81,7 @@ oil_profile_stamp_tb(void)
return ts;
}
--#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__APPLE__) && !defined(__linux__)
-+#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__)
+-#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__)
++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__)
static void
test_altivec (void * ignored)
{
-@@ -78,6 +84,21 @@ test_altivec (void * ignored)
+@@ -83,6 +89,21 @@ test_altivec (void * ignored)
}
#endif
@@ -48,21 +48,21 @@ Provide proper detection of altivec on NetBSD/powerpc ports.
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
static void
oil_check_altivec_sysctl_freebsd (void)
-@@ -158,7 +179,7 @@ out:
+@@ -181,7 +202,7 @@ out:
}
#endif
--#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__APPLE__) && !defined(__linux__)
-+#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__)
+-#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__)
++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__)
static void
oil_check_altivec_fault (void)
{
-@@ -176,6 +197,8 @@ oil_cpu_detect_arch(void)
+@@ -199,6 +220,8 @@ oil_cpu_detect_arch(void)
{
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
oil_check_altivec_sysctl_freebsd();
+#elif defined(__NetBSD__)
+ oil_check_altivec_sysctl_netbsd();
+ #elif defined(__OpenBSD__)
+ oil_check_altivec_sysctl_openbsd();
#elif defined(__APPLE__)
- oil_check_altivec_sysctl_darwin();
- #elif defined(__linux__)