diff options
author | tsutsui <tsutsui@pkgsrc.org> | 2013-01-29 15:02:24 +0000 |
---|---|---|
committer | tsutsui <tsutsui@pkgsrc.org> | 2013-01-29 15:02:24 +0000 |
commit | 9381fc6986623bd0705240d949022a9eb43fe156 (patch) | |
tree | ff1ace61c1e467141384afbfce2d40688847f1b8 /audio | |
parent | ff625e407b677209872e857f9f140bca4556d10e (diff) | |
download | pkgsrc-9381fc6986623bd0705240d949022a9eb43fe156.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-configure | 27 |
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 |