summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-04-01 10:12:11 +0200
committerReinhard Tartler <siretart@tauware.de>2009-04-01 10:12:11 +0200
commit8009c234c33c30ddd16ea66e81b09890a5b72ccf (patch)
tree6ffc7df124837f0d3507afdb54892e50fa79c94d
parent05e1a385ca9a0809c8477e4ed171b58c2bb7a653 (diff)
improve 02-gcc-4.4-fixes.diff
add a missing #include and a short documentation
-rw-r--r--debian/patches/02-gcc-4.4-fixes.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/02-gcc-4.4-fixes.diff b/debian/patches/02-gcc-4.4-fixes.diff
index 431d1405..5c39d91f 100644
--- a/debian/patches/02-gcc-4.4-fixes.diff
+++ b/debian/patches/02-gcc-4.4-fixes.diff
@@ -1,3 +1,10 @@
+In order to compile with recent versions of gcc, some includes needs to be adjusted.
+
+Some of the patches in this diff are required for gcc-4.3, some others
+for gcc-4.4. I haven't disentagled which patch is required for what
+exact version of gcc, but all of them are rather obvious and probably be
+applied upstream.
+
=== modified file 'bin/bbackupobjdump/bbackupobjdump.cpp'
--- old/bin/bbackupobjdump/bbackupobjdump.cpp 2009-03-31 13:58:19 +0000
+++ new/bin/bbackupobjdump/bbackupobjdump.cpp 2009-03-31 13:58:21 +0000
@@ -270,3 +277,17 @@
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
+=== modified file 'bin/bbackupctl/bbackupctl.cpp'
+--- old/bin/bbackupctl/bbackupctl.cpp 2009-03-31 19:41:41 +0000
++++ new/bin/bbackupctl/bbackupctl.cpp 2009-04-01 08:06:58 +0000
+@@ -9,7 +9,8 @@
+
+ #include "Box.h"
+
+-#include <stdio.h>
++#include <cstdio>
++#include <cstdlib>
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+