summaryrefslogtreecommitdiff
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-11 02:25:33 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-11 02:25:33 +0000
commita72737d2f32185a85ace436e62dbcc21ccf3bcaa (patch)
tree247950fa395d5b12f86ae0f68d92a284cf5c5eec /multimedia/fxtv
parentAdd USE_BISON. (diff)
Fix compilation on newer versions of -current.
PR: 23100
Notes
Notes: svn path=/head/; revision=35846
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/files/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-ad b/multimedia/fxtv/files/patch-ad
new file mode 100644
index 000000000000..35007908089c
--- /dev/null
+++ b/multimedia/fxtv/files/patch-ad
@@ -0,0 +1,20 @@
+--- remote.c.orig Sun Dec 10 14:02:55 2000
++++ remote.c Sun Dec 10 14:06:22 2000
+@@ -45,7 +45,16 @@
+ #include <sys/time.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+-#include <machine/mouse.h>
++#ifdef __FreeBSD__
++# include <sys/param.h>
++# if __FreeBSD_version >= 500013
++# include <sys/mouse.h>
++# else
++# include <machine/mouse.h>
++# endif
++#else
++# include <machine/mouse.h>
++#endif
+ #include <X11/Intrinsic.h>
+ #include "tvdebug.h"
+ #include "tvutil.h"