1 |
loki_val 08/11/29 17:18:23 |
2 |
|
3 |
Added: xmlrpc-c-1.16.04-linking-order.patch |
4 |
xmlrpc-c-1.16.04-compile.patch |
5 |
xmlrpc-c-1.16.04-abyss-disable.patch |
6 |
xmlrpc-c-1.16.04-cpplinking.patch |
7 |
Log: |
8 |
Bump, bug 246083. Also solves bug 235989 (!!). |
9 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-linking-order.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-linking-order.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-linking-order.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: xmlrpc-c-1.16.04-linking-order.patch |
18 |
=================================================================== |
19 |
diff -NrU5 xmlrpc-c-1.16.04.orig/common.mk xmlrpc-c-1.16.04/common.mk |
20 |
--- xmlrpc-c-1.16.04.orig/common.mk 2008-11-29 17:31:12.000000000 +0100 |
21 |
+++ xmlrpc-c-1.16.04/common.mk 2008-11-29 17:35:25.000000000 +0100 |
22 |
@@ -134,14 +134,14 @@ |
23 |
TARGET_SHARED_LE_LIBS = |
24 |
endif |
25 |
|
26 |
#------ the actual rules ---------------------------------------------------- |
27 |
$(TARGET_SHARED_LIBRARIES) dummyshlib: |
28 |
- $(CCLD) $(LDFLAGS_SHLIB) $(LIBDEP) -o $@ $(LIBOBJECTS) $(LADD) |
29 |
+ $(CCLD) $(LADD) $(LDFLAGS_SHLIB) $(LIBOBJECTS) $(LIBDEP) -o $@ |
30 |
|
31 |
$(TARGET_SHARED_LIBS_PP) dummyshlibpp: |
32 |
- $(CXXLD) $(LDFLAGS_SHLIB) $(LIBDEP) -o $@ $(LIBOBJECTS) $(LADD) |
33 |
+ $(CXXLD) $(LADD) $(LDFLAGS_SHLIB) $(LIBOBJECTS) $(LIBDEP) -o $@ |
34 |
#---------------------------------------------------------------------------- |
35 |
|
36 |
LIBXMLRPC_UTIL_DIR = $(BLDDIR)/lib/libutil |
37 |
|
38 |
ifneq ($(OMIT_LIBXMLRPC_UTIL_RULE),Y) |
39 |
diff -NrU5 xmlrpc-c-1.16.04.orig/dylib-common.make xmlrpc-c-1.16.04/dylib-common.make |
40 |
--- xmlrpc-c-1.16.04.orig/dylib-common.make 2008-11-29 17:31:12.000000000 +0100 |
41 |
+++ xmlrpc-c-1.16.04/dylib-common.make 2008-11-29 17:35:25.000000000 +0100 |
42 |
@@ -3,13 +3,13 @@ |
43 |
# See unix-common.make for an explanation of this file. This file is |
44 |
# analogous to unix-common.make, but is for an Irix system. |
45 |
|
46 |
SONAME = $(@:%.$(MIN)=%) |
47 |
|
48 |
-SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) |
49 |
+SHLIB_CMD = $(CCLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^ |
50 |
|
51 |
-SHLIBPP_CMD = $(CXXLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) |
52 |
+SHLIBPP_CMD = $(CXXLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^ |
53 |
|
54 |
SHLIB_LE_TARGETS = $(call shliblefn, $(SHARED_LIBS_TO_BUILD)) |
55 |
|
56 |
$(SHLIB_LE_TARGETS):%.$(SHLIB_SUFFIX):%.$(MAJ).$(MIN).$(SHLIB_SUFFIX) |
57 |
rm -f $@ |
58 |
diff -NrU5 xmlrpc-c-1.16.04.orig/irix-common.make xmlrpc-c-1.16.04/irix-common.make |
59 |
--- xmlrpc-c-1.16.04.orig/irix-common.make 2008-11-29 17:31:12.000000000 +0100 |
60 |
+++ xmlrpc-c-1.16.04/irix-common.make 2008-11-29 17:35:25.000000000 +0100 |
61 |
@@ -3,11 +3,11 @@ |
62 |
# See unix-common.make for an explanation of this file. This file is |
63 |
# analogous to unix-common.make, but is for an Irix system. |
64 |
|
65 |
SONAME = $(@:%.$(MAJ):%) |
66 |
|
67 |
-SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) |
68 |
+SHLIB_CMD = $(CCLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^ |
69 |
|
70 |
SHLIB_LE_TARGETS = $(call shliblefn, $(SHARED_LIBS_TO_BUILD)) |
71 |
|
72 |
$(SHLIB_LE_TARGETS):%:%.$(MAJ) |
73 |
rm -f $@ |
74 |
diff -NrU5 xmlrpc-c-1.16.04.orig/unix-common.make xmlrpc-c-1.16.04/unix-common.make |
75 |
--- xmlrpc-c-1.16.04.orig/unix-common.make 2008-11-29 17:31:12.000000000 +0100 |
76 |
+++ xmlrpc-c-1.16.04/unix-common.make 2008-11-29 17:35:25.000000000 +0100 |
77 |
@@ -49,11 +49,11 @@ |
78 |
# SONAME is the name of the library file being built, with the minor |
79 |
# version number cut off. E.g. if we're building libfoo.so.1.2, SONAME |
80 |
# is libfoo.so.1 . |
81 |
SONAME = $(@:%.$(MIN)=%) |
82 |
|
83 |
-SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) |
84 |
+SHLIB_CMD = $(CCLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^ |
85 |
|
86 |
SHLIB_LE_TARGETS = $(call shliblefn, $(SHARED_LIBS_TO_BUILD)) |
87 |
|
88 |
$(SHLIB_LE_TARGETS):%:%.$(MAJ).$(MIN) |
89 |
rm -f $@ |
90 |
|
91 |
|
92 |
|
93 |
1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-compile.patch |
94 |
|
95 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-compile.patch?rev=1.1&view=markup |
96 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-compile.patch?rev=1.1&content-type=text/plain |
97 |
|
98 |
Index: xmlrpc-c-1.16.04-compile.patch |
99 |
=================================================================== |
100 |
diff -NrU5 xmlrpc-c-1.16.04.orig/src/cpp/server_cgi.cpp xmlrpc-c-1.16.04/src/cpp/server_cgi.cpp |
101 |
--- xmlrpc-c-1.16.04.orig/src/cpp/server_cgi.cpp 2008-11-29 17:31:12.000000000 +0100 |
102 |
+++ xmlrpc-c-1.16.04/src/cpp/server_cgi.cpp 2008-11-29 17:32:20.000000000 +0100 |
103 |
@@ -12,10 +12,11 @@ |
104 |
Contributed to the public domain by its author. |
105 |
=============================================================================*/ |
106 |
|
107 |
#include <memory> |
108 |
#include <stdio.h> |
109 |
+#include <cstdlib> |
110 |
|
111 |
#include "xmlrpc-c/girerr.hpp" |
112 |
using girerr::throwf; |
113 |
#include "xmlrpc-c/server_cgi.hpp" |
114 |
|
115 |
@@ -34,11 +35,11 @@ |
116 |
unsigned int contentLength; |
117 |
bool contentLengthPresent; |
118 |
bool authCookiePresent; |
119 |
string authCookie; |
120 |
|
121 |
- httpInfo::httpInfo() { |
122 |
+ httpInfo() { |
123 |
|
124 |
const char * const requestMethodC = getenv("REQUEST_METHOD"); |
125 |
const char * const contentTypeC = getenv("CONTENT_TYPE"); |
126 |
const char * const contentLengthC = getenv("CONTENT_LENGTH"); |
127 |
const char * const authCookieC = getenv("HTTP_COOKIE_AUTH"); |
128 |
|
129 |
|
130 |
|
131 |
1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-abyss-disable.patch |
132 |
|
133 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-abyss-disable.patch?rev=1.1&view=markup |
134 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-abyss-disable.patch?rev=1.1&content-type=text/plain |
135 |
|
136 |
Index: xmlrpc-c-1.16.04-abyss-disable.patch |
137 |
=================================================================== |
138 |
diff -NrU5 xmlrpc-c-1.16.04.orig/src/cpp/Makefile xmlrpc-c-1.16.04/src/cpp/Makefile |
139 |
--- xmlrpc-c-1.16.04.orig/src/cpp/Makefile 2008-11-29 14:34:40.000000000 +0100 |
140 |
+++ xmlrpc-c-1.16.04/src/cpp/Makefile 2008-11-29 14:36:19.000000000 +0100 |
141 |
@@ -15,15 +15,18 @@ |
142 |
|
143 |
TARGET_LIB_NAMES_PP = \ |
144 |
libxmlrpc_cpp \ |
145 |
lib$(LIBXMLRPCPP_NAME) \ |
146 |
libxmlrpc_server++ \ |
147 |
- libxmlrpc_server_abyss++ \ |
148 |
libxmlrpc_server_cgi++ \ |
149 |
libxmlrpc_server_pstream++ \ |
150 |
libxmlrpc_packetsocket \ |
151 |
|
152 |
+ifeq ($(ENABLE_ABYSS_SERVER),yes) |
153 |
+ TARGET_LIB_NAMES_PP += libxmlrpc_server_abyss++ |
154 |
+endif |
155 |
+ |
156 |
ifeq ($(MUST_BUILD_CLIENT),yes) |
157 |
TARGET_LIB_NAMES_PP += libxmlrpc_client++ |
158 |
endif |
159 |
|
160 |
STATIC_LIBRARIES_TO_INSTALL = $(TARGET_STATIC_LIBRARIES) |
161 |
|
162 |
|
163 |
|
164 |
1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-cpplinking.patch |
165 |
|
166 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-cpplinking.patch?rev=1.1&view=markup |
167 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.04-cpplinking.patch?rev=1.1&content-type=text/plain |
168 |
|
169 |
Index: xmlrpc-c-1.16.04-cpplinking.patch |
170 |
=================================================================== |
171 |
diff -NrU5 xmlrpc-c-1.16.04.orig/common.mk xmlrpc-c-1.16.04/common.mk |
172 |
--- xmlrpc-c-1.16.04.orig/common.mk 2008-11-29 17:37:48.000000000 +0100 |
173 |
+++ xmlrpc-c-1.16.04/common.mk 2008-11-29 17:38:06.000000000 +0100 |
174 |
@@ -265,11 +265,11 @@ |
175 |
|
176 |
$(TARGET_MODS:%=%.osh):%.osh:%.c |
177 |
$(CC) -c -o $@ $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $< |
178 |
|
179 |
$(TARGET_MODS_PP:%=%.o):%.o:%.cpp |
180 |
- $(CXX) -c -o $@ $(INCLUDES) $(CXXFLAGS) $< |
181 |
+ $(CXX) -c -o $@ $(INCLUDES) $(CFLAGS_SHLIB) $(CXXFLAGS) $< |
182 |
|
183 |
$(TARGET_MODS_PP:%=%.osh): CXXFLAGS_COMMON += $(CFLAGS_SHLIB) |
184 |
|
185 |
$(TARGET_MODS_PP:%=%.osh):%.osh:%.cpp |
186 |
$(CXX) -c -o $@ $(INCLUDES) $(CXXFLAGS) $< |