From a652756d504bbe6c59f80216efe241a9c59998a6 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 13 Aug 2010 18:46:16 +0200 Subject: [PATCH] pan: fixed to build with gcc >= 4.3 --- gnome2/pan/gcc43.patch | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 gnome2/pan/gcc43.patch diff --git a/gnome2/pan/gcc43.patch b/gnome2/pan/gcc43.patch new file mode 100644 index 000000000..7302add55 --- /dev/null +++ b/gnome2/pan/gcc43.patch @@ -0,0 +1,68 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pan/gcc43.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Description: Fixes compiling using gcc >= 4.3 + +--- pan-0.133/pan/general/log.cc.orig 2010-08-13 17:34:17.228176099 +0200 ++++ pan-0.133/pan/general/log.cc 2010-08-13 17:34:29.340007660 +0200 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include "log.h" + + using namespace pan; +--- pan-0.133/pan/general/progress.cc.orig 2010-08-13 17:36:11.700003004 +0200 ++++ pan-0.133/pan/general/progress.cc 2010-08-13 17:36:22.568023413 +0200 +@@ -19,6 +19,7 @@ + + #include + #include ++#include + #include "progress.h" + #include "string-view.h" + +--- pan-0.133/pan/usenet-utils/numbers.cc.orig 2010-08-13 18:10:31.856010852 +0200 ++++ pan-0.133/pan/usenet-utils/numbers.cc 2010-08-13 18:11:03.836003223 +0200 +@@ -19,6 +19,7 @@ + + #include + #include ++#include + #include + #include "numbers.h" + #include +--- pan-0.133/pan/tasks/nntp.cc.orig 2010-08-13 18:36:41.276089959 +0200 ++++ pan-0.133/pan/tasks/nntp.cc 2010-08-13 18:38:00.248090443 +0200 +@@ -21,6 +21,7 @@ + #include + #include + #include // abort, atoi, strtoul ++#include // snprintf + extern "C" { + #include + #include +--- pan-0.133/pan/tasks/nntp-pool.cc.orig 2010-08-13 18:40:17.412253225 +0200 ++++ pan-0.133/pan/tasks/nntp-pool.cc 2010-08-13 18:40:47.688337077 +0200 +@@ -19,6 +19,7 @@ + + #include + #include ++#include + #include + #include + #include