Thu Jan 24 10:22:08 2013 UTC ()
Add patch taken from "homebrew" project to fix the build with new version
of Xcode under Mac OS X.
(tron)
diff -r1.15 -r1.16 pkgsrc/multimedia/libvpx/distinfo
diff -r0 -r1.1 pkgsrc/multimedia/libvpx/patches/patch-build_make_gen_asm_deps.sh
--- pkgsrc/multimedia/libvpx/distinfo 2012/12/23 10:33:33 1.15
+++ pkgsrc/multimedia/libvpx/distinfo 2013/01/24 10:22:08 1.16
$NetBSD: patch-build_make_gen_asm_deps.sh,v 1.1 2013/01/24 10:22:08 tron Exp $
Fix build problems under Mac OS X with Xcode 4.4 and newer. Patch
taken from here:
https://github.com/mxcl/homebrew/issues/12567#issuecomment-6434000
--- build/make/gen_asm_deps.sh.old 2012-05-09 00:14:00.000000000 +0100
+++ build/make/gen_asm_deps.sh 2013-01-24 10:02:54.000000000 +0000
@@ -42,7 +42,7 @@
[ -n "$srcfile" ] || show_help
sfx=${sfx:-asm}
-includes=$(LC_ALL=C egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile |
+includes=$(LC_ALL=C egrep -i "include +\"[a-z0-9_/]+\.${sfx}" $srcfile |
perl -p -e "s;.*?([a-z0-9_/]+.${sfx}).*;\1;")
#" restore editor state
for inc in ${includes}; do