summaryrefslogtreecommitdiff
path: root/multimedia/ogle/patches/patch-ab
blob: b8701fd9f2d9ba3ed6dfddaf2bda5f3dc0735275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$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*)