Gentoo Archives: gentoo-commits

From: "Fabio Erculiani (lxnay)" <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/avogadro/files: avogadro-1.0.0-sip-4.10.patch
Date: Thu, 25 Feb 2010 14:59:43
Message-Id: E1NkfBl-0006Cd-Fg@stork.gentoo.org
1 lxnay 10/02/25 14:59:41
2
3 Added: avogadro-1.0.0-sip-4.10.patch
4 Log:
5 fix compilation with sip 4.10, thanks to Victor Yu. Kowalsky and Kacper Kowalik for reporting, close bug #303703
6 (Portage version: 2.2_rc60/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-chemistry/avogadro/files/avogadro-1.0.0-sip-4.10.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/avogadro/files/avogadro-1.0.0-sip-4.10.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/avogadro/files/avogadro-1.0.0-sip-4.10.patch?rev=1.1&content-type=text/plain
13
14 Index: avogadro-1.0.0-sip-4.10.patch
15 ===================================================================
16 --- avogadro-1.0.0.orig/cmake/modules/PythonDeps.cmake
17 +++ avogadro-1.0.0/cmake/modules/PythonDeps.cmake
18 @@ -67,6 +67,10 @@
19 message(STATUS "using sip version 4.9...")
20 add_definitions( -DSIP_4_8 )
21 endif (${SIP_VERSION} MATCHES "4.9")
22 + if (${SIP_VERSION} MATCHES "4.10")
23 + message(STATUS "using sip version 4.10...")
24 + add_definitions( -DSIP_4_8 )
25 + endif (${SIP_VERSION} MATCHES "4.10")
26 else (EXISTS ${PYTHON_INCLUDE_PATH}/sip.h)
27 message(STATUS "sip.h header NOT found - Python support disabled")
28 # message(STATUS "debian/ubuntu: install the python-sip4-dev package.")