]> git.pld-linux.org Git - packages/enblend-enfuse.git/blobdiff - enblend-enfuse.spec
- fix building with gcc11 c++, rel 4
[packages/enblend-enfuse.git] / enblend-enfuse.spec
index 8358487250d2404b9e0d5acb14049fb8ef43332a..b5755b3714df58eee0ffc44d6ec74443ee9374cd 100644 (file)
@@ -8,11 +8,12 @@ Summary:      Image blending with multiresolution splines
 Summary(pl.UTF-8):     Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości
 Name:          enblend-enfuse
 Version:       4.2
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Applications/Graphics
 Source0:       http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
 # Source0-md5: e26751f393862cecfd1a113003787001
+Patch0:                gcc11.patch
 URL:           http://enblend.sourceforge.net/
 BuildRequires: OpenEXR-devel >= 1.0
 BuildRequires: OpenGL-GLU-devel
@@ -61,8 +62,10 @@ przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+export CXXFLAGS="%{rpmcxxflags} -std=gnu++14"
 %configure \
        %{?with_openmp:--enable-openmp --disable-image-cache}
        %{!?with_tcmalloc:--without-tcmalloc}
This page took 0.183354 seconds and 4 git commands to generate.