diff options
author | steve <steve@FreeBSD.org> | 2000-12-11 10:25:33 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-12-11 10:25:33 +0800 |
commit | 7d8585daeb8bcd5d2e8b38130e359794b2a12c38 (patch) | |
tree | 26694fc7d03faaf19521fa2b470bf4dff0f1eef7 /multimedia | |
parent | 48c33950af6f0ede49d79069f6d26359269f9111 (diff) | |
download | freebsd-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 'multimedia')
-rw-r--r-- | multimedia/fxtv/files/patch-ad | 20 |
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" |