tags 472564 + patch
thanks

Hi,

Attached is the diff for my fakeroot-ng 0.09-1.1 NMU.

-- 
Mark Hymers <mhy at debian dot org>
diff -u fakeroot-ng-0.09/debian/changelog fakeroot-ng-0.09/debian/changelog
--- fakeroot-ng-0.09/debian/changelog
+++ fakeroot-ng-0.09/debian/changelog
@@ -1,3 +1,10 @@
+fakeroot-ng (0.09-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-4.3.  Patch from Arthur Loiret.  Closes: #472564. 
+
+ -- Mark Hymers <[EMAIL PROTECTED]>  Sun, 06 Apr 2008 10:19:14 +0000
+
 fakeroot-ng (0.09-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- fakeroot-ng-0.09.orig/process.cpp
+++ fakeroot-ng-0.09/process.cpp
@@ -20,7 +20,10 @@
 #include "config.h"
 
 #include <sys/types.h>
-#include <errno.h>
+#include <sys/wait.h>
+#include <cerrno>
+#include <cstring>
+#include <climits>
 
 #include "syscalls.h"
 #include "arch/platform.h"
only in patch2:
unchanged:
--- fakeroot-ng-0.09.orig/ptrace.cpp
+++ fakeroot-ng-0.09/ptrace.cpp
@@ -20,7 +20,8 @@
 #include "config.h"
 
 #include <sys/ptrace.h>
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
 
 #include "syscalls.h"
 #include "arch/platform.h"
only in patch2:
unchanged:
--- fakeroot-ng-0.09.orig/main.cpp
+++ fakeroot-ng-0.09/main.cpp
@@ -24,10 +24,12 @@
 #include <sys/ptrace.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <errno.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstdarg>
+#include <cerrno>
+#include <cstring>
+#include <climits>
 
 #include "arch/platform.h"
 #include "parent.h"
only in patch2:
unchanged:
--- fakeroot-ng-0.09.orig/parent.cpp
+++ fakeroot-ng-0.09/parent.cpp
@@ -32,8 +32,9 @@
 
 #include <ext/hash_map>
 
-#include <stdio.h>
-#include <assert.h>
+#include <cstdio>
+#include <cassert>
+#include <cstring>
 
 #include "arch/platform.h"
 
only in patch2:
unchanged:
--- fakeroot-ng-0.09.orig/file.cpp
+++ fakeroot-ng-0.09/file.cpp
@@ -21,10 +21,12 @@
 
 #include <sys/stat.h>
 #include <sys/syscall.h>
-#include <errno.h>
 #include <fcntl.h>
+#include <cerrno>
+#include <cstring>
+#include <climits>
 
-#include <assert.h>
+#include <cassert>
 
 #include "syscalls.h"
 #include "file_lie.h"

Reply via email to