aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mumble
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2009-12-04 00:02:45 +0800
committerbeat <beat@FreeBSD.org>2009-12-04 00:02:45 +0800
commitc485aac74fc125cc732b0c50e5139d91de9bf899 (patch)
treecbe33b8823ad5542fdd4fa48569a85c13b6362e7 /audio/mumble
parent806f831caa8c73bf6e925cecbbd7bd6b1a70b2d8 (diff)
downloadfreebsd-ports-gnome-c485aac74fc125cc732b0c50e5139d91de9bf899.tar.gz
freebsd-ports-gnome-c485aac74fc125cc732b0c50e5139d91de9bf899.tar.zst
freebsd-ports-gnome-c485aac74fc125cc732b0c50e5139d91de9bf899.zip
- Fix build with qt4.5
Submitted by: Bernhard Froehlich <decke AT bluelife.at> (via IRC) Approved by: Marius Nuennerich <marius AT nuenneri.ch> (maintainer, via IRC) Reported by: pointyhat (via pav)
Diffstat (limited to 'audio/mumble')
-rw-r--r--audio/mumble/files/patch-src-mumble-mumble.pro15
-rw-r--r--audio/mumble/files/patch-src-mumble-mumble_qt.qrc19
2 files changed, 31 insertions, 3 deletions
diff --git a/audio/mumble/files/patch-src-mumble-mumble.pro b/audio/mumble/files/patch-src-mumble-mumble.pro
index 795ede39fb2c..0217fd128548 100644
--- a/audio/mumble/files/patch-src-mumble-mumble.pro
+++ b/audio/mumble/files/patch-src-mumble-mumble.pro
@@ -1,6 +1,6 @@
---- src/mumble/mumble.pro.orig 2009-03-16 16:21:13.038835100 +0100
-+++ src/mumble/mumble.pro 2009-03-16 16:22:07.155100994 +0100
-@@ -107,6 +107,13 @@
+--- src/mumble/mumble.pro.orig 2009-03-22 16:05:00.000000000 +0100
++++ src/mumble/mumble.pro 2009-12-02 23:09:37.000000000 +0100
+@@ -113,6 +113,13 @@
SOURCES *= GlobalShortcut_unix.cpp TextToSpeech_unix.cpp Overlay_unix.cpp
}
@@ -14,3 +14,12 @@
macx {
TARGET = Mumble
ICON = ../../icons/mumble.icns
+@@ -217,7 +224,7 @@
+ QT_TRANSDIR = $$[QT_INSTALL_TRANSLATIONS]/
+ QT_TRANSDIR = $$replace(QT_TRANSDIR,/,$${DIR_SEPARATOR})
+
+- QT_TRANSLATION_FILES *= qt_de.qm qt_es.qm qt_fr.qm qt_ru.qm qt_pl.qm qt_ja_jp.qm
++ QT_TRANSLATION_FILES *= qt_de.ts qt_es.ts qt_fr.ts qt_ru.ts qt_pl.ts qt_ja_JP.ts
+
+ copytrans.output = ${QMAKE_FILE_NAME}
+ copytrans.commands = $$QMAKE_COPY $${QT_TRANSDIR}${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
diff --git a/audio/mumble/files/patch-src-mumble-mumble_qt.qrc b/audio/mumble/files/patch-src-mumble-mumble_qt.qrc
new file mode 100644
index 000000000000..5de6bfbb0ccb
--- /dev/null
+++ b/audio/mumble/files/patch-src-mumble-mumble_qt.qrc
@@ -0,0 +1,19 @@
+--- src/mumble/mumble_qt.qrc.orig 2009-12-02 23:08:46.000000000 +0100
++++ src/mumble/mumble_qt.qrc 2009-12-02 23:11:31.000000000 +0100
+@@ -1,10 +1,10 @@
+ <!DOCTYPE RCC><RCC version="1.0">
+ <qresource>
+- <file>qt_de.qm</file>
+- <file>qt_es.qm</file>
+- <file>qt_fr.qm</file>
+- <file>qt_ru.qm</file>
+- <file>qt_pl.qm</file>
+- <file>qt_ja_jp.qm</file>
++ <file>qt_de.ts</file>
++ <file>qt_es.ts</file>
++ <file>qt_fr.ts</file>
++ <file>qt_ru.ts</file>
++ <file>qt_pl.ts</file>
++ <file>qt_ja_jp.ts</file>
+ </qresource>
+ </RCC>