diff options
Diffstat (limited to 'multimedia/ogle-gui/files')
-rw-r--r-- | multimedia/ogle-gui/files/patch-Makefile.am | 10 | ||||
-rw-r--r-- | multimedia/ogle-gui/files/patch-configure.in | 25 | ||||
-rw-r--r-- | multimedia/ogle-gui/files/patch-src::callbacks.c | 13 | ||||
-rw-r--r-- | multimedia/ogle-gui/files/patch-src::xsniffer.c | 37 |
4 files changed, 85 insertions, 0 deletions
diff --git a/multimedia/ogle-gui/files/patch-Makefile.am b/multimedia/ogle-gui/files/patch-Makefile.am new file mode 100644 index 000000000000..ad90adf3b110 --- /dev/null +++ b/multimedia/ogle-gui/files/patch-Makefile.am @@ -0,0 +1,10 @@ +--- Makefile.am.orig Mon Oct 22 16:42:37 2001 ++++ Makefile.am Mon Oct 22 16:42:40 2001 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-SUBDIRS = intl po macros src doc ++SUBDIRS = intl po src + + install-data-local: + @$(NORMAL_INSTALL) diff --git a/multimedia/ogle-gui/files/patch-configure.in b/multimedia/ogle-gui/files/patch-configure.in new file mode 100644 index 000000000000..205687967d8d --- /dev/null +++ b/multimedia/ogle-gui/files/patch-configure.in @@ -0,0 +1,25 @@ +--- configure.in.orig Tue Sep 18 22:31:48 2001 ++++ configure.in Thu Oct 25 14:19:39 2001 +@@ -19,6 +19,9 @@ + GNOME_COMPILE_WARNINGS + GNOME_X_CHECKS + ++dnl Checks for header files. ++AC_CHECK_HEADERS(sys/param.h) ++ + dnl Add the languages which your application supports here. + ALL_LINGUAS="" + AM_GNU_GETTEXT +@@ -86,6 +89,12 @@ + ;; + linux*) + AC_DEFINE(LINUX, 1, [This is a Linux system]) ++ ;; ++ freebsd*) ++ AC_DEFINE(FREEBSD, 1, [This is a FreeBSD system]) ++ ;; ++ netbsd*|openbsd*) ++ AC_DEFINE(BSDfamily, 1, [This is a BSD system]) + ;; + *) + epa diff --git a/multimedia/ogle-gui/files/patch-src::callbacks.c b/multimedia/ogle-gui/files/patch-src::callbacks.c new file mode 100644 index 000000000000..7f8c947bad78 --- /dev/null +++ b/multimedia/ogle-gui/files/patch-src::callbacks.c @@ -0,0 +1,13 @@ +--- src/callbacks.c.orig Mon Sep 17 23:20:48 2001 ++++ src/callbacks.c Mon Oct 22 15:45:26 2001 +@@ -124,6 +124,10 @@ + #else + #ifdef SOLARIS + char *dev="/cdrom/cdrom0"; ++#elif FREEBSD ++ char *dev="/dev/acd0c"; ++#elif BSDfamily ++ char *dev="/dev/racd0c"; + #else + #error "No default path." + #endif diff --git a/multimedia/ogle-gui/files/patch-src::xsniffer.c b/multimedia/ogle-gui/files/patch-src::xsniffer.c new file mode 100644 index 000000000000..ced8dfcc2cff --- /dev/null +++ b/multimedia/ogle-gui/files/patch-src::xsniffer.c @@ -0,0 +1,37 @@ +--- src/xsniffer.c.orig Thu Sep 6 14:10:17 2001 ++++ src/xsniffer.c Thu Oct 25 18:22:04 2001 +@@ -16,6 +16,10 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#ifdef HAVE_CONFIG_H ++# include <config.h> ++#endif ++ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -35,6 +39,9 @@ + #include "xsniffer.h" + #include "callbacks.h" + ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif + + extern int msgqid; + +@@ -66,7 +73,12 @@ + + fprintf(stderr, "xsniff_mouse\n"); + while(1) { +- DVDNextEvent(nav2, &mev); ++#if (defined(BSD) && (BSD >= 199306)) ++ if (DVDNextEventNonBlocking(nav2, &mev) != DVD_E_Ok) ++#else ++ if (DVDNextEvent(nav2, &mev) != DVD_E_Ok) ++#endif ++ pthread_exit(NULL); + + switch(mev.type) { + |