aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/plib
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-06-03 15:08:38 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-06-03 15:08:38 +0000
commited66a44c6dc3fd255024b799721b7df30b9e573c (patch)
tree1a0ccf1552a4deb1cd0cf92ebe10285d2918e251 /x11-toolkits/plib
parent32d9453566f619a00de54aa30d080db6d0fb09f1 (diff)
downloadports-ed66a44c6dc3fd255024b799721b7df30b9e573c.tar.gz
ports-ed66a44c6dc3fd255024b799721b7df30b9e573c.zip
Notes
Diffstat (limited to 'x11-toolkits/plib')
-rw-r--r--x11-toolkits/plib/Makefile1
-rw-r--r--x11-toolkits/plib/files/patch-src::js::jsBSD.cxx12
2 files changed, 6 insertions, 7 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index 050405694e18..c0675431dbd0 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= plib
PORTVERSION= 1.8.3
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://plib.sourceforge.net/dist/
diff --git a/x11-toolkits/plib/files/patch-src::js::jsBSD.cxx b/x11-toolkits/plib/files/patch-src::js::jsBSD.cxx
index 527687d00227..4109a6071094 100644
--- a/x11-toolkits/plib/files/patch-src::js::jsBSD.cxx
+++ b/x11-toolkits/plib/files/patch-src::js::jsBSD.cxx
@@ -1,5 +1,5 @@
---- ./src/js/jsBSD.cxx.orig Sat Mar 20 01:21:53 2004
-+++ ./src/js/jsBSD.cxx Sun May 2 16:53:28 2004
+--- src/js/jsBSD.cxx.orig Sat Mar 20 01:21:53 2004
++++ src/js/jsBSD.cxx Thu Jun 3 17:06:30 2004
@@ -44,7 +44,11 @@
#endif
@@ -13,19 +13,17 @@
#ifdef HAVE_USB_JS
#if defined(__NetBSD__)
#ifdef HAVE_USBHID_H
-@@ -53,9 +57,14 @@
- #include <usb.h>
+@@ -54,7 +58,12 @@
#endif
#elif defined(__FreeBSD__)
-+# if __FreeBSD_version < 500000
extern "C" {
-#include <libusbhid.h>
++# if __FreeBSD_version < 500000
+# include <libusbhid.h>
- }
+# else
+# define HAVE_USBHID_H 1
+# include <usbhid.h>
+# endif
+ }
#endif
#include <dev/usb/usb.h>
- #include <dev/usb/usbhid.h>