r770 - in /trunk/boinc/debian: changelog patches/201_missing_headers_for_gcc4.3.patch patches/series rules
fst at users.alioth.debian.org
fst at users.alioth.debian.org
Thu Dec 13 17:02:39 UTC 2007
Author: fst
Date: Thu Dec 13 17:02:38 2007
New Revision: 770
URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=770
Log:
debian/patches/:
- Added 201_missing_headers_for_gcc4.3.patch which adds missing C++
headers to several source files. This is required to fix a FTBFS with
recent GCC 4.3 snapshots. Thanks to Martin Michlmayr <tbm at cyrius.com>
for the bug report. (closes: #456041)
Added:
trunk/boinc/debian/patches/201_missing_headers_for_gcc4.3.patch
Modified:
trunk/boinc/debian/changelog
trunk/boinc/debian/patches/series
trunk/boinc/debian/rules
Modified: trunk/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/changelog?rev=770&op=diff
==============================================================================
--- trunk/boinc/debian/changelog (original)
+++ trunk/boinc/debian/changelog Thu Dec 13 17:02:38 2007
@@ -5,8 +5,13 @@
[ Frank S. Thomas ]
* debian/rules: Wrote get-orig-source target which fetches the latest tagged
BOINC version.
-
- -- Frank S. Thomas <fst at debian.org> Fri, 07 Dec 2007 22:40:36 +0100
+ * debian/patches/:
+ - Added 201_missing_headers_for_gcc4.3.patch which adds missing C++
+ headers to several source files. This is required to fix a FTBFS with
+ recent GCC 4.3 snapshots. Thanks to Martin Michlmayr <tbm at cyrius.com>
+ for the bug report. (closes: #456041)
+
+ -- Frank S. Thomas <fst at debian.org> Thu, 13 Dec 2007 17:54:37 +0100
boinc (5.10.30-1) unstable; urgency=low
Added: trunk/boinc/debian/patches/201_missing_headers_for_gcc4.3.patch
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/patches/201_missing_headers_for_gcc4.3.patch?rev=770&op=file
==============================================================================
--- trunk/boinc/debian/patches/201_missing_headers_for_gcc4.3.patch (added)
+++ trunk/boinc/debian/patches/201_missing_headers_for_gcc4.3.patch Thu Dec 13 17:02:38 2007
@@ -1,0 +1,123 @@
+Index: boinc/db/db_base.h
+===================================================================
+--- boinc/db/db_base.h (revision 14381)
++++ boinc/db/db_base.h (working copy)
+@@ -20,6 +20,9 @@
+ #ifndef _DB_BASE_
+ #define _DB_BASE_
+
++#include <cstdlib>
++#include <string>
++
+ #include <mysql.h>
+
+ // if SQL columns are not 'not null', you must use these safe_atoi, safe_atof
+Index: boinc/sched/edf_sim.C
+===================================================================
+--- boinc/sched/edf_sim.C (revision 14381)
++++ boinc/sched/edf_sim.C (working copy)
+@@ -19,6 +19,7 @@
+
+ #include <vector>
+ #include <algorithm>
++#include <cstdio>
+
+ #include "edf_sim.h"
+
+Index: boinc/sched/edf_sim.h
+===================================================================
+--- boinc/sched/edf_sim.h (revision 14381)
++++ boinc/sched/edf_sim.h (working copy)
+@@ -20,6 +20,7 @@
+ #ifndef _EDF_SIM_H
+ #define _EDF_SIM_H
+
++#include <cstring>
+ #include <vector>
+
+ struct IP_RESULT {
+Index: boinc/sched/validator.C
+===================================================================
+--- boinc/sched/validator.C (revision 14381)
++++ boinc/sched/validator.C (working copy)
+@@ -37,6 +37,7 @@
+
+ #include "config.h"
+ #include <unistd.h>
++#include <climits>
+ #include <cmath>
+ #include <vector>
+
+Index: boinc/sched/sched_locality.C
+===================================================================
+--- boinc/sched/sched_locality.C (revision 14381)
++++ boinc/sched/sched_locality.C (working copy)
+@@ -39,6 +39,8 @@
+ #include "sched_locality.h"
+ #include "sched_util.h"
+
++#include <algorithm>
++#include <climits>
+ #include <vector>
+ #include <string>
+ #include <cstring>
+Index: boinc/lib/crypt.C
+===================================================================
+--- boinc/lib/crypt.C (revision 14381)
++++ boinc/lib/crypt.C (working copy)
+@@ -26,6 +26,7 @@
+ #include <cctype>
+ #include <cstdio>
+ #include <cstdlib>
++#include <cstring>
+ #endif
+
+ #include "md5_file.h"
+Index: boinc/lib/parse.h
+===================================================================
+--- boinc/lib/parse.h (revision 14381)
++++ boinc/lib/parse.h (working copy)
+@@ -25,6 +25,7 @@
+ #else
+ #include <cstdio>
+ #include <cstdlib>
++#include <cstring>
+ #include <string>
+ #include <math.h>
+ #ifdef solaris
+Index: boinc/lib/procinfo_unix.C
+===================================================================
+--- boinc/lib/procinfo_unix.C (revision 14381)
++++ boinc/lib/procinfo_unix.C (working copy)
+@@ -29,6 +29,7 @@
+
+ #include <stdio.h>
+
++#include <cstring>
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <dirent.h>
+Index: boinc/client/cs_account.C
+===================================================================
+--- boinc/client/cs_account.C (revision 14381)
++++ boinc/client/cs_account.C (working copy)
+@@ -23,6 +23,7 @@
+
+ #ifndef _WIN32
+ #include "config.h"
++#include <algorithm>
+ #include <cstdio>
+ #include <cassert>
+ #ifdef HAVE_SYS_STAT_H
+Index: boinc/client/client_msgs.C
+===================================================================
+--- boinc/client/client_msgs.C (revision 14381)
++++ boinc/client/client_msgs.C (working copy)
+@@ -22,6 +22,7 @@
+ #else
+ #include "config.h"
+ #include <cstdarg>
++#include <cstring>
+ #include <deque>
+ #endif
+
Modified: trunk/boinc/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/patches/series?rev=770&op=diff
==============================================================================
--- trunk/boinc/debian/patches/series (original)
+++ trunk/boinc/debian/patches/series Thu Dec 13 17:02:38 2007
@@ -2,3 +2,4 @@
002_remove_hardcoded_optimization.patch
003_use_sensible-browser.patch
004_exclude_sea.patch
+201_missing_headers_for_gcc4.3.patch
Modified: trunk/boinc/debian/rules
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/rules?rev=770&op=diff
==============================================================================
--- trunk/boinc/debian/rules (original)
+++ trunk/boinc/debian/rules Thu Dec 13 17:02:38 2007
@@ -2,6 +2,11 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+# Uncomment this to compile with gcc-snapshot.
+#export CC = /usr/lib/gcc-snapshot/bin/gcc
+#export CXX = /usr/lib/gcc-snapshot/bin/g++
+#export CPP = /usr/lib/gcc-snapshot/bin/cpp
include /usr/share/quilt/quilt.make
More information about the pkg-boinc-commits
mailing list