summaryrefslogtreecommitdiff
path: root/graphics/phpsview
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-22 18:18:38 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-22 18:18:38 +0000
commit0caca718a4a42ae8969dc046c5289ba39584aa79 (patch)
tree148ebc1afdce0a89ee47cc2206b581158251282c /graphics/phpsview
parentdff6c989f8a2e921d173a25a8b49b0db59a26dda (diff)
downloadpkgsrc-0caca718a4a42ae8969dc046c5289ba39584aa79.tar.gz
Add DragonFly support.
Diffstat (limited to 'graphics/phpsview')
-rw-r--r--graphics/phpsview/distinfo7
-rw-r--r--graphics/phpsview/patches/patch-aa16
-rw-r--r--graphics/phpsview/patches/patch-ab16
-rw-r--r--graphics/phpsview/patches/patch-ac16
-rw-r--r--graphics/phpsview/patches/patch-ad16
-rw-r--r--graphics/phpsview/patches/patch-ae16
6 files changed, 86 insertions, 1 deletions
diff --git a/graphics/phpsview/distinfo b/graphics/phpsview/distinfo
index 11b671a6cd2..47fe9b78b05 100644
--- a/graphics/phpsview/distinfo
+++ b/graphics/phpsview/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/10/16 12:47:24 jdolecek Exp $
+$NetBSD: distinfo,v 1.5 2006/04/22 18:18:38 joerg Exp $
SHA1 (pwc-9.0.2.tar.gz) = 6d5b3e66bdc70c3e22b318da7c69242af5b9605b
RMD160 (pwc-9.0.2.tar.gz) = 359b6d117e0eb3dd2582f1d399325cc65a2f7a8e
@@ -6,3 +6,8 @@ Size (pwc-9.0.2.tar.gz) = 230499 bytes
SHA1 (pwc-9.0.2-bsd-0.03.patch.gz) = 83b22d2794d9244eccec92a553077d07057af979
RMD160 (pwc-9.0.2-bsd-0.03.patch.gz) = 188a5b03626fcd348b768ec3ec3063bb912fd66b
Size (pwc-9.0.2-bsd-0.03.patch.gz) = 19679 bytes
+SHA1 (patch-aa) = 58a41ec62139e11d96af8602a7b0699a3fb57163
+SHA1 (patch-ab) = c10923feff357485dda1c112a6403d5edd3deccb
+SHA1 (patch-ac) = 56ef232c406aabdc3fc34e81925e2370410a94ad
+SHA1 (patch-ad) = 3683b01e56340ab2d0f79505171235a90434a15b
+SHA1 (patch-ae) = c68639358801340fcceaaf2b5d2167913c30993b
diff --git a/graphics/phpsview/patches/patch-aa b/graphics/phpsview/patches/patch-aa
new file mode 100644
index 00000000000..4847e2420ec
--- /dev/null
+++ b/graphics/phpsview/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/linux_usbif.c.orig 2006-04-22 18:10:49.000000000 +0000
++++ 2.4/linux_usbif.c
+@@ -27,7 +27,11 @@
+
+ #include <ctype.h>
+ #include <sys/ioctl.h>
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #include "linux_usbif.h"
+
diff --git a/graphics/phpsview/patches/patch-ab b/graphics/phpsview/patches/patch-ab
new file mode 100644
index 00000000000..d0726dd11ed
--- /dev/null
+++ b/graphics/phpsview/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/linux_usbif.h.orig 2006-04-22 18:11:24.000000000 +0000
++++ 2.4/linux_usbif.h
+@@ -11,7 +11,11 @@
+ #include <string.h>
+ #include <err.h>
+
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #define USB_DIR_OUT UT_WRITE
+ #define USB_DIR_IN UT_READ
diff --git a/graphics/phpsview/patches/patch-ac b/graphics/phpsview/patches/patch-ac
new file mode 100644
index 00000000000..c0df4733d71
--- /dev/null
+++ b/graphics/phpsview/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/phpsshot.c.orig 2006-04-22 18:11:36.000000000 +0000
++++ 2.4/phpsshot.c
+@@ -32,7 +32,11 @@
+ #include <string.h>
+ #include <err.h>
+
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #include "linux_usbif.h"
+ #include "pwc.h"
diff --git a/graphics/phpsview/patches/patch-ad b/graphics/phpsview/patches/patch-ad
new file mode 100644
index 00000000000..a31f2db7230
--- /dev/null
+++ b/graphics/phpsview/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/phpsview.c.orig 2006-04-22 18:11:58.000000000 +0000
++++ 2.4/phpsview.c
+@@ -37,7 +37,11 @@
+ #include <string.h>
+ #include <err.h>
+
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #include <gtk/gtk.h>
+ #include <gdk_imlib.h>
diff --git a/graphics/phpsview/patches/patch-ae b/graphics/phpsview/patches/patch-ae
new file mode 100644
index 00000000000..0d33a5a02fa
--- /dev/null
+++ b/graphics/phpsview/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/pwc-if.c.orig 2006-04-22 18:12:11.000000000 +0000
++++ 2.4/pwc-if.c
+@@ -56,7 +56,11 @@
+ #include <ctype.h>
+ #include <sys/ioctl.h>
+
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+ #include "linux_usbif.h"
+
+ #include "pwc.h"