summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2011-01-23 18:07:19 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2011-01-23 18:07:19 +0000
commitac8c231316a6e9237e9e77ecc01094229ccb2737 (patch)
tree0a9e3cdb02b957e33e815f9eefdf2fca5e519467 /app-office/krita/files
parentRevision bump using new Debian patchset (diff)
downloadhistorical-ac8c231316a6e9237e9e77ecc01094229ccb2737.tar.gz
historical-ac8c231316a6e9237e9e77ecc01094229ccb2737.tar.bz2
historical-ac8c231316a6e9237e9e77ecc01094229ccb2737.zip
Fix linkage against X11 libs, bug 352425
Package-Manager: portage-2.1.9.35/cvs/Linux x86_64
Diffstat (limited to 'app-office/krita/files')
-rw-r--r--app-office/krita/files/krita-2.3.1-linkx11.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/krita/files/krita-2.3.1-linkx11.patch b/app-office/krita/files/krita-2.3.1-linkx11.patch
new file mode 100644
index 000000000000..3ec09f54e16f
--- /dev/null
+++ b/app-office/krita/files/krita-2.3.1-linkx11.patch
@@ -0,0 +1,14 @@
+diff -ruN krita-2.3.1.orig/krita/ui/CMakeLists.txt krita-2.3.1/krita/ui/CMakeLists.txt
+--- krita-2.3.1.orig/krita/ui/CMakeLists.txt 2011-01-15 21:07:11.000000000 +0100
++++ krita-2.3.1/krita/ui/CMakeLists.txt 2011-01-23 18:56:56.824000099 +0100
+@@ -216,6 +216,10 @@
+
+ target_link_libraries(kritaui ${KDE4_THREADWEAVER_LIBRARIES} kritaimage komain kowidgets ${PNG_LIBRARIES} ${EXIV2_LIBRARIES})
+
++IF(Q_WS_X11)
++ TARGET_LINK_LIBRARIES(kritaui ${X11_LIBRARIES})
++ENDIF(Q_WS_X11)
++
+ if(HAVE_OPENGL)
+ target_link_libraries(kritaui ${OPENGL_LIBRARIES} ${QT_QTOPENGL_LIBRARY} ${OPENEXR_LIBRARIES})
+ set (GL_INTERFACE_LIBRARIES ";${OPENGL_LIBRARIES};${QT_QTOPENGL_LIBRARY}")