summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-03-31 15:50:36 +0000
committerjoerg <joerg@pkgsrc.org>2015-03-31 15:50:36 +0000
commit0fbfcd4102d0c9eaf70bc36c05ba950dba0ef56c (patch)
treecf74da4c0a80428051e00d5fb3032e2409445a76 /misc
parent6ffeae301588ab04c2b761e0b5391a7a4c18363c (diff)
downloadpkgsrc-0fbfcd4102d0c9eaf70bc36c05ba950dba0ef56c.tar.gz
in/out and variants are x86 assembler instructions, use them only on
x86.
Diffstat (limited to 'misc')
-rw-r--r--misc/chipmunk/distinfo4
-rw-r--r--misc/chipmunk/patches/patch-ab7
2 files changed, 6 insertions, 5 deletions
diff --git a/misc/chipmunk/distinfo b/misc/chipmunk/distinfo
index 6aa29842825..485b610ae77 100644
--- a/misc/chipmunk/distinfo
+++ b/misc/chipmunk/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2015/01/04 09:06:17 dholland Exp $
+$NetBSD: distinfo,v 1.6 2015/03/31 15:50:36 joerg Exp $
SHA1 (chipmunk-1.4.tar.gz) = a59c58427a27118497d39778ab7ca6daa371e868
RMD160 (chipmunk-1.4.tar.gz) = e567a702214d534777ae44fa01b2fc88582abfce
Size (chipmunk-1.4.tar.gz) = 62181 bytes
SHA1 (patch-aa) = 6f883506ef85335ff896d662a4dae7ec7f299889
-SHA1 (patch-ab) = c1d27276f222bc3263c391f3a7cea47471e25ebb
+SHA1 (patch-ab) = 4d7509547b0901291fd2083f5af840dfef6ee2eb
diff --git a/misc/chipmunk/patches/patch-ab b/misc/chipmunk/patches/patch-ab
index b512291fb9e..d8968ce7707 100644
--- a/misc/chipmunk/patches/patch-ab
+++ b/misc/chipmunk/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2015/01/04 09:06:17 dholland Exp $
+$NetBSD: patch-ab,v 1.4 2015/03/31 15:50:36 joerg Exp $
--- config.h.orig Thu Mar 23 10:38:56 1995
+++ config.h
-@@ -108,6 +108,31 @@
+@@ -108,6 +108,32 @@
# define USE_TESTS
#endif
@@ -19,10 +19,11 @@ $NetBSD: patch-ab,v 1.3 2015/01/04 09:06:17 dholland Exp $
+# define USE_MEMTEST
+# define USE_TESTS
+# define USE_SIGNAL_H
-+# define IN_OUT_INSTRUCTIONS
+#if defined(__x86_64__)
++# define IN_OUT_INSTRUCTIONS
+# define my_ioperm(x,y,z) x86_64_iopl(1)
+#elif defined(__i386__)
++# define IN_OUT_INSTRUCTIONS
+# define my_ioperm(x,y,z) i386_iopl(1)
+#else
+# define my_ioperm(x,y,z) 0