diff options
-rw-r--r-- | graphics/fxtv/files/patch-ad | 20 | ||||
-rw-r--r-- | multimedia/fxtv/files/patch-ad | 20 |
2 files changed, 40 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" 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" |