Accepting request 356067 from home:namtrac:branches:graphics

- Add gegl-0.2.0-linker-flags.patch to add -lm to linker flags

OBS-URL: https://build.opensuse.org/request/show/356067
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=32
This commit is contained in:
Ismail Dönmez 2016-01-26 14:12:07 +00:00 committed by Git OBS Bridge
parent ba7a27a64f
commit 62edebb583
3 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,36 @@
diff -urNp gegl-0.2.0.orig/bin/Makefile.in gegl-0.2.0/bin/Makefile.in
--- gegl-0.2.0.orig/bin/Makefile.in 2015-05-07 15:06:23.716649233 +0200
+++ gegl-0.2.0/bin/Makefile.in 2015-05-07 15:08:38.104260506 +0200
@@ -363,7 +363,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(no_undefined) ../gegl/libgegl-$(GEGL_API_VERSION).la \
- $(DEP_LIBS) $(BABL_LIBS) $(PNG_LIBS) $(LIBSPIRO)
+ $(DEP_LIBS) $(BABL_LIBS) $(PNG_LIBS) $(LIBSPIRO) -lm
gegl_SOURCES = gegl.c gegl-options.c gegl-options.h gegl-path-smooth.c \
gegl-path-smooth.h $(am__append_1)
diff -urNp gegl-0.2.0.orig/examples/Makefile.in gegl-0.2.0/examples/Makefile.in
--- gegl-0.2.0.orig/examples/Makefile.in 2015-05-07 15:06:23.674649046 +0200
+++ gegl-0.2.0/examples/Makefile.in 2015-05-07 16:13:36.057203261 +0200
@@ -376,7 +376,7 @@ AM_CPPFLAGS = \
AM_CFLAGS = $(DEP_CFLAGS) $(GTK_CFLAGS) $(BABL_CFLAGS) $(PNG_CFLAGS)
AM_LDFLAGS = \
$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
- $(DEP_LIBS) $(GTK_LIBS) $(BABL_LIBS) $(PNG_LIBS)
+ $(DEP_LIBS) $(GTK_LIBS) $(BABL_LIBS) $(PNG_LIBS) -lm
all: all-recursive
diff -urNp gegl-0.2.0.orig/tools/Makefile.in gegl-0.2.0/tools/Makefile.in
--- gegl-0.2.0.orig/tools/Makefile.in 2015-05-07 15:06:23.716649233 +0200
+++ gegl-0.2.0/tools/Makefile.in 2015-05-07 15:31:43.643298848 +0200
@@ -394,7 +394,7 @@ AM_CPPFLAGS = \
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
AM_LDFLAGS = \
$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
- $(DEP_LIBS) $(BABL_LIBS)
+ $(DEP_LIBS) $(BABL_LIBS) -lm
@HAVE_EXIV2_TRUE@exp_combine_SOURCES = exp_combine.cpp
@HAVE_EXIV2_TRUE@exp_combine_LDADD = $(EXIV2_LIBS)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 26 14:00:45 UTC 2016 - idonmez@suse.com
- Add gegl-0.2.0-linker-flags.patch to add -lm to linker flags
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 25 19:46:46 UTC 2014 - i@marguerite.su Sat Oct 25 19:46:46 UTC 2014 - i@marguerite.su

View File

@ -1,7 +1,7 @@
# #
# spec file for package gegl # spec file for package gegl
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -34,6 +34,8 @@ Patch1: gegl-ruby19.patch
# Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched build plus original as addon. # Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched build plus original as addon.
# PATCH-FIX-UPSTREAM sutesparse changed UF_long for SuiteSparse_long # PATCH-FIX-UPSTREAM sutesparse changed UF_long for SuiteSparse_long
Patch2: gegl-UF_long.patch Patch2: gegl-UF_long.patch
# PATCH-FIX-UPSTREAM gegl-0.2.0-linker-flags.patch idoenmez@suse.de -- Add -lm to linker flags
Patch3: gegl-0.2.0-linker-flags.patch
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: OpenEXR-devel BuildRequires: OpenEXR-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
@ -156,6 +158,7 @@ input and output.
%if 0%{?suse_version} > 1310 %if 0%{?suse_version} > 1310
%patch2 -p1 %patch2 -p1
%endif %endif
%patch3 -p1
# docs-build-fix.diff # docs-build-fix.diff
%build %build