summaryrefslogtreecommitdiff
path: root/converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test
diff options
context:
space:
mode:
Diffstat (limited to 'converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test')
-rw-r--r--converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test28
1 files changed, 28 insertions, 0 deletions
diff --git a/converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test b/converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test
new file mode 100644
index 00000000000..c8e5f2df1bc
--- /dev/null
+++ b/converters/wkhtmltopdf/patches/patch-qt_config.tests_mac_dwarf2.test
@@ -0,0 +1,28 @@
+$NetBSD: patch-qt_config.tests_mac_dwarf2.test,v 1.1 2017/06/23 07:12:19 manu Exp $
+
+Fix == operator in shell script
+
+--- qt/config.tests/mac/dwarf2.test.orig 2017-06-20 10:23:31.000000000 +0200
++++ qt/config.tests/mac/dwarf2.test 2017-06-20 10:23:51.000000000 +0200
+@@ -40,9 +40,9 @@
+ # Test for xcode 2.4.0, which has a broken implementation of DWARF
+ "$COMPILER" $WORKDIR/xcodeversion.cpp $CXXFLAGS $LFLAGS -o xcodeversion -framework Carbon;
+ ./xcodeversion
+
+-if [ "$?" == "1" ]; then
++if [ "$?" = "1" ]; then
+ DWARF2_SUPPORT_BROKEN=yes
+ fi
+
+ rm xcodeversion
+@@ -51,9 +51,9 @@
+ if [ "$DWARF2_SUPPORT" != "yes" ]; then
+ [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled."
+ exit 0
+ else
+- if [ "$DWARF2_SUPPORT_BROKEN" == "yes" ]; then
++ if [ "$DWARF2_SUPPORT_BROKEN" = "yes" ]; then
+ [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled."
+ exit 0
+ else
+ [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols enabled."