summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/juffed/files/juffed-0.3-configure.patch')
-rw-r--r--app-editors/juffed/files/juffed-0.3-configure.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-editors/juffed/files/juffed-0.3-configure.patch b/app-editors/juffed/files/juffed-0.3-configure.patch
new file mode 100644
index 000000000000..bb4f8bf24997
--- /dev/null
+++ b/app-editors/juffed/files/juffed-0.3-configure.patch
@@ -0,0 +1,29 @@
+--- juffed_0.3_orig/configure 2008-07-17 02:04:22.000000000 +0200
++++ juffed_0.3/configure 2008-08-05 06:39:30.000000000 +0200
+@@ -184,7 +184,7 @@
+ ${qmake_cmd} -project -o test.pro
+ echo "" >> test.pro
+ echo "QT += xml" >> test.pro
+-${qmake_cmd} 2>configure.log
++${qmake_cmd} "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w" 2>configure.log
+ ${make_cmd} 1>/dev/null 2>>configure.log
+
+ test_prg=`cat configure.log`
+@@ -230,7 +230,7 @@
+ echo "LIBS += -L${arg_qsci_lib_path}" >> test.pro
+ fi
+
+-${qmake_cmd} 2>configure.log
++${qmake_cmd} "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w" 2>configure.log
+ ${make_cmd} 1>/dev/null 2>>configure.log
+
+ test_prg=`cat configure.log`
+@@ -293,7 +293,7 @@
+ LRELEASE='${lrelease_cmd}'
+
+ src/juffed:
+- cd src && $(QMAKE) && $(MAKE)
++ cd src && $(QMAKE) "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}" "QMAKE_LFLAGS_RELEASE=${LDFLAGS}" && $(MAKE)
+ cd src && $(LRELEASE) juffed.pro
+
+ distclean: