head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.8 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.6 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.4 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.2 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.7.0.10 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.8 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.6 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.4 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.5.0.2 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.4.0.8 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.6 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.4 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.2 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-20070224:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2011.04.06.07.45.48; author adam; state dead; branches; next 1.8; 1.8 date 2011.03.25.13.38.07; author adam; state Exp; branches; next 1.7; 1.7 date 2009.10.28.09.25.23; author adam; state Exp; branches; next 1.6; 1.6 date 2009.10.27.18.50.39; author drochner; state Exp; branches; next 1.5; 1.5 date 2009.09.20.21.15.44; author sno; state Exp; branches; next 1.4; 1.4 date 2008.09.20.19.55.01; author adrianp; state Exp; branches; next 1.3; 1.3 date 2007.04.06.11.44.34; author obache; state Exp; branches; next 1.2; 1.2 date 2007.02.26.14.56.30; author joerg; state Exp; branches; next 1.1; 1.1 date 2007.02.24.11.00.51; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.02.24.11.00.51; author wiz; state Exp; branches; next ; desc @@ 1.9 log @Changes 1.16.34: * Fix compile bug with some compilers on 64 bit. Changes 1.16.33: * Build: Fix prototype/definition mismatch in libwww.cpp with some compilers (e.g. Solaris). * Build: Fix linking of xml-rpc-api2cpp with some linkers (e.g. Solaris). Changes 1.16.32: * Windows Abyss server: properly handle wait for connection. Changes 1.16.31: * CGI XML-RPC server accepts (ignores) parameters after "text/xml" in Content-type header from client. @ text @$NetBSD: patch-ab,v 1.8 2011/03/25 13:38:07 adam Exp $ --- Makefile.config.in.orig 2008-03-25 15:24:58.000000000 +0100 +++ Makefile.config.in @@@@ -141,6 +141,7 @@@@ SHARED_LIB_TYPE = unix SHLIB_SUFFIX = so # SHLIB_CLIB = -lc + CFLAGS_SHLIB = -fPIC LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) endif @@@@ -155,6 +155,15 @@@@ ifeq ($(findstring solaris,$(HOST_OS)),s CFLAGS_SHLIB = -Kpic endif +ifeq ($(HOST_OS),solaris2) + SHARED_LIB_TYPE = unix + SHLIB_SUFFIX = so + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) + shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) + LDFLAGS_SHLIB = -Wl,-Bdynamic,-G,-h,$(SONAME) + CFLAGS_SHLIB = -Kpic +endif + ifeq ($(HOST_OS),aix) # This code is not finished; that's why we don't set SHARED_LIB_TYPE. # If you can finish it and make it work on AIX, please do. @@@@ -188,17 +197,36 @@@@ ifeq ($(HOST_OS),osf) endif ifeq ($(findstring netbsd,$(HOST_OS)),netbsd) - # This code is not finished; that's why we don't set SHARED_LIB_TYPE. - # If you can finish it and make it work on AIX, please do. - # SHARED_LIB_TYPE = unix + SHARED_LIB_TYPE = unix + SHLIB_SUFFIX = so + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) + shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) + CFLAGS_SHLIB = -fPIC + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) +endif + +ifeq ($(HOST_OS),dragonfly) + SHARED_LIB_TYPE = unix + SHLIB_SUFFIX = so + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) + shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) + CFLAGS_SHLIB = -fPIC + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) +endif + +ifeq ($(findstring freebsd,$(HOST_OS)),freebsd) + SHARED_LIB_TYPE = unix SHLIB_SUFFIX = so - CFLAGS_SHLIB = -fpic + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) + shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) + CFLAGS_SHLIB = -fPIC + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) endif ifeq ($(HOST_OS),darwin) # This code is not finished; that's why we don't set SHARED_LIB_TYPE. # If you can finish it and make it work on AIX, please do. - # SHARED_LIB_TYPE = dylib + SHARED_LIB_TYPE = dylib SHLIB_SUFFIX = dylib endif @ 1.8 log @Linux also needs CFLAGS_SHLIB = -fPIC; a fix for PR#44349 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2009/10/28 09:25:23 adam Exp $ @ 1.7 log @Fix building on Darwin; allow custom compiler and linker flags; allow universal binary. @ text @d1 1 a1 1 $NetBSD$ d5 8 @ 1.6 log @update to 1.06.38 this switches to the "super stable" branch which is the only one where tarballs are distributed of, too many changes to list here, the most notable recent one is that the recent expat DOS vulnerability was fixed, as were some portability issues which caused problems on NetBSD @ text @d21 1 a21 1 @@@@ -188,11 +197,30 @@@@ ifeq ($(HOST_OS),osf) d56 7 @ 1.5 log @patching patches/patch-ab to work for FreeBSD, too @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2008/09/20 19:55:01 adrianp Exp $ d3 3 a5 3 --- Makefile.config.in.orig 2006-09-28 04:15:55.000000000 +0200 +++ Makefile.config.in 2009-09-20 23:05:15.000000000 +0200 @@@@ -168,6 +168,15 @@@@ d19 3 a21 4 SHARED_LIB_TYPE = unix SHLIB_SUFFIX = a @@@@ -204,12 +213,31 @@@@ LDFLAGS_SHLIB = -shared -expect_unresolved d24 6 a29 5 -ifeq ($(findstring netbsd,$(HOST_OS)),FIND) +ifeq ($(findstring netbsd,$(HOST_OS)),netbsd) SHARED_LIB_TYPE = unix SHLIB_SUFFIX = so - shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ)) d47 2 a48 1 + SHLIB_SUFFIX = so d50 1 a50 2 shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) - CFLAGS_SHLIB = -fpic @ 1.4 log @Add support for OpenSolaris @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Makefile.config.in.orig 2006-09-28 03:15:55.000000000 +0100 +++ Makefile.config.in @@@@ -168,6 +168,15 @@@@ ifeq ($(findstring solaris,$(HOST_OS)),F d21 1 a21 1 @@@@ -204,12 +213,22 @@@@ ifeq ($(HOST_OS),osf) d40 9 @ 1.3 log @Fixes build problem on NetBSD. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2007/02/26 14:56:30 joerg Exp $ d3 1 a3 1 --- Makefile.config.in.orig 2006-09-28 02:15:55.000000000 +0000 d5 17 a21 1 @@@@ -204,12 +204,22 @@@@ ifeq ($(HOST_OS),osf) @ 1.2 log @Fix pthread usage. Fix a number of libtool and C issues, that made me wonder how this ever compiled. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +ifeq ($(HOST_OS),netbsd) @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Makefile.config.in.orig 2006-09-28 04:15:55.000000000 +0200 d5 1 a5 1 @@@@ -204,12 +204,13 @@@@ ifeq ($(HOST_OS),osf) d15 9 @ 1.1.1.1 log @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! @ text @@