View | Details | Raw Unified
Collapse All | Expand All

(-)gcc3.4.spec.alt (-1 / +179 lines)
Added Link Here 
2
2
3
Name: gcc%gcc_branch
3
Name: gcc%gcc_branch
4
Version: 3.4.5
4
Version: 3.4.5
5
Release: alt2
5
Release: alt2.0.1
6
6
7
Summary: GNU Compiler Collection
7
Summary: GNU Compiler Collection
8
License: GPL
8
License: GPL
Added Link Here 
99
Patch702: gcc34-alt-nowrap.patch
99
Patch702: gcc34-alt-nowrap.patch
100
Patch703: gcc34-alt-as-needed.patch
100
Patch703: gcc34-alt-as-needed.patch
101
101
102
# Local patches
103
Patch800: gcc-34-alt-visibility_headers.patch
104
102
Provides: gcc = %version-%release, %_bindir/%_target_platform-gcc, %_bindir/gcc
105
Provides: gcc = %version-%release, %_bindir/%_target_platform-gcc, %_bindir/gcc
103
Obsoletes: egcs, gcc3.0, gcc3.1
106
Obsoletes: egcs, gcc3.0, gcc3.1
104
Conflicts: glibc-devel < 2.2.6
107
Conflicts: glibc-devel < 2.2.6
Added Link Here 
111
114
112
BuildPreReq: rpm-build >= 4.0.4-alt39, %alternatives_deps, %binutils_deps
115
BuildPreReq: rpm-build >= 4.0.4-alt39, %alternatives_deps, %binutils_deps
113
BuildPreReq: coreutils, flex, zlib-devel, glibc-devel-static
116
BuildPreReq: coreutils, flex, zlib-devel, glibc-devel-static
117
BuildPreReq: make >= 3.81beta3
114
%{?_with_objc:%{?_enable_objc_gc:BuildPreReq: libgc-devel}}
118
%{?_with_objc:%{?_enable_objc_gc:BuildPreReq: libgc-devel}}
115
%{?_with_java:BuildPreReq: imake libXt-devel libart_lgpl-devel libgtk+2-devel libltdl-devel xorg-cf-files}
119
%{?_with_java:BuildPreReq: imake libXt-devel libart_lgpl-devel libgtk+2-devel libltdl-devel xorg-cf-files}
116
%{?_with_ada:BuildPreReq: gcc%gcc_branch-gnat}
120
%{?_with_ada:BuildPreReq: gcc%gcc_branch-gnat}
Added Link Here 
736
%patch702 -p1
740
%patch702 -p1
737
%patch703 -p1
741
%patch703 -p1
738
742
743
%patch800 -p1
744
739
find -type f -name \*.orig -delete -print
745
find -type f -name \*.orig -delete -print
740
746
741
# Set proper version & contact info.
747
# Set proper version & contact info.
Added Link Here 
1488
%endif #with_pdf
1494
%endif #with_pdf
1489
1495
1490
%changelog
1496
%changelog
1497
* Fri Mar 10 2006 Alexey Morozov <almorozov@altlinux.org> 3.4.5-alt2.0.1
1498
- NMU: Added alt-visibility_headers patch for proper support of -fvisibility
1499
1491
* Thu Mar 09 2006 Dmitry V. Levin <ldv@altlinux.org> 3.4.5-alt2
1500
* Thu Mar 09 2006 Dmitry V. Levin <ldv@altlinux.org> 3.4.5-alt2
1492
- Relocated ffitarget.h (#9213).
1501
- Relocated ffitarget.h (#9213).
1493
1502
Added Link Here 
1
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-dce.h gcc-3.4.5-20051201/gcc/gthr-dce.h
2
--- gcc-3.4.5-20051201.orig/gcc/gthr-dce.h	2005-11-21 19:43:20 +0600
3
@@ -29,6 +29,8 @@
4
 #ifndef GCC_GTHR_DCE_H
5
 #define GCC_GTHR_DCE_H
6
 
7
 /* If _DCE_THREADS is not defined, then we're building the single
8
    threaded version of the libraries and do not want to reference
9
    anything related to pthreads or dce.  */
10
@@ -528,4 +530,7 @@
11
 #undef UNUSED
12
 
13
 #endif
14
 #endif /* ! GCC_GTHR_DCE_H */
15
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-gnat.h gcc-3.4.5-20051201/gcc/gthr-gnat.h
16
--- gcc-3.4.5-20051201.orig/gcc/gthr-gnat.h	2005-11-21 19:43:21 +0600
17
@@ -28,6 +28,8 @@
18
 #ifndef GCC_GTHR_GNAT_H
19
 #define GCC_GTHR_GNAT_H
20
 
21
 /* Just provide compatibility for mutex handling.  */
22
 
23
 typedef int __gthread_mutex_t;
24
@@ -39,5 +41,7 @@
25
 extern int __gthread_mutex_lock (__gthread_mutex_t *);
26
 extern int __gthread_mutex_unlock (__gthread_mutex_t *);
27
 
28
 #endif /* ! GCC_GTHR_GNAT_H */
29
 
30
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-posix.h gcc-3.4.5-20051201/gcc/gthr-posix.h
31
--- gcc-3.4.5-20051201.orig/gcc/gthr-posix.h	2006-03-10 12:32:12 +0600
32
@@ -30,6 +30,8 @@
33
 #ifndef GCC_GTHR_POSIX_H
34
 #define GCC_GTHR_POSIX_H
35
 
36
 /* POSIX threads specific definitions.
37
    Easy, since the interface is just one-to-one mapping.  */
38
 
39
@@ -660,4 +662,6 @@
40
 
41
 #endif /* _LIBOBJC */
42
 
43
 #endif /* ! GCC_GTHR_POSIX_H */
44
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-rtems.h gcc-3.4.5-20051201/gcc/gthr-rtems.h
45
--- gcc-3.4.5-20051201.orig/gcc/gthr-rtems.h	2005-11-21 19:43:21 +0600
46
@@ -30,6 +30,8 @@
47
 #ifndef GCC_GTHR_RTEMS_H
48
 #define GCC_GTHR_RTEMS_H
49
 
50
 #ifdef __cplusplus
51
 extern "C" {
52
 #endif
53
@@ -125,4 +127,6 @@
54
 }
55
 #endif
56
 
57
 #endif /* ! GCC_GTHR_RTEMS_H */
58
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-single.h gcc-3.4.5-20051201/gcc/gthr-single.h
59
--- gcc-3.4.5-20051201.orig/gcc/gthr-single.h	2005-11-21 19:43:21 +0600
60
@@ -29,6 +29,8 @@
61
 #ifndef GCC_GTHR_SINGLE_H
62
 #define GCC_GTHR_SINGLE_H
63
 
64
 /* Just provide compatibility for mutex handling.  */
65
 
66
 typedef int __gthread_mutex_t;
67
@@ -255,4 +257,6 @@
68
 
69
 #undef UNUSED
70
 
71
 #endif /* ! GCC_GTHR_SINGLE_H */
72
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-solaris.h gcc-3.4.5-20051201/gcc/gthr-solaris.h
73
--- gcc-3.4.5-20051201.orig/gcc/gthr-solaris.h	2005-11-21 19:43:21 +0600
74
@@ -29,6 +29,8 @@
75
 #ifndef GCC_GTHR_SOLARIS_H
76
 #define GCC_GTHR_SOLARIS_H
77
 
78
 /* Solaris threads as found in Solaris 2.[456].
79
    Actually these are Unix International (UI) threads, but I don't
80
    know if anyone else implements these.  */
81
@@ -488,4 +490,6 @@
82
 
83
 #endif /* _LIBOBJC */
84
 
85
 #endif /* ! GCC_GTHR_SOLARIS_H */
86
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-vxworks.h gcc-3.4.5-20051201/gcc/gthr-vxworks.h
87
--- gcc-3.4.5-20051201.orig/gcc/gthr-vxworks.h	2005-11-21 19:43:20 +0600
88
@@ -30,6 +30,8 @@
89
 #ifndef GCC_GTHR_VXWORKS_H
90
 #define GCC_GTHR_VXWORKS_H
91
 
92
 #ifdef _LIBOBJC
93
 
94
 /* libobjc requires the optional pthreads component.  */
95
@@ -127,4 +129,6 @@
96
 
97
 #endif /* not _LIBOBJC */
98
 
99
 #endif /* gthr-vxworks.h */
100
diff -urN gcc-3.4.5-20051201.orig/gcc/gthr-win32.h gcc-3.4.5-20051201/gcc/gthr-win32.h
101
--- gcc-3.4.5-20051201.orig/gcc/gthr-win32.h	2005-11-21 19:43:20 +0600
102
@@ -30,6 +30,8 @@
103
 #ifndef GCC_GTHR_WIN32_H
104
 #define GCC_GTHR_WIN32_H
105
 
106
 /* Windows32 threads specific definitions. The windows32 threading model
107
    does not map well into pthread-inspired gcc's threading model, and so
108
    there are caveats one needs to be aware of.
109
@@ -618,4 +620,6 @@
110
 
111
 #endif /* _LIBOBJC */
112
 
113
 #endif /* ! GCC_GTHR_WIN32_H */
114
diff -urN gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/cxxabi.h gcc-3.4.5-20051201/libstdc++-v3/libsupc++/cxxabi.h
115
--- gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/cxxabi.h	2005-11-21 19:43:32 +0600
116
@@ -42,6 +42,8 @@
117
 #ifndef _CXXABI_H
118
 #define _CXXABI_H 1
119
 
120
 #include <stddef.h>
121
  
122
 #ifdef __cplusplus
123
@@ -525,4 +527,6 @@
124
 
125
 #endif // __cplusplus
126
 
127
 #endif // __CXXABI_H 
128
diff -urN gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/exception gcc-3.4.5-20051201/libstdc++-v3/libsupc++/exception
129
--- gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/exception	2005-11-21 19:43:32 +0600
130
@@ -37,6 +37,8 @@
131
 #ifndef __EXCEPTION__
132
 #define __EXCEPTION__
133
 
134
 extern "C++" {
135
 
136
 namespace std 
137
@@ -117,4 +119,6 @@
138
   
139
 } // extern "C++"
140
 
141
 #endif
142
diff -urN gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/new gcc-3.4.5-20051201/libstdc++-v3/libsupc++/new
143
--- gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/new	2005-11-21 19:43:32 +0600
144
@@ -41,6 +41,8 @@
145
 #include <cstddef>
146
 #include <exception>
147
 
148
 extern "C++" {
149
 
150
 namespace std 
151
@@ -98,4 +100,6 @@
152
 //@}
153
 } // extern "C++"
154
 
155
 #endif
156
diff -urN gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/typeinfo gcc-3.4.5-20051201/libstdc++-v3/libsupc++/typeinfo
157
--- gcc-3.4.5-20051201.orig/libstdc++-v3/libsupc++/typeinfo	2005-11-21 19:43:32 +0600
158
@@ -37,6 +37,8 @@
159
 
160
 #include <exception>
161
 
162
 extern "C++" {
163
 
164
 namespace __cxxabiv1
165
@@ -153,4 +155,7 @@
166
 } // namespace std
167
 
168
 } // extern "C++"
169
 #endif