summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch')
-rw-r--r--dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch
new file mode 100644
index 0000000..4f8496e
--- /dev/null
+++ b/dev-libs/xmlrpc-c-cvs/files/xmlrpc-c-pic.patch
@@ -0,0 +1,13 @@
+Index: xmlrpc-c-1.05/src/cpp/Makefile
+===================================================================
+--- xmlrpc-c-1.05.orig/src/cpp/Makefile
++++ xmlrpc-c-1.05/src/cpp/Makefile
+@@ -135,7 +135,7 @@ libxmlrpc_client++.a: $(LIBXMLRPC_CLIENT
+ # RULES TO COMPILE OBJECT MODULES FOR LIBRARIES
+ #-----------------------------------------------------------------------------
+
+-CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
++CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -fPIC
+
+ XmlRpcCpp.o:%.o:%.cpp
+ $(CXX) -c $(BASIC_INCLUDES) $(CXXFLAGS) $<