slim: fixed the build with g++ 4.4.
This commit is contained in:
parent
4c21aeb8cd
commit
408811862c
@ -1,3 +1,4 @@
|
||||
727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz
|
||||
46349c2dc378b17d5857c5c1d904a636 slim-crux-smooth.tar.gz
|
||||
dcc7e99ca74d6b93bca75b5dee95138b slim.diff
|
||||
476ce747c77f1a7e116a7f63bfb7d8d3 slim.rc
|
||||
|
@ -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
|
||||
|
11
slim/slim.diff
Normal file
11
slim/slim.diff
Normal file
@ -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 <cstdio>
|
||||
#include "switchuser.h"
|
||||
|
||||
using namespace std;
|
Loading…
x
Reference in New Issue
Block a user