libm_underlinkage.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. Description: Added missing math lib to link, fixing FTBFS.
  2. Author: Daniel T Chen <crimsun@ubuntu.com>
  3. Bug-Debian: https://bugs.debian.org/747052
  4. Last-Update: 2013-04-11
  5. Index: easyspice-0.6.8/src/Makefile.am
  6. ===================================================================
  7. --- easyspice-0.6.8.orig/src/Makefile.am 2013-04-11 09:44:23.680002124 -0400
  8. +++ easyspice-0.6.8/src/Makefile.am 2013-04-11 09:44:34.571928687 -0400
  9. @@ -18,7 +18,7 @@
  10. spice.c \
  11. util.c
  12. -easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
  13. +easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm
  14. localedir = @datadir@/locale
  15. DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
  16. Index: easyspice-0.6.8/src/Makefile.in
  17. ===================================================================
  18. --- easyspice-0.6.8.orig/src/Makefile.in 2013-04-11 09:44:17.416036093 -0400
  19. +++ easyspice-0.6.8/src/Makefile.in 2013-04-11 09:44:43.115859927 -0400
  20. @@ -181,7 +181,7 @@
  21. spice.c \
  22. util.c
  23. -easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
  24. +easy_spice_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lm
  25. AM_CFLAGS = -Wall
  26. all: all-am