[arch-commits] Commit in avogadro/trunk (PKGBUILD fix-boost.patch)

Andrea Scarpino andrea at archlinux.org
Tue Nov 29 13:38:06 EST 2011


    Date: Tuesday, November 29, 2011 @ 13:38:06
  Author: andrea
Revision: 143834

Use the workaround here too

Modified:
  avogadro/trunk/PKGBUILD
  avogadro/trunk/fix-boost.patch

-----------------+
 PKGBUILD        |    2 +-
 fix-boost.patch |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-29 18:35:55 UTC (rev 143833)
+++ PKGBUILD	2011-11-29 18:38:06 UTC (rev 143834)
@@ -18,7 +18,7 @@
         'fix-boost.patch')
 md5sums=('92c2702c1980f70fb6d87a1a58147911'
          '1b74d435a058062600bdb22174371fbc'
-         '138801cb245f3d8f02019b85bab1a140')
+         '607ef5f4db5f2a193718f06b2bb295ed')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}

Modified: fix-boost.patch
===================================================================
--- fix-boost.patch	2011-11-29 18:35:55 UTC (rev 143833)
+++ fix-boost.patch	2011-11-29 18:38:06 UTC (rev 143834)
@@ -9,3 +9,14 @@
  
  # you have to add link_directories before you add the target
  if(ENABLE_PYTHON AND ALL_PYTHON_FOUND)
+--- avogadro-1.0.3/libavogadro/src/python/CMakeLists.txt~	2011-11-29 18:37:15.449506548 +0000
++++ avogadro-1.0.3/libavogadro/src/python/CMakeLists.txt	2011-11-29 18:37:52.729831744 +0000
+@@ -11,7 +11,7 @@
+ # use all cpp files in this directory
+ FILE(GLOB wrapper_SRCS "*.cpp")
+ 
+-QT4_WRAP_CPP(MOC_SRCS moleculelist.h)
++QT4_WRAP_CPP(MOC_SRCS moleculelist.h OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
+ 
+ ADD_LIBRARY(python-module MODULE ${wrapper_SRCS} ${MOC_SRCS})
+ SET_TARGET_PROPERTIES(python-module PROPERTIES OUTPUT_NAME Avogadro)



More information about the arch-commits mailing list