summaryrefslogtreecommitdiff
path: root/misc/urjtag
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-01-02 13:01:44 +0000
committerobache <obache@pkgsrc.org>2011-01-02 13:01:44 +0000
commit81473927a5b095cd4d5978c4d8d520318854a6ca (patch)
tree0ccf4e9d265fefa99776f70ab06622af4e5364eb /misc/urjtag
parent335c0415180a26e5eb1a0706008d257a432830e4 (diff)
downloadpkgsrc-81473927a5b095cd4d5978c4d8d520318854a6ca.tar.gz
Fixes build on DragonFly-i386.
Diffstat (limited to 'misc/urjtag')
-rw-r--r--misc/urjtag/distinfo3
-rw-r--r--misc/urjtag/patches/patch-ah24
2 files changed, 26 insertions, 1 deletions
diff --git a/misc/urjtag/distinfo b/misc/urjtag/distinfo
index c7e212eecbc..d3c03e8426b 100644
--- a/misc/urjtag/distinfo
+++ b/misc/urjtag/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2010/08/09 19:37:45 drochner Exp $
+$NetBSD: distinfo,v 1.5 2011/01/02 13:01:44 obache Exp $
SHA1 (urjtag-0.10.tar.gz) = 1e21f07d758e9e151d932e95c0b3b11fd178eace
RMD160 (urjtag-0.10.tar.gz) = d22dcaf8447e594f5fbb25836df141e2a451760a
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 3dcf6a0297b339db1b52a8d9cb6fe907e589b07b
SHA1 (patch-ae) = 553df429f2c8369536a0c0b8a788688d73568dd8
SHA1 (patch-af) = 971c0548ee1aeb49017b490cdd40dd2e4d865b47
SHA1 (patch-ag) = d13c2160788293a7e6b64ab1cc8ed506d399ef8b
+SHA1 (patch-ah) = 87a83c91856d044b3c1f056d025545a2dd27e71a
diff --git a/misc/urjtag/patches/patch-ah b/misc/urjtag/patches/patch-ah
new file mode 100644
index 00000000000..77bf33297ef
--- /dev/null
+++ b/misc/urjtag/patches/patch-ah
@@ -0,0 +1,24 @@
+$NetBSD: patch-ah,v 1.1 2011/01/02 13:01:45 obache Exp $
+
+* DragonFly have same i386_* as FreeBSD.
+
+--- src/tap/parport/direct.c.orig 2009-04-17 20:24:10.000000000 +0000
++++ src/tap/parport/direct.c
+@@ -60,7 +60,7 @@ outfuncPtr Out32;
+ static __inline int
+ ioperm( unsigned long from, unsigned long num, int permit )
+ {
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ if (i386_set_ioperm( from, num, permit ) == -1)
+ return -1;
+ #else
+@@ -85,7 +85,7 @@ ioperm( unsigned long from, unsigned lon
+ static __inline int
+ iopl( int level )
+ {
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+ return i386_iopl( level );
+ #endif
+ return 0;