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.

101 lines
3.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../djv/djv-0.8.2-gcc44.patch
  5. # Copyright (C) 2011 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: Fix compiling with gcc >= 4.4
  17. diff -ruN djv-0.8.2-orig/bin/softimage-flip/flip.cxx djv-0.8.2/bin/softimage-flip/flip.cxx
  18. --- djv-0.8.2-orig/bin/softimage-flip/flip.cxx 2009-05-25 22:46:34.000000000 +0200
  19. +++ djv-0.8.2/bin/softimage-flip/flip.cxx 2011-04-15 14:34:14.008078153 +0200
  20. @@ -10,6 +10,7 @@
  21. #include <sstream>
  22. #include <iomanip>
  23. #include <fstream>
  24. +#include <cstdlib>
  25. using namespace std;
  26. diff -ruN djv-0.8.2-orig/lib/djv_base/error.cxx djv-0.8.2/lib/djv_base/error.cxx
  27. --- djv-0.8.2-orig/lib/djv_base/error.cxx 2009-07-05 20:51:48.000000000 +0200
  28. +++ djv-0.8.2/lib/djv_base/error.cxx 2011-04-15 14:11:38.280077537 +0200
  29. @@ -6,6 +6,8 @@
  30. Use is subject to license terms.
  31. ------------------------------------------------------------------------------*/
  32. +#include <cstdio>
  33. +
  34. #include "error.h"
  35. #include <djv_base/string.h>
  36. diff -ruN djv-0.8.2-orig/lib/djv_base/file_seq.cxx djv-0.8.2/lib/djv_base/file_seq.cxx
  37. --- djv-0.8.2-orig/lib/djv_base/file_seq.cxx 2009-06-14 22:32:04.000000000 +0200
  38. +++ djv-0.8.2/lib/djv_base/file_seq.cxx 2011-04-15 14:12:43.772077819 +0200
  39. @@ -9,6 +9,8 @@
  40. #undef DJV_DEBUG
  41. //#define DJV_DEBUG
  42. +#include <cstdio>
  43. +
  44. #include "file.h"
  45. #include <algorithm>
  46. diff -ruN djv-0.8.2-orig/lib/djv_base/string_fnc.cxx djv-0.8.2/lib/djv_base/string_fnc.cxx
  47. --- djv-0.8.2-orig/lib/djv_base/string_fnc.cxx 2009-06-13 04:53:38.000000000 +0200
  48. +++ djv-0.8.2/lib/djv_base/string_fnc.cxx 2011-04-15 14:13:53.452078287 +0200
  49. @@ -9,6 +9,8 @@
  50. #undef DJV_DEBUG
  51. //#define DJV_DEBUG
  52. +#include <cstdio>
  53. +
  54. #include "string.h"
  55. #include <djv_base/math.h>
  56. diff -ruN djv-0.8.2-orig/lib/djv_image/glx_offscreen_pbuffer.cxx djv-0.8.2/lib/djv_image/glx_offscreen_pbuffer.cxx
  57. --- djv-0.8.2-orig/lib/djv_image/glx_offscreen_pbuffer.cxx 2009-05-25 22:46:34.000000000 +0200
  58. +++ djv-0.8.2/lib/djv_image/glx_offscreen_pbuffer.cxx 2011-04-15 14:17:08.460077819 +0200
  59. @@ -8,6 +8,8 @@
  60. //#define DJV_DEBUG
  61. +#include <cstdio>
  62. +
  63. #include "glx_offscreen_private.h"
  64. #include "glx_private.h"
  65. diff -ruN djv-0.8.2-orig/lib/djv_image/io_lut_etc.cxx djv-0.8.2/lib/djv_image/io_lut_etc.cxx
  66. --- djv-0.8.2-orig/lib/djv_image/io_lut_etc.cxx 2009-06-13 04:35:06.000000000 +0200
  67. +++ djv-0.8.2/lib/djv_image/io_lut_etc.cxx 2011-04-15 14:16:13.556077838 +0200
  68. @@ -6,6 +6,8 @@
  69. Use is subject to license terms.
  70. ------------------------------------------------------------------------------*/
  71. +#include <cstdio>
  72. +
  73. #include "io_lut.h"
  74. #include <djv_image/color.h>
  75. diff -ruN djv-0.8.2-orig/lib/djv_image/io_ppm_save.cxx djv-0.8.2/lib/djv_image/io_ppm_save.cxx
  76. --- djv-0.8.2-orig/lib/djv_image/io_ppm_save.cxx 2009-06-13 03:06:30.000000000 +0200
  77. +++ djv-0.8.2/lib/djv_image/io_ppm_save.cxx 2011-04-15 14:15:02.692075750 +0200
  78. @@ -8,6 +8,8 @@
  79. //#define DJV_DEBUG
  80. +#include <cstdio>
  81. +
  82. #include "io_ppm.h"
  83. #include <djv_image/gl_data.h>