Mon, 17 Sep 2012 19:10:10 +0200
Update to new version of vendor software although Oracle fails to deliver.
More specifically, newer db(3) patch revisions exist but Oracle has
removed them from the canonical download server URI for Berkely DB.
1 Index: config.guess
2 --- config.guess.orig 2011-06-06 12:34:35.000000000 +0200
3 +++ config.guess 2012-07-21 09:15:05.000000000 +0200
4 @@ -194,7 +194,7 @@
5 release='-gnu'
6 ;;
7 *)
8 - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
9 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
10 ;;
11 esac
12 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
13 Index: gcc/config/i386/sol2.h
14 --- gcc/config/i386/sol2.h.orig 2011-08-01 14:14:21.000000000 +0200
15 +++ gcc/config/i386/sol2.h 2012-07-21 09:15:05.000000000 +0200
16 @@ -100,6 +100,9 @@
17 #undef ASM_QUAD
18 #endif
20 +#undef DEFAULT_PCC_STRUCT_RETURN
21 +#define DEFAULT_PCC_STRUCT_RETURN 1
22 +
23 /* The Solaris assembler wants a .local for non-exported aliases. */
24 #define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
25 do { \
26 Index: gcc/config/sol2-bi.h
27 --- gcc/config/sol2-bi.h.orig 2011-07-07 11:24:16.000000000 +0200
28 +++ gcc/config/sol2-bi.h 2012-07-21 09:31:52.000000000 +0200
29 @@ -75,7 +75,7 @@
30 %{YP,*} \
31 %{R*} \
32 %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \
33 - %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}"
34 + %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}} -rpath-link %R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}"
36 #undef LINK_ARCH64_SPEC
37 #ifndef USE_GLD
38 Index: gcc/config/sol2.h
39 --- gcc/config/sol2.h.orig 2011-08-18 16:47:46.000000000 +0200
40 +++ gcc/config/sol2.h 2012-07-21 09:15:05.000000000 +0200
41 @@ -171,8 +171,8 @@
42 "%{h*} %{v:-V} \
43 %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \
44 %{static:-dn -Bstatic} \
45 - %{shared:-G -dy %{!mimpure-text:-z text}} \
46 - %{symbolic:-Bsymbolic -G -dy -z text} \
47 + %{shared:-G -dy} \
48 + %{symbolic:-Bsymbolic -G -dy} \
49 %{pthreads|pthread|fprofile-generate*:" LIB_THREAD_LDFLAGS_SPEC "} \
50 %(link_arch) \
51 %{Qy:} %{!Qn:-Qy}"
52 Index: gcc/system.h
53 --- gcc/system.h.orig 2012-02-17 00:16:28.000000000 +0100
54 +++ gcc/system.h 2012-07-21 09:15:05.000000000 +0200
55 @@ -455,10 +455,6 @@
56 }
57 #endif
59 -#ifdef HAVE_MALLOC_H
60 -#include <malloc.h>
61 -#endif
62 -
63 #ifdef __cplusplus
64 extern "C" {
65 #endif
66 Index: libcpp/charset.c
67 --- libcpp/charset.c.orig 2011-01-03 21:52:22.000000000 +0100
68 +++ libcpp/charset.c 2012-07-21 09:15:05.000000000 +0200
69 @@ -75,6 +75,7 @@
70 #define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
71 #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
72 #define iconv_close(x) (void)0
73 +#undef ICONV_CONST
74 #define ICONV_CONST
75 #endif
77 Index: libcpp/internal.h
78 --- libcpp/internal.h.orig 2012-01-09 09:48:43.000000000 +0100
79 +++ libcpp/internal.h 2012-07-21 09:15:05.000000000 +0200
80 @@ -29,6 +29,7 @@
81 #if HAVE_ICONV
82 #include <iconv.h>
83 #else
84 +#undef HAVE_ICONV
85 #define HAVE_ICONV 0
86 typedef int iconv_t; /* dummy */
87 #endif