Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gpsdrive/files: gpsdrive-2.11-as-needed.patch
Date: Sun, 04 Nov 2012 17:31:16
Message-Id: 20121104173058.65FD0215F3@flycatcher.gentoo.org
1 ottxor 12/11/04 17:30:58
2
3 Added: gpsdrive-2.11-as-needed.patch
4 Log:
5 fix mapnik build (bug #417773)
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key C2000586)
8
9 Revision Changes Path
10 1.1 app-misc/gpsdrive/files/gpsdrive-2.11-as-needed.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gpsdrive/files/gpsdrive-2.11-as-needed.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gpsdrive/files/gpsdrive-2.11-as-needed.patch?rev=1.1&content-type=text/plain
14
15 Index: gpsdrive-2.11-as-needed.patch
16 ===================================================================
17 https://bugs.gentoo.org/show_bug.cgi?id=417773
18 diff -rupN gpsdrive-2.11.org//src/CMakeLists.txt gpsdrive-2.11/src/CMakeLists.txt
19 --- gpsdrive-2.11.org//src/CMakeLists.txt 2012-06-19 20:02:50.960300653 +0200
20 +++ gpsdrive-2.11/src/CMakeLists.txt 2012-06-19 20:03:03.263146846 +0200
21 @@ -28,7 +28,7 @@ if (WITH_POSTGIS)
22 endif (WITH_POSTGIS)
23
24 if (WITH_MAPNIK)
25 - find_package(Boost COMPONENTS filesystem REQUIRED)
26 + find_package(Boost COMPONENTS filesystem thread REQUIRED)
27 find_package(Mapnik REQUIRED)
28 add_definitions(-DMAPNIK)
29 endif (WITH_MAPNIK)
30 @@ -177,6 +177,7 @@ if (WITH_MAPNIK)
31 set(GPSDRIVE_LINK_LIBRARIES
32 ${GPSDRIVE_LINK_LIBRARIES}
33 ${Boost_FILESYSTEM_LIBRARY}
34 + ${Boost_THREAD_LIBRARY}
35 ${MAPNIK_LIBRARIES}
36 )
37 endif (WITH_MAPNIK)