diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2011-01-23 18:07:19 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2011-01-23 18:07:19 +0000 |
commit | ac8c231316a6e9237e9e77ecc01094229ccb2737 (patch) | |
tree | 0a9e3cdb02b957e33e815f9eefdf2fca5e519467 /app-office/krita/files | |
parent | Revision bump using new Debian patchset (diff) | |
download | historical-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.patch | 14 |
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}") |