OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../qt4/qt4-translations-build-fix.patch
  5. # Copyright (C) 2013 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. without this patch we get following error when linking
  17. -----------------------------------------------------------------------------
  18. g++ -Wl,-rpath-link,/TOOLCHAIN/src.qt4.uma.20130618.102156.21560.builder64/qt-everywhere-opensource-src-4.8.4/lib -Wl,-O1 -o qm_phony_target
  19. /usr/lib/gcc/i686-unknown-linux-gnu/4.7.3/../../../crt1.o: In function `_start':
  20. (.text+0x18): undefined reference to `main'
  21. collect2: error: ld returned 1 exit status
  22. -----------------------------------------------------------------------------
  23. --- qt-everywhere-opensource-src-4.8.4/translations/translations.pro.orig 2013-06-18 12:51:39.085600311 +0200
  24. +++ qt-everywhere-opensource-src-4.8.4/translations/translations.pro 2013-06-18 12:53:40.134783556 +0200
  25. @@ -101,7 +101,7 @@
  26. updateqm.CONFIG += no_link
  27. QMAKE_EXTRA_COMPILERS += updateqm
  28. -isEmpty(vcproj) {
  29. +!isEmpty(vcproj) {
  30. QMAKE_LINK = @: IGNORE THIS LINE
  31. OBJECTS_DIR =
  32. win32:CONFIG -= embed_manifest_exe
  33. @@ -111,7 +111,7 @@
  34. phony_src.input = PHONY_DEPS
  35. phony_src.output = phony.c
  36. phony_src.variable_out = GENERATED_SOURCES
  37. - phony_src.commands = echo int main() { return 0; } > phony.c
  38. + phony_src.commands = echo \"int main() { return 0; }\" > phony.c
  39. phony_src.name = CREATE phony.c
  40. phony_src.CONFIG += combine
  41. QMAKE_EXTRA_COMPILERS += phony_src