diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-26 20:00:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 17:19:26 +0100 |
commit | a0a29221c8df7c277139b0c875330f08cb2bdea3 (patch) | |
tree | 967c8777a198f33333e458ca8579fe896c784e99 /meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch | |
parent | 248e9f48c77212372b50074f0a475a16bb8db4be (diff) | |
download | poky-a0a29221c8df7c277139b0c875330f08cb2bdea3.tar.gz |
qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bb
(From OE-Core rev: dcda03d3f6ec442740e3683a1971103dc639689d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch b/meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch new file mode 100644 index 0000000000..906d4e312f --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-4.8.1/fix-translations.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | fix phony translation linking error | ||
2 | |||
3 | | .../usr/lib/crt1.o: In function `_start': | ||
4 | | .../../sysdeps/i386/elf/start.S:115: undefined reference to `main' | ||
5 | | collect2: ld returned 1 exit status | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
10 | |||
11 | diff --git a/translations/translations.pro b/translations/translations.pro | ||
12 | index cdaf04a..24fa668 100644 | ||
13 | --- a/translations/translations.pro | ||
14 | +++ b/translations/translations.pro | ||
15 | @@ -20,7 +20,7 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN} | ||
16 | updateqm.CONFIG += no_link | ||
17 | QMAKE_EXTRA_COMPILERS += updateqm | ||
18 | |||
19 | -isEmpty(vcproj) { | ||
20 | +!isEmpty(vcproj) { | ||
21 | QMAKE_LINK = @: IGNORE THIS LINE | ||
22 | OBJECTS_DIR = | ||
23 | win32:CONFIG -= embed_manifest_exe | ||
24 | @@ -30,7 +30,7 @@ isEmpty(vcproj) { | ||
25 | phony_src.input = PHONY_DEPS | ||
26 | phony_src.output = phony.c | ||
27 | phony_src.variable_out = GENERATED_SOURCES | ||
28 | - phony_src.commands = echo int main() { return 0; } > phony.c | ||
29 | + phony_src.commands = echo \"int main() { return 0; }\" > phony.c | ||
30 | phony_src.name = CREATE phony.c | ||
31 | phony_src.CONFIG += combine | ||
32 | QMAKE_EXTRA_COMPILERS += phony_src | ||