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.

85 lines
3.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../clanlib06/gcc41.patch
  5. # Copyright (C) 2006 The T2 SDE 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. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -Nur ClanLib-0.6.5-orig/Sources/Core/IOData/Unix/directory_scanner_unix.cpp ClanLib-0.6.5/Sources/Core/IOData/Unix/directory_scanner_unix.cpp
  17. --- ClanLib-0.6.5-orig/Sources/Core/IOData/Unix/directory_scanner_unix.cpp 2002-01-10 10:23:30.000000000 +0000
  18. +++ ClanLib-0.6.5/Sources/Core/IOData/Unix/directory_scanner_unix.cpp 2006-04-22 17:27:33.377138250 +0000
  19. @@ -18,6 +18,7 @@
  20. #include <libgen.h>
  21. #include <fnmatch.h>
  22. #include "directory_scanner_unix.h"
  23. +#include <assert.h>
  24. CL_DirectoryScanner_Unix::CL_DirectoryScanner_Unix ()
  25. : dir_temp (NULL), entry (NULL)
  26. diff -Nur ClanLib-0.6.5-orig/Sources/GUI/messagebox_generic.h ClanLib-0.6.5/Sources/GUI/messagebox_generic.h
  27. --- ClanLib-0.6.5-orig/Sources/GUI/messagebox_generic.h 2002-01-16 19:16:51.000000000 +0000
  28. +++ ClanLib-0.6.5/Sources/GUI/messagebox_generic.h 2006-04-22 17:33:27.303257250 +0000
  29. @@ -26,7 +26,7 @@
  30. const std::string &button2,
  31. const std::string &button3);
  32. - CL_MessageBox_Generic::~CL_MessageBox_Generic();
  33. + ~CL_MessageBox_Generic();
  34. void set_text(const std::string &text);
  35. diff -Nur ClanLib-0.6.5-orig/Sources/SmallJPEG/jpgd/jpegdecoder.h ClanLib-0.6.5/Sources/SmallJPEG/jpgd/jpegdecoder.h
  36. --- ClanLib-0.6.5-orig/Sources/SmallJPEG/jpgd/jpegdecoder.h 2001-05-07 08:36:59.000000000 +0000
  37. +++ ClanLib-0.6.5/Sources/SmallJPEG/jpgd/jpegdecoder.h 2006-04-22 17:41:24.493079750 +0000
  38. @@ -493,26 +493,26 @@
  39. void find_eoi(void);
  40. //------------------
  41. - /*inline*/ uint jpeg_decoder::rol(uint i, uchar j);
  42. - /*inline*/ uint jpeg_decoder::get_char(void);
  43. - /*inline*/ uint jpeg_decoder::get_char(bool *Ppadding_flag);
  44. - /*inline*/ void jpeg_decoder::stuff_char(uchar q);
  45. - /*inline*/ uchar jpeg_decoder::get_octet(void);
  46. - /*inline*/ uint jpeg_decoder::get_bits_1(int num_bits);
  47. - /*inline*/ uint jpeg_decoder::get_bits_2(int numbits);
  48. - /*inline*/ int jpeg_decoder::huff_decode(Phuff_tables_t Ph);
  49. + /*inline*/ uint rol(uint i, uchar j);
  50. + /*inline*/ uint get_char(void);
  51. + /*inline*/ uint get_char(bool *Ppadding_flag);
  52. + /*inline*/ void stuff_char(uchar q);
  53. + /*inline*/ uchar get_octet(void);
  54. + /*inline*/ uint get_bits_1(int num_bits);
  55. + /*inline*/ uint get_bits_2(int numbits);
  56. + /*inline*/ int huff_decode(Phuff_tables_t Ph);
  57. #ifdef SUPPORT_X86ASM
  58. - /*inline*/ uint jpeg_decoder::huff_extend(uint i, int c);
  59. + /*inline*/ uint huff_extend(uint i, int c);
  60. #endif
  61. - /*inline*/ uchar jpeg_decoder::clamp(int i);
  62. + /*inline*/ uchar clamp(int i);
  63. #ifdef SUPPORT_MMX
  64. - /*inline*/ uint jpeg_decoder::get_high_byte_mmx(void);
  65. - /*inline*/ uint jpeg_decoder::get_high_word_mmx(void);
  66. - /*inline*/ void jpeg_decoder::get_bits_2_mmx_init(void);
  67. - /*inline*/ void jpeg_decoder::get_bits_2_mmx_deinit(void);
  68. - /*inline*/ uint jpeg_decoder::get_bits_2_mmx(int numbits);
  69. - /*inline*/ int jpeg_decoder::huff_decode_mmx(Phuff_tables_t Ph);
  70. + /*inline*/ uint get_high_byte_mmx(void);
  71. + /*inline*/ uint get_high_word_mmx(void);
  72. + /*inline*/ void get_bits_2_mmx_init(void);
  73. + /*inline*/ void get_bits_2_mmx_deinit(void);
  74. + /*inline*/ uint get_bits_2_mmx(int numbits);
  75. + /*inline*/ int huff_decode_mmx(Phuff_tables_t Ph);
  76. #endif
  77. //------------------
  78. int image_x_size;