summaryrefslogtreecommitdiff
path: root/x11/xf86-video-chips
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-19 07:09:51 +0000
committerobache <obache@pkgsrc.org>2013-05-19 07:09:51 +0000
commit26f6a9096557e9ce4b470bf6536258b47e2014ff (patch)
treeb25ed58f5da937f0fae477839e1e94f41cd07f25 /x11/xf86-video-chips
parent49e2ce4d829d202ceeaadf546bb8c6a060bf8d14 (diff)
downloadpkgsrc-26f6a9096557e9ce4b470bf6536258b47e2014ff.tar.gz
Use the really used header file in utils to check existence of inb() for utils.
fixes PR pkg/47820
Diffstat (limited to 'x11/xf86-video-chips')
-rw-r--r--x11/xf86-video-chips/distinfo3
-rw-r--r--x11/xf86-video-chips/patches/patch-configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/xf86-video-chips/distinfo b/x11/xf86-video-chips/distinfo
index e04b3b892b3..60609bab1ba 100644
--- a/x11/xf86-video-chips/distinfo
+++ b/x11/xf86-video-chips/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2013/05/16 06:05:19 richard Exp $
+$NetBSD: distinfo,v 1.6 2013/05/19 07:09:51 obache Exp $
SHA1 (xf86-video-chips-1.2.5.tar.bz2) = 5642e1d1bf3a05d24a0b8db48ca3b522c1962b00
RMD160 (xf86-video-chips-1.2.5.tar.bz2) = 11a23a67a96db8e40465b262853084495ef8a7b5
Size (xf86-video-chips-1.2.5.tar.bz2) = 398804 bytes
+SHA1 (patch-configure) = 90201f2e21de2a82e56918a30beee654df641cc0
SHA1 (patch-util_Makefile.am) = 450f13ea360f0631db3ee8f7bedc76e4b70efbab
diff --git a/x11/xf86-video-chips/patches/patch-configure b/x11/xf86-video-chips/patches/patch-configure
new file mode 100644
index 00000000000..6d99629c500
--- /dev/null
+++ b/x11/xf86-video-chips/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2013/05/19 07:09:51 obache Exp $
+
+* use the header file really used in util.
+
+--- configure.orig 2013-05-19 04:32:55.000000000 +0000
++++ configure
+@@ -18182,7 +18182,7 @@ $as_echo_n "checking for inb... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+-#include "util/AsmMacros.h"
++#include "util/iopl.h"
+
+ int main() {
+ int x = inb(0);