summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch')
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch b/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch
new file mode 100644
index 000000000000..b9acb24f41fb
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-0.6.5-gcc41.patch
@@ -0,0 +1,56 @@
+--- Sources/GUI/messagebox_generic.h.old 2005-12-05 10:53:26.000000000 +0100
++++ Sources/GUI/messagebox_generic.h 2005-12-05 10:53:56.000000000 +0100
+@@ -26,7 +26,7 @@
+ const std::string &button2,
+ const std::string &button3);
+
+- CL_MessageBox_Generic::~CL_MessageBox_Generic();
++ ~CL_MessageBox_Generic();
+
+ void set_text(const std::string &text);
+
+--- Sources/SmallJPEG/jpgd/jpegdecoder.h.old 2005-12-05 10:58:53.000000000 +0100
++++ Sources/SmallJPEG/jpgd/jpegdecoder.h 2005-12-05 11:00:50.000000000 +0100
+@@ -493,26 +493,26 @@
+
+ void find_eoi(void);
+ //------------------
+- /*inline*/ uint jpeg_decoder::rol(uint i, uchar j);
+- /*inline*/ uint jpeg_decoder::get_char(void);
+- /*inline*/ uint jpeg_decoder::get_char(bool *Ppadding_flag);
+- /*inline*/ void jpeg_decoder::stuff_char(uchar q);
+- /*inline*/ uchar jpeg_decoder::get_octet(void);
+- /*inline*/ uint jpeg_decoder::get_bits_1(int num_bits);
+- /*inline*/ uint jpeg_decoder::get_bits_2(int numbits);
+- /*inline*/ int jpeg_decoder::huff_decode(Phuff_tables_t Ph);
++ /*inline*/ uint rol(uint i, uchar j);
++ /*inline*/ uint get_char(void);
++ /*inline*/ uint get_char(bool *Ppadding_flag);
++ /*inline*/ void stuff_char(uchar q);
++ /*inline*/ uchar get_octet(void);
++ /*inline*/ uint get_bits_1(int num_bits);
++ /*inline*/ uint get_bits_2(int numbits);
++ /*inline*/ int huff_decode(Phuff_tables_t Ph);
+ #ifdef SUPPORT_X86ASM
+- /*inline*/ uint jpeg_decoder::huff_extend(uint i, int c);
++ /*inline*/ uint huff_extend(uint i, int c);
+ #endif
+- /*inline*/ uchar jpeg_decoder::clamp(int i);
++ /*inline*/ uchar clamp(int i);
+
+ #ifdef SUPPORT_MMX
+- /*inline*/ uint jpeg_decoder::get_high_byte_mmx(void);
+- /*inline*/ uint jpeg_decoder::get_high_word_mmx(void);
+- /*inline*/ void jpeg_decoder::get_bits_2_mmx_init(void);
+- /*inline*/ void jpeg_decoder::get_bits_2_mmx_deinit(void);
+- /*inline*/ uint jpeg_decoder::get_bits_2_mmx(int numbits);
+- /*inline*/ int jpeg_decoder::huff_decode_mmx(Phuff_tables_t Ph);
++ /*inline*/ uint get_high_byte_mmx(void);
++ /*inline*/ uint get_high_word_mmx(void);
++ /*inline*/ void get_bits_2_mmx_init(void);
++ /*inline*/ void get_bits_2_mmx_deinit(void);
++ /*inline*/ uint get_bits_2_mmx(int numbits);
++ /*inline*/ int huff_decode_mmx(Phuff_tables_t Ph);
+ #endif
+ //------------------
+ int image_x_size;