commit:     a756e1d067399e45d2096f1e97c38ebedf13b1a4
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 09:56:44 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 10:42:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a756e1d0

media-gfx/darktable: squash -Werror in rawspeed

Darktable as a whole only enables -Werror by default while building in a
Git working tree, rawspeed however has a separate option to control this
which is on by default.

Closes: https://bugs.gentoo.org/886265
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-gfx/darktable/darktable-4.2.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-gfx/darktable/darktable-4.2.1.ebuild 
b/media-gfx/darktable/darktable-4.2.1.ebuild
index 20656cde0bbd..c9c57caa2f1f 100644
--- a/media-gfx/darktable/darktable-4.2.1.ebuild
+++ b/media-gfx/darktable/darktable-4.2.1.ebuild
@@ -25,7 +25,10 @@ else
        
SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
                doc? (
                        
https://docs.darktable.org/usermanual/${DOC_PV}/en/${PN}_user_manual.pdf -> 
${PN}-usermanual-${DOC_PV}.en.pdf
-                       l10n_uk? ( 
https://docs.darktable.org/usermanual/${DOC_PV}/uk/${PN}_user_manual.pdf -> 
${PN}-usermanual-${DOC_PV}.uk.pdf )
+                       l10n_uk? (
+                               
https://docs.darktable.org/usermanual/${DOC_PV}/uk/${PN}_user_manual.pdf
+                                       -> ${PN}-usermanual-${DOC_PV}.uk.pdf
+                       )
                )"
 
        KEYWORDS="~amd64 ~arm64 -x86"
@@ -136,6 +139,7 @@ src_configure() {
                -DCUSTOM_CFLAGS=ON
                -DDONT_USE_INTERNAL_LUA=ON
                -DRAWSPEED_ENABLE_LTO=$(usex lto)
+               -DRAWSPEED_ENABLE_WERROR=OFF
                -DTESTBUILD_OPENCL_PROGRAMS=OFF
                -DUSE_AVIF=$(usex avif)
                -DUSE_CAMERA_SUPPORT=$(usex gphoto2)

Reply via email to