diff options
Diffstat (limited to 'dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch')
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch new file mode 100644 index 0000000..db2a17b --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch @@ -0,0 +1,65 @@ +From 56bc636d4a2a7892f1a78c3702f8703cf7ce93b4 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 13:24:46 +0100 +Subject: [PATCH 02/10] Fixup abyss compilation; add lpthread and make parallel compile work. + +--- + lib/abyss/src/Makefile | 14 +++++++------- + src/cpp/Makefile | 6 +++++- + 2 files changed, 12 insertions(+), 8 deletions(-) + +diff --git a/lib/abyss/src/Makefile b/lib/abyss/src/Makefile +index cbb187e..da6ff1b 100644 +--- a/lib/abyss/src/Makefile ++++ b/lib/abyss/src/Makefile +@@ -59,11 +59,6 @@ ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss) + ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss) + #ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so + +-# LIBDEP is the shared libraries on which libxmlrpc_abyss depends. +-# The runtime loader should load these libraries when it loads libxmlrpc_abyss. +- +-LIBDEP = $(LIBXMLRPC_UTIL) +- + ifneq ($(SHARED_LIB_TYPE),NONE) + TARGET_SHARED_LIBS := $(ABYSS_SHLIB) $(ABYSS_SHLIBLE) + endif +@@ -78,8 +73,13 @@ all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBS) $(TARGET_SHARED_LE_LIBS) + + + # Rule for this is in common.mk, courtesy of TARGET_SHARED_LIBRARIES: +-$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) $(LIBDEP) +-$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) $(LIBDEP) ++$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) \ ++ $(LIBXMLRPC_UTIL) ++$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) ++$(ABYSS_SHLIB): LIBDEP = -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util ++ifeq ($(ENABLE_ABYSS_THREADS),yes) ++ $(ABYSS_SHLIB): LIBDEP += -lpthread ++endif + + # Rule for this is in common.mk, courtesy of TARGET_STATIC_LIBRARIES: + +diff --git a/src/cpp/Makefile b/src/cpp/Makefile +index ebffe7c..e08f47c 100644 +--- a/src/cpp/Makefile ++++ b/src/cpp/Makefile +@@ -143,10 +143,14 @@ LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++) + + $(LIBXMLRPC_SERVER_ABYSSPP_SH): $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) \ + $(LIBXMLRPC_ABYSS) \ ++ $(LIBXMLRPC_SERVER_ABYSS) \ ++ $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \ ++ $(call shlibfn, libxmlrpc_server++) \ ++ $(LIBXMLRPC_UTIL) \ + $(LIBXMLRPC) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \ +- -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc ++ -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc -L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_server++ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util + + LIBXMLRPC_SERVER_CGIPP_SH = $(call shlibfn, libxmlrpc_server_cgi++) + +-- +1.6.1 + |