fix complication failed due to gcc upgrade
This commit is contained in:
parent
acf4ef7c5e
commit
d0358934aa
12
0002-fix-compilation-failed.patch
Normal file
12
0002-fix-compilation-failed.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nur a/gcut/gcut.h b/gcut/gcut.h
|
||||
--- a/gcut/gcut.h 2018-05-13 19:48:27.000000000 +0800
|
||||
+++ b/gcut/gcut.h 2021-08-04 11:14:47.869520800 +0800
|
||||
@@ -234,7 +234,7 @@
|
||||
char *clip_query;
|
||||
int clip_query_edited;
|
||||
int filter_edited;
|
||||
-} _GeglEDL;
|
||||
+};
|
||||
|
||||
void update_size (GeglEDL *edl, Clip *clip);
|
||||
void remove_in_betweens (GeglNode *nop_scaled, GeglNode *nop_filtered);
|
||||
@ -5,7 +5,9 @@ Summary: Generic Graphics Library
|
||||
License: LGPLv3+
|
||||
URL: http://www.gegl.org/
|
||||
Source0: http://download.gimp.org/pub/gegl/0.4/gegl-%{version}.tar.bz2
|
||||
|
||||
Patch0000: 0001-fix-C-linkage.patch
|
||||
Patch0001: 0002-fix-compilation-failed.patch
|
||||
|
||||
BuildRequires: chrpath, enscript, gcc-c++, gettext-devel >= 0.19.8, gobject-introspection-devel >= 1.32.0, libspiro-devel, perl-interpreter
|
||||
BuildRequires: ruby, SDL-devel >= 1.2.0, suitesparse-devel, vala-tools, pkgconfig(babl) >= 0.1.56, pkgconfig(cairo) >= 1.12.2, pkgconfig(exiv2) >= 0.25
|
||||
@ -50,7 +52,7 @@ This package includes development files for %{name}.
|
||||
%autosetup -n gegl-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static CFLAGS="${CFLAGS} -fcommon"
|
||||
%configure --disable-static CFLAGS="${CFLAGS}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user