summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron>2013-01-24 10:22:08 +0000
committertron <tron>2013-01-24 10:22:08 +0000
commit5bbfc59e67007cd1e1943bbeedae8b1cbf007c7e (patch)
tree2591d506574f59d242f491b02637ae5c8c001267 /multimedia
parent8b4df84c48232ea8d49f680fd0a736704cba6b06 (diff)
downloadpkgsrc-5bbfc59e67007cd1e1943bbeedae8b1cbf007c7e.tar.gz
Add patch taken from "homebrew" project to fix the build with new version
of Xcode under Mac OS X.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/distinfo3
-rw-r--r--multimedia/libvpx/patches/patch-build_make_gen_asm_deps.sh18
2 files changed, 20 insertions, 1 deletions
diff --git a/multimedia/libvpx/distinfo b/multimedia/libvpx/distinfo
index b3c2930ddd5..dae09e20bcd 100644
--- a/multimedia/libvpx/distinfo
+++ b/multimedia/libvpx/distinfo
@@ -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
diff --git a/multimedia/libvpx/patches/patch-build_make_gen_asm_deps.sh b/multimedia/libvpx/patches/patch-build_make_gen_asm_deps.sh
new file mode 100644
index 00000000000..f580e92c77d
--- /dev/null
+++ b/multimedia/libvpx/patches/patch-build_make_gen_asm_deps.sh
@@ -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