slackbuilds_ponce/academic/easy_spice/libm_underlinkage.patch
R. S. Ananda Murthy dcc7ebdb46 academic/easy_spice: Added (A Simple Frontend for SPICE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-05-27 07:30:42 +07:00

31 lines
1 KiB
Diff

Description: Added missing math lib to link, fixing FTBFS.
Author: Daniel T Chen <crimsun@ubuntu.com>
Bug-Debian: https://bugs.debian.org/747052
Last-Update: 2013-04-11
Index: easyspice-0.6.8/src/Makefile.am
===================================================================
--- easyspice-0.6.8.orig/src/Makefile.am 2013-04-11 09:44:23.680002124 -0400
+++ easyspice-0.6.8/src/Makefile.am 2013-04-11 09:44:34.571928687 -0400
@@ -18,7 +18,7 @@
spice.c \
util.c
-easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
+easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm
localedir = @datadir@/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
Index: easyspice-0.6.8/src/Makefile.in
===================================================================
--- easyspice-0.6.8.orig/src/Makefile.in 2013-04-11 09:44:17.416036093 -0400
+++ easyspice-0.6.8/src/Makefile.in 2013-04-11 09:44:43.115859927 -0400
@@ -181,7 +181,7 @@
spice.c \
util.c
-easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
+easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm
AM_CFLAGS = -Wall
all: all-am