Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/files/
Date: Sun, 05 Jan 2020 13:27:09
Message-Id: 1578230819.385dfbc785aed31726688504959be6e20896716c.slyfox@gentoo
1 commit: 385dfbc785aed31726688504959be6e20896716c
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 13:26:45 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 13:26:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385dfbc7
7
8 media-libs/gegl: add missing -lm to tests, bug #639986
9
10 The change fixes underlinking on ia64:
11 ```
12 gnu/bin/ld: buffer-test.o: undefined reference to symbol 'floor@ <AT> GLIBC_2.2'
13 /usr/lib/gcc/ia64-unknown-linux-gnu/9.2.0/../../../../ia64-unknown-linux-gnu/bin/ld:
14 /lib/libm.so.6.1: error adding symbols: DSO missing from command line
15 ```
16
17 Closes: https://bugs.gentoo.org/639986
18 Package-Manager: Portage-2.3.84, Repoman-2.3.20
19 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
20
21 media-libs/gegl/files/gegl-0.2.0-underlinking.patch | 13 +++++++++++++
22 1 file changed, 13 insertions(+)
23
24 diff --git a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
25 index 53f29c49da7..00e936ce68e 100644
26 --- a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
27 +++ b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
28 @@ -47,6 +47,19 @@ index 8f1077d..4dd3845 100644
29
30 noinst_PROGRAMS = introspect operation_reference img_cmp
31
32 +diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
33 +index d62ce71..0a4df53 100644
34 +--- a/tests/buffer/Makefile.am
35 ++++ b/tests/buffer/Makefile.am
36 +@@ -30,7 +30,7 @@ AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
37 +
38 + buffer_test_LDADD = \
39 + $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
40 +- $(DEP_LIBS) $(BABL_LIBS)
41 ++ $(DEP_LIBS) $(BABL_LIBS) $(MATH_LIB)
42 +
43 +
44 + # Our custom target rules
45 --
46 2.12.2