diff options
author | Bartlomiej Palmowski <maks1k@wp.pl> | 2008-10-28 17:48:55 +0100 |
---|---|---|
committer | Bartlomiej Palmowski <maks1k@wp.pl> | 2008-10-28 17:48:55 +0100 |
commit | 43ccd739a97686a92c493440720357dc61e8b8ab (patch) | |
tree | cf9cc5c5a1c649588123f3bba2a1ac86166066e7 /wbar | |
parent | cba0522df052d52e109b9bf199944e949695cdeb (diff) | |
download | contrib-43ccd739a97686a92c493440720357dc61e8b8ab.tar.gz contrib-43ccd739a97686a92c493440720357dc61e8b8ab.tar.xz |
wbar: crux 2.5 ready
Diffstat (limited to 'wbar')
-rw-r--r-- | wbar/.md5sum | 1 | ||||
-rw-r--r-- | wbar/Pkgfile | 3 | ||||
-rw-r--r-- | wbar/wbar-1.3.3_gcc43.patch | 33 |
3 files changed, 36 insertions, 1 deletions
diff --git a/wbar/.md5sum b/wbar/.md5sum index 2b26ddf0f..a5c793765 100644 --- a/wbar/.md5sum +++ b/wbar/.md5sum @@ -1,2 +1,3 @@ 96b4c7b507b996460d9a9c2f8cc9727e wbar-1.3.3-dot.wbar.patch 542335a273188de0d6a93102501351a4 wbar-1.3.3.tbz2 +043c7676b626fc4abd9108d7ca26f84e wbar-1.3.3_gcc43.patch diff --git a/wbar/Pkgfile b/wbar/Pkgfile index 9a1fe0fb7..1bc04cf13 100644 --- a/wbar/Pkgfile +++ b/wbar/Pkgfile @@ -8,12 +8,13 @@ name=wbar version=1.3.3 release=1 source=(http://freshmeat.net/redir/$name/66660/url_mirror/$name-$version.tbz2 -$name-$version-dot.wbar.patch) +$name-$version-dot.wbar.patch $name-${version}_gcc43.patch) build() { tar --use-compress-program=bzip2 -xf $name-$version.tbz2 cd $name-$version patch -p1 -i ../$name-$version-dot.wbar.patch + patch -p1 -i ../$name-${version}_gcc43.patch sed -i "/CXXFLAGS/s/-O2/$CXXFLAGS/" Makefile make mkdir -p $PKG/usr/share/wbar diff --git a/wbar/wbar-1.3.3_gcc43.patch b/wbar/wbar-1.3.3_gcc43.patch new file mode 100644 index 000000000..3cd866a1d --- /dev/null +++ b/wbar/wbar-1.3.3_gcc43.patch @@ -0,0 +1,33 @@ +diff -Naur wbar-1.3.3.orig/IconLoader.cc wbar-1.3.3/IconLoader.cc +--- wbar-1.3.3.orig/IconLoader.cc 2006-12-29 01:54:29.000000000 +0000 ++++ wbar-1.3.3/IconLoader.cc 2008-08-06 15:35:58.000000000 +0000 +@@ -2,6 +2,7 @@ + #include <unistd.h> + #include <sys/stat.h> + #include <sys/types.h> ++#include <cstdlib> + }; + + #include "IconLoader.h" +diff -Naur wbar-1.3.3.orig/Main.cc wbar-1.3.3/Main.cc +--- wbar-1.3.3.orig/Main.cc 2007-08-06 12:28:11.000000000 +0000 ++++ wbar-1.3.3/Main.cc 2008-08-06 15:35:00.000000000 +0000 +@@ -4,6 +4,8 @@ + #include <unistd.h> + #include <stdlib.h> + #include <iostream> ++#include <cstdlib> ++#include <memory> + + #include "XWin.h" + #include "ImgWrap.h" +diff -Naur wbar-1.3.3.orig/SuperBar.cc wbar-1.3.3/SuperBar.cc +--- wbar-1.3.3.orig/SuperBar.cc 2007-08-04 00:24:34.000000000 +0000 ++++ wbar-1.3.3/SuperBar.cc 2008-08-06 15:51:14.000000000 +0000 +@@ -1,5 +1,6 @@ + #include "SuperBar.h" + #include "SuperIcon.h" ++#include <cstdlib> + + using namespace std; + |