summaryrefslogtreecommitdiff
path: root/audio/flac/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-07-06 12:39:10 +0000
committermarkd <markd@pkgsrc.org>2006-07-06 12:39:10 +0000
commit2ffddf9626236fe857f91cf85c19fd2a3ad7bfbc (patch)
tree0119099ee6dc245d80eb571718e14bdf5e6b012e /audio/flac/patches
parenteba2f48abd24e9f8e9732a060b4bba2dee721447 (diff)
downloadpkgsrc-2ffddf9626236fe857f91cf85c19fd2a3ad7bfbc.tar.gz
Fix build when using sunpro compiler. "-KPIC" needs to be stripped out
of arguments to the assembler.
Diffstat (limited to 'audio/flac/patches')
-rw-r--r--audio/flac/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/flac/patches/patch-af b/audio/flac/patches/patch-af
new file mode 100644
index 00000000000..3e957e20df7
--- /dev/null
+++ b/audio/flac/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2006/07/06 12:39:10 markd Exp $
+
+--- strip_non_asm_libtool_args.sh.orig 2004-07-29 18:52:52.000000000 +1200
++++ strip_non_asm_libtool_args.sh
+@@ -6,7 +6,7 @@
+ # to 'as' which causes problems.
+ command=""
+ while [ $1 ]; do
+- if [ "$1" != "-fPIC" ]; then
++ if [ "$1" != "-fPIC" -a "$1" != "-KPIC" ]; then
+ if [ "$1" != "-DPIC" ]; then
+ if [ "$1" != "-fno-common" ]; then
+ command="$command $1"