pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/flac Fix build when using sunpro compiler. "-KP...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6bac0cb0b2a
branches:  trunk
changeset: 515666:b6bac0cb0b2a
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jul 06 12:39:10 2006 +0000

description:
Fix build when using sunpro compiler.  "-KPIC" needs to be stripped out
of arguments to the assembler.

diffstat:

 audio/flac/distinfo         |   3 ++-
 audio/flac/patches/patch-af |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r a9fdc88d4aa9 -r b6bac0cb0b2a audio/flac/distinfo
--- a/audio/flac/distinfo       Thu Jul 06 12:27:43 2006 +0000
+++ b/audio/flac/distinfo       Thu Jul 06 12:39:10 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2005/11/08 01:21:10 tv Exp $
+$NetBSD: distinfo,v 1.13 2006/07/06 12:39:10 markd Exp $
 
 SHA1 (flac-1.1.2.tar.gz) = 65501f3547df99b153951edb2ee7bfc13dd56946
 RMD160 (flac-1.1.2.tar.gz) = 58656837b02e211eaed5010d84c4ed59841c82d3
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 1d305f4a48d96dc3e7cd80fd02f73340a643a982
 SHA1 (patch-ad) = 2f28211919873412f7d10e5a716fa0aa0abf68cf
 SHA1 (patch-ae) = 60e14c3d6622d616b5ff2987224f57145c7fb504
+SHA1 (patch-af) = 945fd4fa294f84ebbbeeb561bf7ce0885261539c
diff -r a9fdc88d4aa9 -r b6bac0cb0b2a audio/flac/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flac/patches/patch-af       Thu Jul 06 12:39:10 2006 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index