/[pkgs]/devel/Io-language/Io-2007-10-10-gcc43.patch
ViewVC logotype

Contents of /devel/Io-language/Io-2007-10-10-gcc43.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Jan 12 11:10:15 2008 UTC (22 months, 1 week ago) by jwrdegoede
Branch: MAIN
CVS Tags: Io-language-20071010-6_fc10, F-12-split, Io-language-20071010-5_fc9, F-10-split, Io-language-20071010-11_fc12, Io-language-20071010-2_fc9, F-11-split, Io-language-20071010-7_fc11, Io-language-20071010-10_fc11, Io-language-20071010-3_fc9, F-9-split, Io-language-20071010-4_fc9, Io-language-20071010-8_fc11, Io-language-20071010-9_fc11, HEAD
File MIME type: text/x-patch
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 20071010-2
- Fix compilation with gcc 4.3
- Enable Cairo addon
1 --- Io-2007-10-10/libs/iovm/source/IoState_inline.h 2007-09-23 04:09:53.000000000 +0200
2 +++ Io-2007-10-10.new/libs/iovm/source/IoState_inline.h 2008-01-12 11:57:52.000000000 +0100
3 @@ -3,6 +3,9 @@
4 docLicense("BSD revised")
5 */
6
7 +#ifndef __IOSTATE_INLINE_H
8 +#define __IOSTATE_INLINE_H
9 +
10 #ifdef IOSTATE_C
11 #define IO_IN_C_FILE
12 #endif
13 @@ -33,8 +36,6 @@
14 #define IOFAILURE(self) IOFALSE(self)
15 #define ISFAILURE(self) ISFALSE(self)
16
17 -inline IoObject *IOBOOL(IoObject *self, int b);
18 -
19 #if !defined(IoObjectDataDefined)
20 typedef struct IoObjectData IoObjectData;
21 #endif
22 @@ -59,7 +60,7 @@
23 return self == IOSTATE->ioNil || self == IOSTATE->ioFalse;
24 }
25
26 -IOINLINE IoObject *IOBOOL(IoObject *self, int b)
27 +static inline IoObject *IOBOOL(IoObject *self, int b)
28 {
29 return b ? IOTRUE(self) : IOFALSE(self);
30 }
31 @@ -322,6 +323,8 @@
32 }
33
34
35 +#endif /* IO_DECLARE_INLINES */
36 +
37 #undef IO_IN_C_FILE
38 -#endif
39
40 +#endif

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2