summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-04-12 21:18:28 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-04-12 21:18:28 +0000
commit27c140bcfe3bd127fa3cd2692e1af6c5744a1fb1 (patch)
treea962451c9828300b1c82d83bc8dda8e9f7c8fa6c /sys-power/nut/files
parentStable on sparc, bug #260063 (diff)
downloadgentoo-2-27c140bcfe3bd127fa3cd2692e1af6c5744a1fb1.tar.gz
gentoo-2-27c140bcfe3bd127fa3cd2692e1af6c5744a1fb1.tar.bz2
gentoo-2-27c140bcfe3bd127fa3cd2692e1af6c5744a1fb1.zip
Version bump per bug #261366. Fixes HAL support with new HAL per bug #195165. Fixes --as-needed compile per bug #231772.
(Portage version: 2.2_rc27/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/nut/files')
-rw-r--r--sys-power/nut/files/nut-2.4.1-no-libdummy.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-power/nut/files/nut-2.4.1-no-libdummy.patch b/sys-power/nut/files/nut-2.4.1-no-libdummy.patch
new file mode 100644
index 000000000000..31a8e73e54f1
--- /dev/null
+++ b/sys-power/nut/files/nut-2.4.1-no-libdummy.patch
@@ -0,0 +1,18 @@
+diff -Nuar nut-2.4.1.orig/drivers/Makefile.am nut-2.4.1/drivers/Makefile.am
+--- nut-2.4.1.orig/drivers/Makefile.am 2008-07-04 20:12:38.201211819 -0700
++++ nut-2.4.1/drivers/Makefile.am 2008-07-04 20:12:59.829462787 -0700
+@@ -211,10 +211,12 @@
+ upscode2.h victronups.h powerpanel.h powerp-bin.h powerp-txt.h \
+ upshandler.h netxml-ups.h mge-xml.h
+
++EXTRA_LIBRARIES =
++
+ # Define a dummy library so that Automake builds rules for the
+ # corresponding object files. This library is not actually built,
+-EXTRA_LIBRARIES = libdummy.a
+-libdummy_a_SOURCES = main.c dstate.c serial.c
++#EXTRA_LIBRARIES += libdummy.a
++#libdummy_a_SOURCES = main.c dstate.c serial.c
+
+ # the nuthalmain library combines the code for main-hal.c and
+ # dstate-hal.c. It is necessary for Automake-technical reasons,