Skip to Content.
Sympa Menu

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

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 (8508b6e09fcb537073a8a92540e83e66b89e8531)
  • Date: Thu, 24 Apr 2008 14:13:19 -0500

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

wm-addons/wbar/HISTORY | 4 ++++
wm-addons/wbar/PRE_BUILD | 3 +++
wm-addons/wbar/gcc43.patch | 19 +++++++++++++++++++
3 files changed, 26 insertions(+)

New commits:
commit 8508b6e09fcb537073a8a92540e83e66b89e8531
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

wbar: Fix compilation with gcc 4.3.0

diff --git a/wm-addons/wbar/HISTORY b/wm-addons/wbar/HISTORY
index 9a81422..075f554 100644
--- a/wm-addons/wbar/HISTORY
+++ b/wm-addons/wbar/HISTORY
@@ -1,3 +1,7 @@
+2008-04-24 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply gcc43.patch
+ * gcc43.patch: Fix compilation with gcc 4.3.0
+
2008-04-10 Arjan Bouter <abouter AT sourcemage.org>
* BUILD, DEPENDS, desktop/wbar.desktop, DETAILS, HISTORY: spell
created

diff --git a/wm-addons/wbar/PRE_BUILD b/wm-addons/wbar/PRE_BUILD
new file mode 100755
index 0000000..34cce88
--- /dev/null
+++ b/wm-addons/wbar/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/gcc43.patch
diff --git a/wm-addons/wbar/gcc43.patch b/wm-addons/wbar/gcc43.patch
new file mode 100644
index 0000000..695aa41
--- /dev/null
+++ b/wm-addons/wbar/gcc43.patch
@@ -0,0 +1,19 @@
+diff -Naur wbar-1.3.3.orig/IconLoader.cc wbar-1.3.3/IconLoader.cc
+--- wbar-1.3.3.orig/IconLoader.cc 2008-04-24 12:06:30.222538804 -0700
++++ wbar-1.3.3/IconLoader.cc 2008-04-24 12:08:41.678298214 -0700
+@@ -1,5 +1,6 @@
+ extern "C" {
+ #include <unistd.h>
++#include <cstdlib>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ };
+diff -Naur wbar-1.3.3.orig/SuperBar.cc wbar-1.3.3/SuperBar.cc
+--- wbar-1.3.3.orig/SuperBar.cc 2008-04-24 12:06:30.223539071 -0700
++++ wbar-1.3.3/SuperBar.cc 2008-04-24 12:09:47.454291462 -0700
+@@ -1,3 +1,5 @@
++#include <cstdlib>
++
+ #include "SuperBar.h"
+ #include "SuperIcon.h"
+



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (8508b6e09fcb537073a8a92540e83e66b89e8531), Eric Sandall, 04/24/2008

Archive powered by MHonArc 2.6.24.

Top of Page