Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/, media-gfx/rawtherapee/files/
Date: Tue, 15 Dec 2015 20:16:54
Message-Id: 1450210592.043e8de5728b09812035580454fd9b88123e7a06.pacho@gentoo
1 commit: 043e8de5728b09812035580454fd9b88123e7a06
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 15 20:07:07 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 15 20:16:32 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043e8de5
7
8 Revert "media-gfx/rawtherapee: Fix building with latest glibmm/libsigc++ (#568136)"
9
10 This reverts commit 519fe2b101ec4914e62246b72e9ba6139581e0c8.
11
12 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch | 27 ----------------------
13 media-gfx/rawtherapee/rawtherapee-4.2.ebuild | 4 ----
14 2 files changed, 31 deletions(-)
15
16 diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
17 deleted file mode 100644
18 index 48acb5f..0000000
19 --- a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
20 +++ /dev/null
21 @@ -1,27 +0,0 @@
22 -From 39ef59ddeb7679c71274b1da3faadd395b650c73 Mon Sep 17 00:00:00 2001
23 -From: Adam Reichold <adam.reichold@××××××××.de>
24 -Date: Sun, 29 Nov 2015 11:48:30 +0100
25 -Subject: [PATCH] Build with '-std=c++11' if libsigc++ version 2.5.1 is used as
26 - it does require it.
27 -
28 ----
29 - CMakeLists.txt | 4 ++--
30 - 1 file changed, 2 insertions(+), 2 deletions(-)
31 -
32 -diff --git a/CMakeLists.txt b/CMakeLists.txt
33 -index dd5fcbc..6153484 100644
34 ---- a/CMakeLists.txt
35 -+++ b/CMakeLists.txt
36 -@@ -278,10 +278,10 @@ if (OPTION_OMP)
37 - endif (OPENMP_FOUND)
38 - endif (OPTION_OMP)
39 -
40 --if(USE_EXPERIMENTAL_LANG_VERSIONS)
41 -+if(USE_EXPERIMENTAL_LANG_VERSIONS OR NOT (SIGC_VERSION VERSION_LESS 2.5.1))
42 - SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu1x")
43 - SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
44 --endif (USE_EXPERIMENTAL_LANG_VERSIONS)
45 -+endif ()
46 -
47 - # find out whether we are building out of source
48 - get_filename_component(ABS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE)
49
50 diff --git a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
51 index 6702661..6ae07a5 100644
52 --- a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
53 +++ b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
54 @@ -33,10 +33,6 @@ DEPEND="${RDEPEND}
55 app-arch/xz-utils
56 virtual/pkgconfig"
57
58 -PATCHES=(
59 - "${FILESDIR}"/${P}-cxx11.patch # Upstream patch for fixing bug #568136
60 -)
61 -
62 pkg_pretend() {
63 if use openmp ; then
64 tc-has-openmp || die "Please switch to an openmp compatible compiler"