Add patch taken from "homebrew" project to fix the build with new version

of Xcode under Mac OS X.
This commit is contained in:
tron 2013-01-24 10:22:08 +00:00
parent 3c72f52e13
commit e31ec5a7dc
2 changed files with 20 additions and 1 deletions

View file

@ -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-ab) = 468131a66c39d9b42080e62f6afa7cfd3657609b
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

View file

@ -0,0 +1,18 @@
$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