commit:     385dfbc785aed31726688504959be6e20896716c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 13:26:45 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 13:26:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385dfbc7

media-libs/gegl: add missing -lm to tests, bug #639986

The change fixes underlinking on ia64:
```
gnu/bin/ld: buffer-test.o: undefined reference to symbol 'floor@ <AT> GLIBC_2.2'
/usr/lib/gcc/ia64-unknown-linux-gnu/9.2.0/../../../../ia64-unknown-linux-gnu/bin/ld:
    /lib/libm.so.6.1: error adding symbols: DSO missing from command line
```

Closes: https://bugs.gentoo.org/639986
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 media-libs/gegl/files/gegl-0.2.0-underlinking.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch 
b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
index 53f29c49da7..00e936ce68e 100644
--- a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
+++ b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
@@ -47,6 +47,19 @@ index 8f1077d..4dd3845 100644
  
  noinst_PROGRAMS = introspect operation_reference img_cmp
  
+diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
+index d62ce71..0a4df53 100644
+--- a/tests/buffer/Makefile.am
++++ b/tests/buffer/Makefile.am
+@@ -30,7 +30,7 @@ AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
+ 
+ buffer_test_LDADD =                                           \
+       $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la     \
+-      $(DEP_LIBS) $(BABL_LIBS)
++      $(DEP_LIBS) $(BABL_LIBS) $(MATH_LIB)
+ 
+ 
+ # Our custom target rules
 -- 
 2.12.2
 

Reply via email to