packages/utils/nut/patches/001-fix-missing-libmath-flags.patch
florian 761411f7ca nut: add package NUT 2.6.5
Makefile and patch for package NUT 2.6.5

dwmw2: Update to NUT 2.6.5, add OpenUPS, tidy up per-driver build a little.

Signed-off-by: Mehdi Abaakouk <sileht@sileht.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-08 17:06:08 +00:00

12 lines
457 B
Diff

--- nut-2.6.3.orig/drivers/Makefile.am 2011-12-05 16:36:46.000000000
0100
+++ nut-2.6.3/drivers/Makefile.am 2012-04-19 10:51:52.152059206 +0200
@@ -165,7 +165,7 @@
tripplite_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
bcmxcp_usb_SOURCES = bcmxcp_usb.c bcmxcp.c usb-common.c
-bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS)
+bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
blazer_usb_SOURCES = blazer.c blazer_usb.c libusb.c usb-common.c