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

cvs diff -r1.15 -r1.16 pkgsrc/multimedia/libvpx/distinfo (expand / switch to context diff)
--- pkgsrc/multimedia/libvpx/distinfo 2012/12/23 10:33:33 1.15
+++ pkgsrc/multimedia/libvpx/distinfo 2013/01/24 10:22:08 1.16
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2012/12/23 10:33:33 ryoon Exp $
+$NetBSD: distinfo,v 1.16 2013/01/24 10:22:08 tron Exp $
 
 SHA1 (libvpx-v1.1.0.tar.bz2) = 356af5f770c50cd021c60863203d8f30164f6021
 RMD160 (libvpx-v1.1.0.tar.bz2) = 6f462c1421a51af77d3401ea4c1eaf0dbeaf4791
@@ -8,4 +8,5 @@
 SHA1 (patch-ac) = e177ad5416b50b75fe026377d8033032e0ca63c3
 SHA1 (patch-ad) = b8f64861bd03599bcc1db52ea970d8eb20331a33
 SHA1 (patch-af) = 01ad55ae9a30c079267b7a7af6b644d56a3e57e3
+SHA1 (patch-build_make_gen_asm_deps.sh) = 907d0a95ae4c5a8804354a85820eadf0858b62b7
 SHA1 (patch-configure) = 72587d9f326040dd50b55e8ea086a05713533cbe

File Added: pkgsrc/multimedia/libvpx/patches/Attic/patch-build_make_gen_asm_deps.sh
$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