OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pan/gcc43.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Fixes compiling using gcc >= 4.3
  17. --- pan-0.133/pan/general/log.cc.orig 2010-08-13 17:34:17.228176099 +0200
  18. +++ pan-0.133/pan/general/log.cc 2010-08-13 17:34:29.340007660 +0200
  19. @@ -20,6 +20,7 @@
  20. #include <config.h>
  21. #include <iostream>
  22. #include <cstdarg>
  23. +#include <cstdio>
  24. #include "log.h"
  25. using namespace pan;
  26. --- pan-0.133/pan/general/progress.cc.orig 2010-08-13 17:36:11.700003004 +0200
  27. +++ pan-0.133/pan/general/progress.cc 2010-08-13 17:36:22.568023413 +0200
  28. @@ -19,6 +19,7 @@
  29. #include <config.h>
  30. #include <cstdarg>
  31. +#include <cstdio>
  32. #include "progress.h"
  33. #include "string-view.h"
  34. --- pan-0.133/pan/usenet-utils/numbers.cc.orig 2010-08-13 18:10:31.856010852 +0200
  35. +++ pan-0.133/pan/usenet-utils/numbers.cc 2010-08-13 18:11:03.836003223 +0200
  36. @@ -19,6 +19,7 @@
  37. #include <config.h>
  38. #include <cctype>
  39. +#include <cstdio>
  40. #include <pan/general/string-view.h>
  41. #include "numbers.h"
  42. #include <algorithm>
  43. --- pan-0.133/pan/tasks/nntp.cc.orig 2010-08-13 18:36:41.276089959 +0200
  44. +++ pan-0.133/pan/tasks/nntp.cc 2010-08-13 18:38:00.248090443 +0200
  45. @@ -21,6 +21,7 @@
  46. #include <cassert>
  47. #include <cstdarg>
  48. #include <cstdlib> // abort, atoi, strtoul
  49. +#include <cstdio> // snprintf
  50. extern "C" {
  51. #include <glib.h>
  52. #include <glib/gi18n.h>
  53. --- pan-0.133/pan/tasks/nntp-pool.cc.orig 2010-08-13 18:40:17.412253225 +0200
  54. +++ pan-0.133/pan/tasks/nntp-pool.cc 2010-08-13 18:40:47.688337077 +0200
  55. @@ -19,6 +19,7 @@
  56. #include <config.h>
  57. #include <ctime>
  58. +#include <cstdio>
  59. #include <glib/gi18n.h>
  60. #include <pan/general/debug.h>
  61. #include <pan/general/log.h>