summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2018-10-27 20:01:14 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2018-10-27 20:01:14 +0200
commit3594f13ffe96369adbe5fb38e40e1b16515c0c78 (patch)
treea866f135cf8d4b9990908c36bd4d392ed783f418
parentdev-python/django: remove old (diff)
downloadgentoo-3594f13ffe96369adbe5fb38e40e1b16515c0c78.tar.gz
gentoo-3594f13ffe96369adbe5fb38e40e1b16515c0c78.tar.bz2
gentoo-3594f13ffe96369adbe5fb38e40e1b16515c0c78.zip
dev-libs/libzia: gcc-8 needs explicit link with -lm
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--dev-libs/libzia/files/libzia-4.14-ldadd.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-libs/libzia/files/libzia-4.14-ldadd.patch b/dev-libs/libzia/files/libzia-4.14-ldadd.patch
index a8636e1d127..4d0becc5306 100644
--- a/dev-libs/libzia/files/libzia-4.14-ldadd.patch
+++ b/dev-libs/libzia/files/libzia-4.14-ldadd.patch
@@ -1,10 +1,12 @@
# add local .libs directory to library search path during build of zsdltest
---- src/Makefile.am.orig 2018-10-19 18:19:54.067784664 +0200
-+++ src/Makefile.am 2018-10-19 18:20:26.419265774 +0200
-@@ -71,9 +71,10 @@
+--- src/Makefile.am.orig 2018-10-27 19:44:55.332591275 +0200
++++ src/Makefile.am 2018-10-27 19:45:54.268730862 +0200
+@@ -70,10 +70,11 @@
+ library_includedir = $(includedir)/libzia
zsdltest_SOURCES = zsdltest.c
- zsdltest_LDFLAGS = -lzia
+-zsdltest_LDFLAGS = -lzia
++zsdltest_LDFLAGS = -lzia -lm
+zsdltest_LDADD = -L.libs
-gpiotest_SOURCES = gpiotest.c