From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A22EF1388C2 for ; Tue, 15 Dec 2015 20:16:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D979CE0897; Tue, 15 Dec 2015 20:16:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B74EE0897 for ; Tue, 15 Dec 2015 20:16:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B23633E2EB for ; Tue, 15 Dec 2015 20:16:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0FE2C94 for ; Tue, 15 Dec 2015 20:16:46 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1450210590.54bde0d76f9295685225547a1e05d037fb5543e2.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/files/, media-gfx/rawtherapee/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch media-gfx/rawtherapee/rawtherapee-4.2.ebuild X-VCS-Directories: media-gfx/rawtherapee/ media-gfx/rawtherapee/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 54bde0d76f9295685225547a1e05d037fb5543e2 X-VCS-Branch: master Date: Tue, 15 Dec 2015 20:16:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ab5e19fa-85fa-409e-b0c9-d23b08485fd5 X-Archives-Hash: 094eca5d52bd9dd83ff4da8b5f684b0b commit: 54bde0d76f9295685225547a1e05d037fb5543e2 Author: Pacho Ramos gentoo org> AuthorDate: Tue Dec 15 20:02:04 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Dec 15 20:16:30 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bde0d7 media-gfx/rawtherapee: Fix building with latest glibmm/libsigc++ (#568136) Package-Manager: portage-2.2.26 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch | 27 ++++++++++++++++++++++ media-gfx/rawtherapee/rawtherapee-4.2.ebuild | 4 ++++ 2 files changed, 31 insertions(+) diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch new file mode 100644 index 0000000..48acb5f --- /dev/null +++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch @@ -0,0 +1,27 @@ +From 39ef59ddeb7679c71274b1da3faadd395b650c73 Mon Sep 17 00:00:00 2001 +From: Adam Reichold +Date: Sun, 29 Nov 2015 11:48:30 +0100 +Subject: [PATCH] Build with '-std=c++11' if libsigc++ version 2.5.1 is used as + it does require it. + +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index dd5fcbc..6153484 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -278,10 +278,10 @@ if (OPTION_OMP) + endif (OPENMP_FOUND) + endif (OPTION_OMP) + +-if(USE_EXPERIMENTAL_LANG_VERSIONS) ++if(USE_EXPERIMENTAL_LANG_VERSIONS OR NOT (SIGC_VERSION VERSION_LESS 2.5.1)) + SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu1x") + SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x") +-endif (USE_EXPERIMENTAL_LANG_VERSIONS) ++endif () + + # find out whether we are building out of source + get_filename_component(ABS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE) diff --git a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild index 6ae07a5..6702661 100644 --- a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild +++ b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild @@ -33,6 +33,10 @@ DEPEND="${RDEPEND} app-arch/xz-utils virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${P}-cxx11.patch # Upstream patch for fixing bug #568136 +) + pkg_pretend() { if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler"