summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pulseaudio/patches/patch-configure')
-rw-r--r--audio/pulseaudio/patches/patch-configure27
1 files changed, 23 insertions, 4 deletions
diff --git a/audio/pulseaudio/patches/patch-configure b/audio/pulseaudio/patches/patch-configure
index 15bbb81cc86..996b1987e9e 100644
--- a/audio/pulseaudio/patches/patch-configure
+++ b/audio/pulseaudio/patches/patch-configure
@@ -1,16 +1,35 @@
-$NetBSD: patch-configure,v 1.1 2012/11/03 01:54:55 ryoon Exp $
+$NetBSD: patch-configure,v 1.2 2013/01/29 15:02:24 tsutsui Exp $
+
+- use ${EGDIR} for config file
+- always use atomic_ops(3) on NetBSD, even on arm
+- kill test(1) bash'ism
--- configure.orig 2012-07-19 11:30:11.000000000 +0000
+++ configure
-@@ -8062,7 +8062,7 @@ $as_echo "#define ATOMIC_ARM_INLINE_ASM
+@@ -7995,6 +7995,11 @@ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture for native atomic operations" >&5
+ $as_echo_n "checking architecture for native atomic operations... " >&6; }
+ case $host in
++ *-netbsd*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ need_libatomic_ops=no
++ ;;
+ arm*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
+ $as_echo "arm" >&6; }
+@@ -8062,11 +8067,6 @@ $as_echo "#define ATOMIC_ARM_INLINE_ASM
fi
fi
;;
- *-netbsdelf5*)
-+ *-netbsd*)
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+- need_libatomic_ops=no
+- ;;
+ *-freebsd*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- need_libatomic_ops=no
@@ -19748,7 +19748,7 @@ _ACEOF
fi