New commits:
commit beede731adb957c85b27ce1a61a5d85dd7655109
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
w3c-libwww: Disable -Wl,--as-needed in LDFLAGS
This is not the correct fix, but it's the only way I've found in the
last few hours to get this to compile when -Wl,--as-needed is passed.
diff --git a/http/w3c-libwww/BUILD b/http/w3c-libwww/BUILD
new file mode 100755
index 0000000..a360359
--- /dev/null
+++ b/http/w3c-libwww/BUILD
@@ -0,0 +1,2 @@
+LDFLAGS=${LDFLAGS//-Wl,--as-needed/} &&
+default_build
diff --git a/http/w3c-libwww/HISTORY b/http/w3c-libwww/HISTORY
index ee7891a..6a3c84e 100644
--- a/http/w3c-libwww/HISTORY
+++ b/http/w3c-libwww/HISTORY
@@ -1,3 +1,11 @@
+2009-05-08 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: Disable -Wl,--as-needed in LDFLAGS
+ Even with patches and fixes from the following, it fails:
+ http://bugs.gentoo.org/show_bug.cgi?id=117919 (for --as-needed)
+ http://bugs.gentoo.org/show_bug.cgi?id=131698 (for --as-needed,
part 2)
+ http://bugs.gentoo.org/show_bug.cgi?id=40892 (for autoreconf)
+ http://mirrors.usc.edu/pub/linux/distributions/gentoo/net-libs/libwww/files/
(various other patches)
+
2008-03-18 Eric Sandall <sandalle AT sourcemage.org>
* DEPENDS: Switch X11-LIBS to the one and only xorg-libs
diff --git a/xfce-plugins/xfce4-cpugraph-plugin/HISTORY
b/xfce-plugins/xfce4-cpugraph-plugin/HISTORY
index af4944f..0edebd8 100644
--- a/xfce-plugins/xfce4-cpugraph-plugin/HISTORY
+++ b/xfce-plugins/xfce4-cpugraph-plugin/HISTORY
@@ -1,3 +1,8 @@
+2009-05-08 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply bug5344-asneeded.patch
+ * bug5344-asneeded.patch: Fix compilation with -Wl,--as-needed in
LDFLAGS
+ See http://bugzilla.xfce.org/show_bug.cgi?id=5344
+
2007-01-23 George Sherwood <george AT beernabeer.com>
* DETAILS: Updated to 0.3.0. Updated SOURCE & SOURCE_URL.
Updated SOURCE_DIRECTORY
diff --git a/xfce-plugins/xfce4-cpugraph-plugin/PRE_BUILD
b/xfce-plugins/xfce4-cpugraph-plugin/PRE_BUILD
new file mode 100755
index 0000000..5817b4b
--- /dev/null
+++ b/xfce-plugins/xfce4-cpugraph-plugin/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+patch $SOURCE_DIRECTORY/panel-plugin/Makefile.in \
+ $SCRIPT_DIRECTORY/bug5344-asneeded.patch
diff --git a/xfce-plugins/xfce4-cpugraph-plugin/bug5344-asneeded.patch
b/xfce-plugins/xfce4-cpugraph-plugin/bug5344-asneeded.patch
new file mode 100644
index 0000000..8bf7fde
--- /dev/null
+++ b/xfce-plugins/xfce4-cpugraph-plugin/bug5344-asneeded.patch
@@ -0,0 +1,16 @@
+#
+# Fix compiling with -Wl,--as-needed
+# See http://bugzilla.xfce.org/show_bug.cgi?id=5344
+#
+diff -Naur xfce4-cpugraph-plugin-0.3.0.orig/panel-plugin/Makefile.in
xfce4-cpugraph-plugin-0.3.0/panel-plugin/Makefile.in
+--- xfce4-cpugraph-plugin-0.3.0.orig/panel-plugin/Makefile.in 2009-05-08
18:59:04.932953251 -0700
++++ xfce4-cpugraph-plugin-0.3.0/panel-plugin/Makefile.in 2009-05-08
18:59:38.351705057 -0700
+@@ -202,7 +202,7 @@
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+ @LIBXFCE4PANEL_CFLAGS@
+
+-xfce4_cpugraph_plugin_LDFLAGS = \
++xfce4_cpugraph_plugin_LDADD = \
+ @LIBXFCE4PANEL_LIBS@
+
+ xfce4_cpugraph_plugin_SOURCES = \
diff --git a/xfce-plugins/xfce4-netload-plugin/HISTORY
b/xfce-plugins/xfce4-netload-plugin/HISTORY
index acb8e7d..e736dca 100644
--- a/xfce-plugins/xfce4-netload-plugin/HISTORY
+++ b/xfce-plugins/xfce4-netload-plugin/HISTORY
@@ -1,3 +1,8 @@
+2009-05-08 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply bug2782-asneeded.patch
+ * bug2782-asneeded.patch: Fix compilation with --as-needed in LDFLAGS
+ See http://bugzilla.xfce.org/show_bug.cgi?id=2782
+
2007-01-23 George Sherwood <george AT beernabeer.com>
* DETAILS: Updated to 0.4.0. Updated SOURCE & SOURCE_URL.