summaryrefslogtreecommitdiffstats
path: root/main/slim/slim-1.3.1-gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/slim/slim-1.3.1-gcc4.4.patch')
-rw-r--r--main/slim/slim-1.3.1-gcc4.4.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/slim/slim-1.3.1-gcc4.4.patch b/main/slim/slim-1.3.1-gcc4.4.patch
new file mode 100644
index 00000000..5708d707
--- /dev/null
+++ b/main/slim/slim-1.3.1-gcc4.4.patch
@@ -0,0 +1,17 @@
+Patch to allow compilation with gcc-4.4
+
+Notified by Daniel J. - from Debian bug tracker
+
+http://bugs.gentoo.org/252745
+
+--- a/switchuser.h 2008-11-11 19:40:18.000000000 +0000
++++ b/switchuser.h 2008-11-11 19:40:28.000000000 +0000
+@@ -18,6 +18,7 @@
+ #include <pwd.h>
+ #include <grp.h>
+ #include <paths.h>
++#include <cstdio>
+ #include <iostream>
+ #include "const.h"
+ #include "cfg.h"
+