summaryrefslogtreecommitdiff
path: root/textproc/xmlrpc-c/patches
diff options
context:
space:
mode:
authorwiz <wiz>2007-02-24 11:00:51 +0000
committerwiz <wiz>2007-02-24 11:00:51 +0000
commit072dbb27c0e0810154a2f904fb7f665164f6415e (patch)
treed987665dcd75e5c20512fc4c10d141211c24beb1 /textproc/xmlrpc-c/patches
parent17d39254edfdb6e26ff35360fc6062f8964dd703 (diff)
downloadpkgsrc-072dbb27c0e0810154a2f904fb7f665164f6415e.tar.gz
Initial import of xmlrpc-c-1.09.00:
XML-RPC is a quick-and-easy way to make procedure calls over the Internet. It converts the procedure call into XML document, sends it to a remote server using HTTP, and gets back the response as XML. This library provides a modular implementation of XML-RPC for C and C++. XXX: build system is custom-made (i.e. not using libtool), PLIST will be wrong for many OPSYS -- please fix!
Diffstat (limited to 'textproc/xmlrpc-c/patches')
-rw-r--r--textproc/xmlrpc-c/patches/patch-aa13
-rw-r--r--textproc/xmlrpc-c/patches/patch-ab21
-rw-r--r--textproc/xmlrpc-c/patches/patch-ac15
3 files changed, 49 insertions, 0 deletions
diff --git a/textproc/xmlrpc-c/patches/patch-aa b/textproc/xmlrpc-c/patches/patch-aa
new file mode 100644
index 00000000000..2064747587a
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- lib/abyss/src/server.c.orig 2006-09-02 04:57:35.000000000 +0200
++++ lib/abyss/src/server.c
+@@ -4,7 +4,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #ifdef WIN32
+ #include <io.h>
+ #else
diff --git a/textproc/xmlrpc-c/patches/patch-ab b/textproc/xmlrpc-c/patches/patch-ab
new file mode 100644
index 00000000000..93eb7008570
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- Makefile.config.in.orig 2006-09-28 04:15:55.000000000 +0200
++++ Makefile.config.in
+@@ -204,12 +204,13 @@ ifeq ($(HOST_OS),osf)
+ LDFLAGS_SHLIB = -shared -expect_unresolved
+ endif
+
+-ifeq ($(findstring netbsd,$(HOST_OS)),FIND)
++ifeq ($(HOST_OS),netbsd)
+ SHARED_LIB_TYPE = unix
+ SHLIB_SUFFIX = so
+- shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ))
++ shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
+ shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
+- CFLAGS_SHLIB = -fpic
++ CFLAGS_SHLIB = -fPIC
++ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
+ endif
+
+ ifeq ($(HOST_OS),darwin)
diff --git a/textproc/xmlrpc-c/patches/patch-ac b/textproc/xmlrpc-c/patches/patch-ac
new file mode 100644
index 00000000000..d0dfa970bfe
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- src/cpp/Makefile.orig 2006-11-06 02:50:37.000000000 +0100
++++ src/cpp/Makefile
+@@ -102,8 +102,8 @@ all: \
+
+ # Rules for these are in Makefile.common, courtesy of TARGET_LIB_NAMES_PP:
+
+-$(LIBXMLRPC_CPP): XmlRpcCpp.o
+-$(LIBXMLRPC_CPP): LIBOBJECTS = XmlRpcCpp.o
++$(LIBXMLRPC_CPP): XmlRpcCpp.osh
++$(LIBXMLRPC_CPP): LIBOBJECTS = XmlRpcCpp.osh
+
+ $(LIBXMLRPCPP): $(LIBXMLRPCPP_MODS:%=%.osh)
+ $(LIBXMLRPCPP): LIBOBJECTS = $(LIBXMLRPCPP_MODS:%=%.osh)