aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-28 21:46:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 11:35:50 +0100
commit6a21cf0068234152b3f13866dc7c05adc6d0d9c9 (patch)
tree03f1cd976bdef536062ff0bab925b7227975a2ba /meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch
parent971361a4fac5622858f71a87c478e16ef02c4d76 (diff)
downloadopenembedded-core-contrib-6a21cf0068234152b3f13866dc7c05adc6d0d9c9.tar.gz
qt4: move from 4.8.0 to 4.8.1
* No changes other than source checksums and PR at recipe level. * DEFAULT_PREFERENCE still set to -1 Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch')
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch b/meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch
new file mode 100644
index 0000000000..906d4e312f
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.8.1/fix-translations.patch
@@ -0,0 +1,32 @@
+fix phony translation linking error
+
+ | .../usr/lib/crt1.o: In function `_start':
+ | .../../sysdeps/i386/elf/start.S:115: undefined reference to `main'
+ | collect2: ld returned 1 exit status
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+
+diff --git a/translations/translations.pro b/translations/translations.pro
+index cdaf04a..24fa668 100644
+--- a/translations/translations.pro
++++ b/translations/translations.pro
+@@ -20,7 +20,7 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN}
+ updateqm.CONFIG += no_link
+ QMAKE_EXTRA_COMPILERS += updateqm
+
+-isEmpty(vcproj) {
++!isEmpty(vcproj) {
+ QMAKE_LINK = @: IGNORE THIS LINE
+ OBJECTS_DIR =
+ win32:CONFIG -= embed_manifest_exe
+@@ -30,7 +30,7 @@ isEmpty(vcproj) {
+ phony_src.input = PHONY_DEPS
+ phony_src.output = phony.c
+ phony_src.variable_out = GENERATED_SOURCES
+- phony_src.commands = echo int main() { return 0; } > phony.c
++ phony_src.commands = echo \"int main() { return 0; }\" > phony.c
+ phony_src.name = CREATE phony.c
+ phony_src.CONFIG += combine
+ QMAKE_EXTRA_COMPILERS += phony_src