diff options
author | Reinhard Tartler <siretart@tauware.de> | 2009-04-01 10:12:11 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2009-04-01 10:12:11 +0200 |
commit | 8009c234c33c30ddd16ea66e81b09890a5b72ccf (patch) | |
tree | 6ffc7df124837f0d3507afdb54892e50fa79c94d | |
parent | 05e1a385ca9a0809c8477e4ed171b58c2bb7a653 (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.diff | 21 |
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> + |