aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-28 20:42:56 +0800
committerknu <knu@FreeBSD.org>2002-11-28 20:42:56 +0800
commit88ac656b2a8a2ddf40663e78503727d410a8d405 (patch)
treee81117055ec7d6f766e956198922f70aaaf119fe /x11-toolkits
parent8da8841664f8f6cfa4e912ea88aed17fabaa183d (diff)
downloadfreebsd-ports-gnome-88ac656b2a8a2ddf40663e78503727d410a8d405.tar.gz
freebsd-ports-gnome-88ac656b2a8a2ddf40663e78503727d410a8d405.tar.zst
freebsd-ports-gnome-88ac656b2a8a2ddf40663e78503727d410a8d405.zip
Replace <machine/joystick.h> with <sys/joystick.h> to fix the build.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/plib/files/patch-src::js::js.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/plib/files/patch-src::js::js.h b/x11-toolkits/plib/files/patch-src::js::js.h
index 5f02d7d5072a..c8d27db87f5f 100644
--- a/x11-toolkits/plib/files/patch-src::js::js.h
+++ b/x11-toolkits/plib/files/patch-src::js::js.h
@@ -1,5 +1,14 @@
--- src/js/js.h.orig Mon Sep 2 15:05:43 2002
-+++ src/js/js.h Wed Sep 4 04:44:26 2002
++++ src/js/js.h Thu Nov 28 21:43:15 2002
+@@ -63,7 +63,7 @@
+ # include <fcntl.h>
+
+ # if defined(__FreeBSD__) || defined(__NetBSD__)
+-# include <machine/joystick.h>
++# include <sys/joystick.h>
+ # define JS_DATA_TYPE joystick
+ # define JS_RETURN (sizeof(struct JS_DATA_TYPE))
+ # elif defined(__linux__)
@@ -132,9 +132,9 @@