Package: libinstpatch / 1.0.0-6

05-with_math_lib.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Missing symbols {pow,log}, add -lm flag to fix this.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: yes
---
 libinstpatch/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- libinstpatch.orig/libinstpatch/Makefile.am
+++ libinstpatch/libinstpatch/Makefile.am
@@ -211,7 +211,7 @@ ipatch_sources = \
 libinstpatch_1_0_la_SOURCES = $(ipatch_public_h_sources) $(ipatch_sources)
 libinstpatch_1_0_la_LDFLAGS = $(no_undefined) $(libinstpatch_la_def) \
   -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -export-dynamic
-libinstpatch_1_0_la_LIBADD = @SNDFILE_LIBS@ @GOBJECT_LIBS@
+libinstpatch_1_0_la_LIBADD = @SNDFILE_LIBS@ @GOBJECT_LIBS@ -lm
 
 ipatchincdir = $(includedir)/libinstpatch-1.0/libinstpatch
 ipatchinc_HEADERS = $(ipatch_public_h_sources) builtin_enums.h libinstpatch.h