[arch-commits] Commit in kdeedu-kalzium/trunk (PKGBUILD fix-linking.patch)
Andrea Scarpino
andrea at archlinux.org
Wed Nov 7 18:06:12 UTC 2012
Date: Wednesday, November 7, 2012 @ 13:06:11
Author: andrea
Revision: 170422
Fix build
Added:
kdeedu-kalzium/trunk/fix-linking.patch
Modified:
kdeedu-kalzium/trunk/PKGBUILD
-------------------+
PKGBUILD | 11 +++++++++--
fix-linking.patch | 24 ++++++++++++++++++++++++
2 files changed, 33 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-07 18:00:26 UTC (rev 170421)
+++ PKGBUILD 2012-11-07 18:06:11 UTC (rev 170422)
@@ -12,10 +12,17 @@
depends=('kdelibs' 'avogadro' 'ocaml' 'facile')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kalzium-${pkgver}.tar.xz")
-sha1sums=('7b4a50aabd960752d6b746740cc6b4bf6cae3b30')
+source=("http://download.kde.org/stable/${pkgver}/src/kalzium-${pkgver}.tar.xz"
+ 'fix-linking.patch')
+sha1sums=('7b4a50aabd960752d6b746740cc6b4bf6cae3b30'
+ '478697adc8ae191355ee64b824f30e11bd7af682')
build() {
+ # KDEBUG#308939 (Fixed upstream)
+ cd kalzium-${pkgver}
+ patch -p1 -i "${srcdir}"/fix-linking.patch
+ cd ../
+
cd "${srcdir}"
mkdir build
cd build
Added: fix-linking.patch
===================================================================
--- fix-linking.patch (rev 0)
+++ fix-linking.patch 2012-11-07 18:06:11 UTC (rev 170422)
@@ -0,0 +1,24 @@
+commit ffac09556f6f3d5d758bac9ba2b91117e6014ea7
+Author: Christoph Feck <christoph at maxiom.de>
+Date: Fri Nov 2 17:31:48 2012 +0100
+
+ SVN_SILENT link
+
+ If possible, please include this build fix in 4.9.3 tag.
+
+ BUG: 308939
+ CCMAIL: kde-release-team at kde.org
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 03eabf3..c8f425a 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -138,7 +138,7 @@ target_link_libraries(kalzium ${KDE4_KHTML_LIBRARY} ${KDE4_KNEWSTUFF3_LIBS} ${KD
+ if (OPENBABEL2_FOUND)
+ target_link_libraries(kalzium ${OPENBABEL2_LIBRARIES})
+ if (EIGEN2_FOUND AND Avogadro_FOUND)
+- target_link_libraries(kalzium compoundviewer avogadro)
++ target_link_libraries(kalzium ${QT_QTOPENGL_LIBRARY} compoundviewer avogadro)
+ endif (EIGEN2_FOUND AND Avogadro_FOUND)
+ endif (OPENBABEL2_FOUND)
+
More information about the arch-commits
mailing list