aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fxtv
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-12-11 10:25:33 +0800
committersteve <steve@FreeBSD.org>2000-12-11 10:25:33 +0800
commit7d8585daeb8bcd5d2e8b38130e359794b2a12c38 (patch)
tree26694fc7d03faaf19521fa2b470bf4dff0f1eef7 /graphics/fxtv
parent48c33950af6f0ede49d79069f6d26359269f9111 (diff)
downloadfreebsd-ports-gnome-7d8585daeb8bcd5d2e8b38130e359794b2a12c38.tar.gz
freebsd-ports-gnome-7d8585daeb8bcd5d2e8b38130e359794b2a12c38.tar.zst
freebsd-ports-gnome-7d8585daeb8bcd5d2e8b38130e359794b2a12c38.zip
Fix compilation on newer versions of -current.
PR: 23100
Diffstat (limited to 'graphics/fxtv')
-rw-r--r--graphics/fxtv/files/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/fxtv/files/patch-ad b/graphics/fxtv/files/patch-ad
new file mode 100644
index 000000000000..35007908089c
--- /dev/null
+++ b/graphics/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"