Package: xmlrpc-c Version: 1.16.33-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently[1], xmlrpc-c fails to build on Hurd. The problem is the missing OS definitions for Hurd, which the attached patch provides. [1] https://buildd.debian.org/fetch.cgi?pkg=xmlrpc-c&arch=hurd-i386&ver=1.16.33-2&stamp=1298206941&file=log&as=raw Thanks, -- Pino
--- a/config.mk.in +++ b/config.mk.in @@ -316,6 +316,18 @@ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) endif +ifeq ($(patsubst gnu%,gnu,$(HOST_OS)),gnu) + # Assume linker is GNU Compiler (gcc) + SHARED_LIB_TYPE = unix + MUST_BUILD_SHLIB = Y + MUST_BUILD_SHLIBLE = Y + SHLIB_SUFFIX = so + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) + shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) + CFLAGS_SHLIB=-fPIC +endif + ############################################################################## # MISCELLANEOUS ##############################################################################