pkgsrc/multimedia/ogle/patches/patch-ab
he 3d7db94440 Primary object is to make this build with libdvdread 4.2.0 (patch-ad)
Additionally:
 * Mark it as also working with libdvdread 4.1.3
 * Add comments to the patches
 * Add LICENSE=gnu-gpl-v2
This fixes all pkglint warnings.
OK'ed by wiz@
2012-04-07 08:28:45 +00:00

32 lines
860 B
Text

$NetBSD: patch-ab,v 1.2 2012/04/07 08:28:45 he Exp $
Also handle DragonFly BSD.
--- 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*)