diff --git a/slim/.md5sum b/slim/.md5sum index 1c6a593e9..66922f2bc 100644 --- a/slim/.md5sum +++ b/slim/.md5sum @@ -1,3 +1,4 @@ 727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz 46349c2dc378b17d5857c5c1d904a636 slim-crux-smooth.tar.gz +dcc7e99ca74d6b93bca75b5dee95138b slim.diff 476ce747c77f1a7e116a7f63bfb7d8d3 slim.rc diff --git a/slim/Pkgfile b/slim/Pkgfile index e420b2a21..020bc10ea 100644 --- a/slim/Pkgfile +++ b/slim/Pkgfile @@ -6,11 +6,15 @@ name=slim version=1.3.1 -release=1 +release=2 source=(http://download.berlios.de/$name/$name-$version.tar.gz \ - http://jw.tks6.net/files/slim-crux-smooth.tar.gz $name.rc) + http://jw.tks6.net/files/slim-crux-smooth.tar.gz $name.rc + $name.diff) build () { + # fix the build with g++ 4.4 + patch -p0 -i $SRC/$name.diff + cd $name-$version make make DESTDIR=$PKG install diff --git a/slim/slim.diff b/slim/slim.diff new file mode 100644 index 000000000..4be459363 --- /dev/null +++ b/slim/slim.diff @@ -0,0 +1,11 @@ +diff -aur slim-1.3.1.orig/switchuser.cpp slim-1.3.1/switchuser.cpp +--- slim-1.3.1.orig/switchuser.cpp 2008-09-26 02:54:15.000000000 +0200 ++++ slim-1.3.1/switchuser.cpp 2009-07-20 15:23:06.105573161 +0200 +@@ -9,6 +9,7 @@ + (at your option) any later version. + */ + ++#include + #include "switchuser.h" + + using namespace std;