From ae5f9162a151c946f7fa6b9930c19f37231f96fb Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Apr 2007 17:53:41 +0000 Subject: Fix build on DragonFly. --- devel/liboil/distinfo | 3 ++- devel/liboil/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/liboil/patches/patch-aa (limited to 'devel/liboil') diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo index a1beda3bcf8..fa688bb007f 100644 --- a/devel/liboil/distinfo +++ b/devel/liboil/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2007/04/10 16:09:42 drochner Exp $ +$NetBSD: distinfo,v 1.6 2007/04/12 17:53:41 joerg Exp $ SHA1 (liboil-0.3.11.tar.gz) = 1c1a9952d81c1c89f73e5ed16e4665d2d7d59f7f RMD160 (liboil-0.3.11.tar.gz) = 4edf5dad57fa920f44ba10ca4d8e406abce30971 Size (liboil-0.3.11.tar.gz) = 881159 bytes +SHA1 (patch-aa) = 9f6478ae4008ed9881e6dcf99beb4b49db04c9e5 diff --git a/devel/liboil/patches/patch-aa b/devel/liboil/patches/patch-aa new file mode 100644 index 00000000000..6b49e169249 --- /dev/null +++ b/devel/liboil/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.5 2007/04/12 17:53:41 joerg Exp $ + +--- liboil/liboilcpu.c.orig 2007-04-12 17:34:43.000000000 +0000 ++++ liboil/liboilcpu.c +@@ -574,7 +574,7 @@ oil_cpu_detect_getisax (void) + static void + oil_cpu_detect_kernel_support (void) + { +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + int ret, enabled; + size_t len; + -- cgit v1.2.3