From: | "Marc Schiffbauer (mschiff)" <mschiff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-geosciences/opencpn/files: opencpn-2.5.0_tinyxml_stl.patch |
Date: | Wed, 28 Sep 2011 14:39:28 |
Message-Id: | 20110928143918.89BAD2004C@flycatcher.gentoo.org |
1 | mschiff 11/09/28 14:39:18 |
2 | |
3 | Added: opencpn-2.5.0_tinyxml_stl.patch |
4 | Log: |
5 | Add patch to fix linking against tinyxml[stl]. Fixes #384781 |
6 | |
7 | (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-geosciences/opencpn/files/opencpn-2.5.0_tinyxml_stl.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/opencpn/files/opencpn-2.5.0_tinyxml_stl.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/opencpn/files/opencpn-2.5.0_tinyxml_stl.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: opencpn-2.5.0_tinyxml_stl.patch |
16 | =================================================================== |
17 | --- OpenCPN-2.5.0-Source/CMakeLists.txt 2011-07-26 16:51:59.000000000 +0200 |
18 | +++ opencpn/CMakeLists.txt 2011-09-28 16:28:35.181651034 +0200 |
19 | @@ -325,9 +325,12 @@ |
20 | ) |
21 | |
22 | IF(TINYXML_FOUND) |
23 | + message (STATUS "Building with tinyxml includes") |
24 | INCLUDE_DIRECTORIES(${TINYXML_INCLUDE_DIR}) |
25 | + ADD_DEFINITIONS(-DTIXML_USE_STL) |
26 | ELSE(TINYXML_FOUND) |
27 | - SET(SRCS ${SRCS} ${SRC_TINYXML}) |
28 | + message (STATUS "tinyxml library not found") |
29 | + SET(SRCS ${SRCS} ${SRC_TINYXML}) |
30 | ENDIF(TINYXML_FOUND) |