diff options
author | steve <steve@FreeBSD.org> | 2000-12-11 02:25:33 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-12-11 02:25:33 +0000 |
commit | 7d8585daeb8bcd5d2e8b38130e359794b2a12c38 (patch) | |
tree | 26694fc7d03faaf19521fa2b470bf4dff0f1eef7 /multimedia | |
parent | 48c33950af6f0ede49d79069f6d26359269f9111 (diff) | |
download | FreeBSD-ports-7d8585daeb8bcd5d2e8b38130e359794b2a12c38.zip FreeBSD-ports-7d8585daeb8bcd5d2e8b38130e359794b2a12c38.tar.gz |
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 0000000..3500790 --- /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" |