summaryrefslogtreecommitdiff
path: root/academic/easy_spice/libm_underlinkage.patch
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2017-05-22 09:56:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:30:42 +0700
commitdcc7ebdb46660a188f9e7300317f0ba0771b48cb (patch)
treee294745248ade79b7812549aed5ed9ab3c29df9c /academic/easy_spice/libm_underlinkage.patch
parent67009d3f213da2a9001f6f8d2f1e090ba8bef3bc (diff)
downloadslackbuilds-dcc7ebdb46660a188f9e7300317f0ba0771b48cb.tar.gz
academic/easy_spice: Added (A Simple Frontend for SPICE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/easy_spice/libm_underlinkage.patch')
-rw-r--r--academic/easy_spice/libm_underlinkage.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/academic/easy_spice/libm_underlinkage.patch b/academic/easy_spice/libm_underlinkage.patch
new file mode 100644
index 0000000000..c7a54e51ea
--- /dev/null
+++ b/academic/easy_spice/libm_underlinkage.patch
@@ -0,0 +1,31 @@
+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
+