[packages/gegl] - fix build without lua
adamg
adamg at pld-linux.org
Tue Apr 9 10:47:02 CEST 2019
commit ca3bc429ccc700881c94168ae2ceed6dcd2f502a
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Tue Apr 9 10:45:04 2019 +0200
- fix build without lua
gegl-without-lua.patch | 18 ++++++++++++++++++
gegl.spec | 2 ++
2 files changed, 20 insertions(+)
---
diff --git a/gegl.spec b/gegl.spec
index 4fc40b3..2ff32ff 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -33,6 +33,7 @@ Patch1: %{name}-ruby1.9.patch
Patch2: %{name}-build.patch
Patch3: umfpack.patch
Patch4: %{name}-Wformat-security.patch
+Patch5: %{name}-without-lua.patch
URL: http://www.gegl.org/
BuildRequires: OpenEXR-devel >= 1.6.1
BuildRequires: SDL-devel >= 1.2.0
@@ -172,6 +173,7 @@ API języka Vala dla biblioteki gegl.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__libtoolize}
diff --git a/gegl-without-lua.patch b/gegl-without-lua.patch
new file mode 100644
index 0000000..dc22379
--- /dev/null
+++ b/gegl-without-lua.patch
@@ -0,0 +1,18 @@
+--- gegl-0.4.14/bin/ui-core.c~ 2019-03-01 13:59:14.000000000 +0100
++++ gegl-0.4.14/bin/ui-core.c 2019-04-09 10:23:12.245855802 +0200
+@@ -4828,6 +4828,7 @@
+ else
+ {
+
++#if HAVE_LUA
+ if (g_str_has_suffix (o->path, ".lui"))
+ {
+ int result;
+@@ -4846,6 +4847,7 @@
+ }
+ }
+ }
++#endif
+
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gegl.git/commitdiff/975cab4025ded5d28b942f2e2b76c898f474286e
More information about the pld-cvs-commit
mailing list