summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortsutsui <tsutsui>2013-01-29 15:02:24 +0000
committertsutsui <tsutsui>2013-01-29 15:02:24 +0000
commit545b1b2dce1da4816fa1d024ec26384dba9d5e25 (patch)
treeff1ace61c1e467141384afbfce2d40688847f1b8 /audio
parent5b051f013b93fcfff6ec06e0069fe84404d052fc (diff)
downloadpkgsrc-545b1b2dce1da4816fa1d024ec26384dba9d5e25.tar.gz
Always use atomic_ops(3) on NetBSD even on arm, i.e. kill Linux-ARM'ism.
Fixes configure failure on NetBSD/arm 6.0. Also add patch comment.
Diffstat (limited to 'audio')
-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