aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aqemu/aqemu-0.9.2-qtbindir.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-12-13 09:38:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-12-14 15:30:16 +0000
commit0b05706c54f3dfd0e22a3b837003274582630d61 (patch)
treecaf50a43492045c07df4ee773b5af9cdbdc8fcf2 /testing/aqemu/aqemu-0.9.2-qtbindir.patch
parentd1b0c41cdea0ff991078ebb14da22350dbd21889 (diff)
downloadaports-0b05706c54f3dfd0e22a3b837003274582630d61.tar.bz2
aports-0b05706c54f3dfd0e22a3b837003274582630d61.tar.xz
testing/aqemu: new aport
Diffstat (limited to 'testing/aqemu/aqemu-0.9.2-qtbindir.patch')
-rw-r--r--testing/aqemu/aqemu-0.9.2-qtbindir.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/aqemu/aqemu-0.9.2-qtbindir.patch b/testing/aqemu/aqemu-0.9.2-qtbindir.patch
new file mode 100644
index 0000000000..5c55480584
--- /dev/null
+++ b/testing/aqemu/aqemu-0.9.2-qtbindir.patch
@@ -0,0 +1,15 @@
+Ensure the Qt 5 version of rcc is used instead of whatever is in $PATH.
+
+Gentoo-bug: 589332
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -285,7 +285,7 @@
+
+ SET( _out ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.rcc )
+
+- ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND rcc ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
++ ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND ${Qt5Core_RCC_EXECUTABLE} ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
+
+ SET( ${_sources} ${${_sources}} ${_out} )
+ ENDFOREACH( curFile )