dev-libs/libzia: gcc-8 needs explicit link with -lm
authorThomas Beierlein <tomjbe@gentoo.org>
Sat, 27 Oct 2018 18:01:14 +0000 (20:01 +0200)
committerThomas Beierlein <tomjbe@gentoo.org>
Sat, 27 Oct 2018 18:01:14 +0000 (20:01 +0200)
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-libs/libzia/files/libzia-4.14-ldadd.patch

index a8636e1d1273721fd3ec7e870a808518c9ee1c57..4d0becc5306cc77ceafdcaa38a5c866254a7e132 100644 (file)
@@ -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