wok-6.x rev 3815
Fix: slim cook with gcc 4.4 serie
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Aug 06 14:18:28 2009 +0200 (2009-08-06) |
parents | d1a8af0e1a74 |
children | 638946a9f112 |
files | slim-pam/receipt slim/receipt slim/stuff/gcc44.patch |
line diff
1.1 --- a/slim-pam/receipt Thu Aug 06 09:52:36 2009 +0200 1.2 +++ b/slim-pam/receipt Thu Aug 06 14:18:28 2009 +0200 1.3 @@ -19,6 +19,7 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + patch -p0 < ../../slim/stuff/gcc44.patch || exit 1 1.8 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile 1.9 sed -i "s|/usr/X11R6/|/usr/|g" Makefile 1.10 make USE_PAM=1 1.11 @@ -29,7 +30,7 @@ 1.12 { 1.13 mkdir -p $fs/usr/bin $fs/usr/share/slim 1.14 cp -a $src/slim $fs/usr/bin 1.15 - 1.16 + 1.17 # Config file and rc script (theme is in slitaz-configs). 1.18 cp -a ../$SOURCE/stuff/etc $fs 1.19 chown -R root.root $fs
2.1 --- a/slim/receipt Thu Aug 06 09:52:36 2009 +0200 2.2 +++ b/slim/receipt Thu Aug 06 14:18:28 2009 +0200 2.3 @@ -20,6 +20,7 @@ 2.4 compile_rules() 2.5 { 2.6 cd $src 2.7 + patch -p0 < ../stuff/gcc44.patch || exit 1 2.8 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile 2.9 sed -i "s|/usr/X11R6/|/usr/|g" Makefile 2.10 make
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/slim/stuff/gcc44.patch Thu Aug 06 14:18:28 2009 +0200 3.3 @@ -0,0 +1,10 @@ 3.4 +--- switchuser.cpp Fri Sep 26 02:54:15 2008 3.5 ++++ switchuser.cpp Thu Aug 6 12:50:06 2009 3.6 +@@ -9,6 +9,7 @@ 3.7 + (at your option) any later version. 3.8 + */ 3.9 + 3.10 ++#include <cstdio> 3.11 + #include "switchuser.h" 3.12 + 3.13 + using namespace std;