Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (beede731adb957c85b27ce1a61a5d85dd7655109)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (beede731adb957c85b27ce1a61a5d85dd7655109)
  • Date: Fri, 8 May 2009 23:45:15 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

http/w3c-libwww/BUILD | 2 +
http/w3c-libwww/HISTORY | 8 +++++++
xfce-plugins/xfce4-cpugraph-plugin/HISTORY | 5 ++++
xfce-plugins/xfce4-cpugraph-plugin/PRE_BUILD | 3 ++
xfce-plugins/xfce4-cpugraph-plugin/bug5344-asneeded.patch | 16
++++++++++++++
xfce-plugins/xfce4-netload-plugin/HISTORY | 5 ++++
xfce-plugins/xfce4-netload-plugin/PRE_BUILD | 3 ++
xfce-plugins/xfce4-netload-plugin/bug2782-asneeded.patch | 16
++++++++++++++
8 files changed, 58 insertions(+)

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.

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)

commit c2d46be8d90665b9852bd2d05ea01987cc70538b
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

xfce4-cpugraph-plugin: Fix compilation with -Wl,--as-needed in LDFLAGS
See http://bugzilla.xfce.org/show_bug.cgi?id=5344

commit bb1b2c153a04fd54d71f0ee17b32d5a02053cc75
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

xfce4-netload-plugin: Fix compilation with --as-needed in LDFLAGS
See http://bugzilla.xfce.org/show_bug.cgi?id=2782

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.

diff --git a/xfce-plugins/xfce4-netload-plugin/PRE_BUILD
b/xfce-plugins/xfce4-netload-plugin/PRE_BUILD
new file mode 100755
index 0000000..3116365
--- /dev/null
+++ b/xfce-plugins/xfce4-netload-plugin/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+patch $SOURCE_DIRECTORY/panel-plugin/Makefile.in \
+ $SCRIPT_DIRECTORY/bug2782-asneeded.patch
diff --git a/xfce-plugins/xfce4-netload-plugin/bug2782-asneeded.patch
b/xfce-plugins/xfce4-netload-plugin/bug2782-asneeded.patch
new file mode 100644
index 0000000..f8dcf4f
--- /dev/null
+++ b/xfce-plugins/xfce4-netload-plugin/bug2782-asneeded.patch
@@ -0,0 +1,16 @@
+#
+# Based on http://bugzilla.xfce.org/show_bug.cgi?id=2782
+# but applied to Makefile.in instead of Makefile.am
+#
+diff -Naur xfce4-netload-plugin-0.4.0.orig/panel-plugin/Makefile.in
xfce4-netload-plugin-0.4.0/panel-plugin/Makefile.in
+--- xfce4-netload-plugin-0.4.0.orig/panel-plugin/Makefile.in 2009-05-08
18:36:12.377732648 -0700
++++ xfce4-netload-plugin-0.4.0/panel-plugin/Makefile.in 2009-05-08
18:37:22.776952639 -0700
+@@ -216,7 +216,7 @@
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+ @LIBXFCE4PANEL_CFLAGS@
+
+-xfce4_netload_plugin_LDFLAGS = \
++xfce4_netload_plugin_LDADD = \
+ @SOLLIBS@ \
+ @LIBXFCE4PANEL_LIBS@
+



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (beede731adb957c85b27ce1a61a5d85dd7655109), Eric Sandall, 05/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page