summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2010-11-04 10:19:34 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2010-11-04 10:19:34 +0000
commit5e07bcf99b58ba1a8e88b1dbb66ef644912082bf (patch)
tree5e5c61b2425f745dd70aa27a6e7358a5c9da271e /app-office/krita/files
parentVersion bump. (diff)
downloadhistorical-5e07bcf99b58ba1a8e88b1dbb66ef644912082bf.tar.gz
historical-5e07bcf99b58ba1a8e88b1dbb66ef644912082bf.tar.bz2
historical-5e07bcf99b58ba1a8e88b1dbb66ef644912082bf.zip
Added patch to fix x11 linkage (needed only on x86???), fixes bug 343283
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'app-office/krita/files')
-rw-r--r--app-office/krita/files/krita-2.2.2-xlibs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/krita/files/krita-2.2.2-xlibs.patch b/app-office/krita/files/krita-2.2.2-xlibs.patch
new file mode 100644
index 000000000000..24b626905e79
--- /dev/null
+++ b/app-office/krita/files/krita-2.2.2-xlibs.patch
@@ -0,0 +1,14 @@
+diff -urN krita-2.2.2.vanilla/krita/ui/CMakeLists.txt krita-2.2.2/krita/ui/CMakeLists.txt
+--- krita-2.2.2.vanilla/krita/ui/CMakeLists.txt 2010-08-21 07:38:52.000000000 +0200
++++ krita-2.2.2/krita/ui/CMakeLists.txt 2010-11-03 23:43:28.000000000 +0100
+@@ -217,6 +217,10 @@
+
+ target_link_libraries(kritaui LINK_INTERFACE_LIBRARIES kritaimage komain ${GL_INTERFACE_LIBRARIES} )
+
++IF(Q_WS_X11)
++ TARGET_LINK_LIBRARIES(kritaui ${X11_LIBRARIES})
++ENDIF(Q_WS_X11)
++
+ set_target_properties(kritaui
+ PROPERTIES VERSION ${GENERIC_KOFFICE_LIB_VERSION} SOVERSION ${GENERIC_KOFFICE_LIB_SOVERSION}
+ )