From d2b8ef585ba915bb6429398b7ecd2403f1291b4b Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Wed, 8 Jun 2011 18:45:07 +0000 Subject: [PATCH] Re-add a patch to fix a build failure happening under certain circumstances. PR: ports/157708 Submitted by: Pedro Garcia [sawp sawp.com br] Obtained from: Chromium development repository (George Liaskos) --- .../files/patch-build__linux__python_arch.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 www/chromium/files/patch-build__linux__python_arch.sh diff --git a/www/chromium/files/patch-build__linux__python_arch.sh b/www/chromium/files/patch-build__linux__python_arch.sh new file mode 100644 index 000000000000..f20ad80a4bd1 --- /dev/null +++ b/www/chromium/files/patch-build__linux__python_arch.sh @@ -0,0 +1,16 @@ +--- build/linux/python_arch.sh.orig 2011-06-08 21:00:57.020677627 +0300 ++++ build/linux/python_arch.sh 2011-06-08 21:01:35.203676025 +0300 +@@ -10,12 +10,7 @@ + # python_arch.sh /path/to/sysroot/usr/lib/libpython2.4.so.1.0 + # + +-python=$(readlink -f "$1") +-if [ ! -r "$python" ]; then +- echo unknown +- exit 0 +-fi +-file_out=$(file "$python") ++file_out=$(file "$1") + if [ $? -ne 0 ]; then + echo unknown + exit 0