From: Sergei Trofimovich Date: Sun, 5 Jan 2020 13:26:45 +0000 (+0000) Subject: media-libs/gegl: add missing -lm to tests, bug #639986 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=385dfbc785aed31726688504959be6e20896716c;p=gentoo.git 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@@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 --- 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 53f29c49da7d..00e936ce68ea 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