OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 17-May-2007 12:18:56
Branch: HEAD Handle: 2007051711185600
Modified files:
openpkg-src/gcc gcc.patch gcc.spec
Log:
upgrade to GCC 4.2
Summary:
Revision Changes Path
1.29 +39 -40 openpkg-src/gcc/gcc.patch
1.140 +2 -2 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.patch
============================================================================
$ cvs diff -u -r1.28 -r1.29 gcc.patch
--- openpkg-src/gcc/gcc.patch 28 May 2006 11:45:53 -0000 1.28
+++ openpkg-src/gcc/gcc.patch 17 May 2007 10:18:56 -0000 1.29
@@ -1,7 +1,7 @@
Index: config.guess
---- config.guess.orig 2004-11-16 01:57:00 +0100
-+++ config.guess 2005-09-20 15:29:05 +0200
-@@ -189,7 +189,7 @@
+--- config.guess.orig 2006-10-16 05:27:17 +0200
++++ config.guess 2007-05-17 12:16:14 +0200
+@@ -192,7 +192,7 @@
release='-gnu'
;;
*)
@@ -11,8 +11,8 @@
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
Index: gcc/config/alpha/osf.h
---- gcc/config/alpha/osf.h.orig 2003-12-12 02:19:23.000000000 +0100
-+++ gcc/config/alpha/osf.h 2004-04-26 21:25:14.000000000 +0200
+--- gcc/config/alpha/osf.h.orig 2005-06-25 03:22:41 +0200
++++ gcc/config/alpha/osf.h 2007-05-17 12:16:14 +0200
@@ -78,7 +78,7 @@
constructor and call-frame data structures are not accidentally
overridden. */
@@ -22,9 +22,21 @@
%{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
%{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"
+Index: gcc/config/i386/sol2-10.h
+--- gcc/config/i386/sol2-10.h.orig 2006-07-21 07:31:33 +0200
++++ gcc/config/i386/sol2-10.h 2007-05-17 12:16:14 +0200
+@@ -88,7 +88,7 @@
+ #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
+
+ #ifdef TARGET_GNU_LD
+-#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:-m elf_i386} "
++#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:} "
+ #else
+ #define TARGET_LD_EMULATION ""
+ #endif
Index: gcc/config/i386/sol2.h
---- gcc/config/i386/sol2.h.orig 2004-06-14 19:31:27 +0200
-+++ gcc/config/i386/sol2.h 2004-06-21 09:53:21 +0200
+--- gcc/config/i386/sol2.h.orig 2005-06-25 03:22:41 +0200
++++ gcc/config/i386/sol2.h 2007-05-17 12:16:14 +0200
@@ -78,6 +78,9 @@
#undef ASM_QUAD
#endif
@@ -36,11 +48,11 @@
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
do { \
Index: gcc/config/sol2.h
---- gcc/config/sol2.h.orig 2004-07-17 23:18:56 +0200
-+++ gcc/config/sol2.h 2005-09-19 22:01:15 +0200
-@@ -144,8 +144,8 @@
+--- gcc/config/sol2.h.orig 2006-02-07 21:50:37 +0100
++++ gcc/config/sol2.h 2007-05-17 12:16:14 +0200
+@@ -143,8 +143,8 @@
"%{h*} %{v:-V} \
- %{b} %{Wl,*:%*} \
+ %{b} \
%{static:-dn -Bstatic} \
- %{shared:-G -dy %{!mimpure-text:-z text}} \
- %{symbolic:-Bsymbolic -G -dy -z text} \
@@ -49,22 +61,10 @@
%(link_arch) \
%{Qy:} %{!Qn:-Qy}"
-Index: sol2-10.h
---- gcc/config/i386/sol2-10.h.orig 2004-11-24 15:43:26.000000000 +0100
-+++ gcc/config/i386/sol2-10.h 2005-09-26 20:26:59.419760000 +0200
-@@ -80,7 +80,7 @@
- #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
-
- #ifdef TARGET_GNU_LD
--#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:-m elf_i386} "
-+#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:} "
- #else
- #define TARGET_LD_EMULATION ""
- #endif
Index: gcc/system.h
---- gcc/system.h.orig 2003-08-23 20:03:05.000000000 +0200
-+++ gcc/system.h 2003-09-03 20:02:11.000000000 +0200
-@@ -319,10 +319,6 @@
+--- gcc/system.h.orig 2006-03-22 20:36:22 +0100
++++ gcc/system.h 2007-05-17 12:16:14 +0200
+@@ -394,10 +394,6 @@
extern char *strstr (const char *, const char *);
#endif
@@ -75,9 +75,20 @@
#if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
extern void *malloc (size_t);
#endif
+Index: libcpp/charset.c
+--- libcpp/charset.c.orig 2005-11-04 00:08:18 +0100
++++ libcpp/charset.c 2007-05-17 12:16:14 +0200
+@@ -75,6 +75,7 @@
+ #define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
+ #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
+ #define iconv_close(x) (void)0
++#undef ICONV_CONST
+ #define ICONV_CONST
+ #endif
+
Index: libcpp/internal.h
---- libcpp/internal.h.orig 2004-09-09 21:16:55 +0200
-+++ libcpp/internal.h 2004-09-27 20:04:43 +0200
+--- libcpp/internal.h.orig 2006-02-18 10:25:31 +0100
++++ libcpp/internal.h 2007-05-17 12:16:14 +0200
@@ -33,6 +33,7 @@
#if HAVE_ICONV
#include <iconv.h>
@@ -86,15 +97,3 @@
#define HAVE_ICONV 0
typedef int iconv_t; /* dummy */
#endif
-Index: gcc/tree-object-size.c
---- gcc/tree-object-size.c.orig 2005-07-03 18:11:42 +0200
-+++ gcc/tree-object-size.c 2006-05-28 13:12:44 +0200
-@@ -595,7 +595,7 @@
- {
- unsigned HOST_WIDE_INT off = tree_low_cst (op1, 1);
-
-- bytes = compute_builtin_object_size (value, object_size_type);
-+ bytes = compute_builtin_object_size (op0, object_size_type);
- if (off > offset_limit)
- bytes = unknown[object_size_type];
- else if (off > bytes)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.139 -r1.140 gcc.spec
--- openpkg-src/gcc/gcc.spec 17 May 2007 08:08:49 -0000 1.139
+++ openpkg-src/gcc/gcc.spec 17 May 2007 10:18:56 -0000 1.140
@@ -23,7 +23,7 @@
##
# package version
-%define V_full 4.1.2
+%define V_full 4.2.0
%define V_comp %nil
# package information
@@ -79,7 +79,7 @@
prog gcc = {
version = %{V_full}
url = ftp://gcc.gnu.org/pub/gcc/releases/
- regex = (4\.1(\.\d+)?)
+ regex = (4\.2(\.\d+)?)
url = ftp://gcc.gnu.org/pub/gcc/releases/gcc-__NEWVER__/
regex = gcc-(__VER__)\.tar\.bz2
}
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]