diff options
-rw-r--r-- | multimedia/ogle/Makefile | 4 | ||||
-rw-r--r-- | multimedia/ogle/distinfo | 4 | ||||
-rw-r--r-- | multimedia/ogle/patches/patch-aa | 18 | ||||
-rw-r--r-- | multimedia/ogle/patches/patch-ab | 30 |
4 files changed, 53 insertions, 3 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile index 01de1b75e02..81eaf30e8e2 100644 --- a/multimedia/ogle/Makefile +++ b/multimedia/ogle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/12/05 20:50:43 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2005/12/07 19:33:03 joerg Exp $ DISTNAME= ogle-0.9.2 PKGREVISION= 2 @@ -17,7 +17,7 @@ ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-alpha NetBSD-[2-9]*-alpha ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-sparc64 NetBSD-[2-9]*-sparc64 ONLY_FOR_PLATFORM+= NetBSD-*-x86_64 ONLY_FOR_PLATFORM+= Linux-*-* -ONLY_FOR_PLATFORM+= SunOS-*-* +ONLY_FOR_PLATFORM+= SunOS-*-* DragonFly-*-* USE_TOOLS+= gmake USE_LIBTOOL= yes diff --git a/multimedia/ogle/distinfo b/multimedia/ogle/distinfo index 813c1ee2b01..d69653c9891 100644 --- a/multimedia/ogle/distinfo +++ b/multimedia/ogle/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 11:24:04 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/07 19:33:03 joerg Exp $ SHA1 (ogle-0.9.2.tar.gz) = bf44e835d04634b4e52fb50bab2a1b78e69391eb RMD160 (ogle-0.9.2.tar.gz) = 16055614b5a3b336aa42a96efc0456bf88f37129 Size (ogle-0.9.2.tar.gz) = 488984 bytes +SHA1 (patch-aa) = e88f4c4765a72afe9e6a1bb859d37adb040c3d48 +SHA1 (patch-ab) = 8cc4f41533feeb35a4b9400aadea230c40f91c3d diff --git a/multimedia/ogle/patches/patch-aa b/multimedia/ogle/patches/patch-aa new file mode 100644 index 00000000000..4ea43674ab9 --- /dev/null +++ b/multimedia/ogle/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2005/12/07 19:33:03 joerg Exp $ + +--- include/ogle_endian.h.orig 2005-12-07 19:00:42.000000000 +0000 ++++ include/ogle_endian.h +@@ -42,11 +42,11 @@ + # include <sys/bswap.h> + # define FROM_BE_16(x) (bswap16(x)) + # define FROM_BE_32(x) (bswap32(x)) +-#elif defined(HAVE_SYS_ENDIAN_H) && !defined(__FreeBSD__) ++#elif defined(HAVE_SYS_ENDIAN_H) && !defined(__FreeBSD__) && !defined(__DragonFly__) + # include <sys/endian.h> + # define FROM_BE_16(x) (swap16(x)) + # define FROM_BE_32(x) (swap32(x)) +-#elif defined(HAVE_SYS_ENDIAN_H) && defined(__FreeBSD__) && __FreeBSD_version >= 470000 ++#elif defined(HAVE_SYS_ENDIAN_H) && ((defined(__FreeBSD__) && __FreeBSD_version >= 470000) || defined(__DragonFly__)) + # include <sys/endian.h> + # define FROM_BE_16(x) (be16toh(x)) + # define FROM_BE_32(x) (be32toh(x)) diff --git a/multimedia/ogle/patches/patch-ab b/multimedia/ogle/patches/patch-ab new file mode 100644 index 00000000000..b6f27402217 --- /dev/null +++ b/multimedia/ogle/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1 2005/12/07 19:33:03 joerg Exp $ + +--- configure.orig 2005-12-07 19:04:43.000000000 +0000 ++++ configure +@@ -7850,6 +7850,7 @@ else + cat conftest.$ac_ext >&5 + ac_cv_always_inline=no + fi ++case ${host_os} in dragonfly*) ac_cv_always_inline=no;; esac + rm -f conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + echo "$as_me:$LINENO: result: $ac_cv_always_inline" >&5 +@@ -12864,7 +12865,7 @@ if test "${enable_oss+set}" = set; then + fi; + if test "x$enable_oss" != xno; then + case "$host" in +- *-linux*|*-openbsd*|*-freebsd*|*-bsdi*) ++ *-linux*|*-openbsd*|*-freebsd*|*-bsdi*|*-dragonfly*) + + + cat >>confdefs.h <<\_ACEOF +@@ -13764,7 +13765,7 @@ solaris*) + linux*) + DEFAULT_DVD_DEVICE="/dev/dvd" + ;; +-freebsd*) ++freebsd* | dragonfly*) + DEFAULT_DVD_DEVICE="/dev/acd0c" + ;; + netbsd*) |