1 |
hkbst 08/04/25 23:22:03 |
2 |
|
3 |
Added: gcc-4.3.patch |
4 |
Log: |
5 |
add fixes for libtool-2.2 bug 212723 and gcc-4.3, bug 214787 |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-scheme/guile/files/gcc-4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/files/gcc-4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/files/gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gcc-4.3.patch |
15 |
=================================================================== |
16 |
diff -urN guile-1.8-1.8.3+1.old/libguile/c-tokenize.c guile-1.8-1.8.3+1/libguile/c-tokenize.c |
17 |
--- guile-1.8-1.8.3+1.old/libguile/c-tokenize.c 2007-06-13 22:00:56.000000000 +0000 |
18 |
+++ guile-1.8-1.8.3+1/libguile/c-tokenize.c 2008-02-23 01:40:11.000000000 +0000 |
19 |
@@ -579,6 +579,8 @@ |
20 |
#include <stdlib.h> |
21 |
#include <string.h> |
22 |
|
23 |
+#define YY_NO_INPUT |
24 |
+ |
25 |
int yylex(void); |
26 |
|
27 |
int yyget_lineno (void); |
28 |
diff -urN guile-1.8-1.8.3+1.old/libguile/c-tokenize.lex guile-1.8-1.8.3+1/libguile/c-tokenize.lex |
29 |
--- guile-1.8-1.8.3+1.old/libguile/c-tokenize.lex 2007-05-09 20:22:03.000000000 +0000 |
30 |
+++ guile-1.8-1.8.3+1/libguile/c-tokenize.lex 2008-02-23 01:39:42.000000000 +0000 |
31 |
@@ -18,7 +18,9 @@ |
32 |
#include <stdio.h> |
33 |
#include <stdlib.h> |
34 |
#include <string.h> |
35 |
- |
36 |
+ |
37 |
+#define YY_NO_INPUT |
38 |
+ |
39 |
int yylex(void); |
40 |
|
41 |
int yyget_lineno (void); |
42 |
diff -urN guile-1.8-1.8.3+1.old/libguile/inline.h guile-1.8-1.8.3+1/libguile/inline.h |
43 |
--- guile-1.8-1.8.3+1.old/libguile/inline.h 2007-05-09 20:22:03.000000000 +0000 |
44 |
+++ guile-1.8-1.8.3+1/libguile/inline.h 2008-02-23 01:43:22.000000000 +0000 |
45 |
@@ -55,6 +55,12 @@ |
46 |
extern unsigned scm_newcell2_count; |
47 |
extern unsigned scm_newcell_count; |
48 |
|
49 |
+#ifdef __GNUC_STDC_INLINE__ |
50 |
+#define SCM_C_GNU_INLINE SCM_C_INLINE __attribute__((__gnu_inline__)) |
51 |
+#else |
52 |
+#define SCM_C_GNU_INLINE SCM_C_INLINE |
53 |
+#endif |
54 |
+ |
55 |
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H |
56 |
/* definitely inlining */ |
57 |
#ifdef __GNUC__ |
58 |
@@ -62,7 +68,7 @@ |
59 |
#else |
60 |
static |
61 |
#endif |
62 |
-SCM_C_INLINE |
63 |
+SCM_C_GNU_INLINE |
64 |
#endif |
65 |
SCM |
66 |
scm_cell (scm_t_bits car, scm_t_bits cdr) |
67 |
@@ -138,7 +144,7 @@ |
68 |
#else |
69 |
static |
70 |
#endif |
71 |
-SCM_C_INLINE |
72 |
+SCM_C_GNU_INLINE |
73 |
#endif |
74 |
SCM |
75 |
scm_double_cell (scm_t_bits car, scm_t_bits cbr, |
76 |
@@ -213,7 +219,7 @@ |
77 |
#else |
78 |
static |
79 |
#endif |
80 |
-SCM_C_INLINE |
81 |
+SCM_C_GNU_INLINE |
82 |
#endif |
83 |
SCM |
84 |
scm_array_handle_ref (scm_t_array_handle *h, ssize_t p) |
85 |
@@ -228,7 +234,7 @@ |
86 |
#else |
87 |
static |
88 |
#endif |
89 |
-SCM_C_INLINE |
90 |
+SCM_C_GNU_INLINE |
91 |
#endif |
92 |
void |
93 |
scm_array_handle_set (scm_t_array_handle *h, ssize_t p, SCM v) |
94 |
@@ -243,7 +249,7 @@ |
95 |
#else |
96 |
static |
97 |
#endif |
98 |
-SCM_C_INLINE |
99 |
+SCM_C_GNU_INLINE |
100 |
#endif |
101 |
int |
102 |
scm_is_pair (SCM x) |
103 |
|
104 |
|
105 |
|
106 |
-- |
107 |
gentoo-commits@l.g.o mailing list |