aboutsummaryrefslogtreecommitdiff
path: root/libs/xmlrpc-c/patches
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2014-09-29 12:19:28 -0400
committerTed Hess <thess@kitschensync.net>2014-09-29 12:22:38 -0400
commit6a1aed4e3857217458b6aee7b7efcd50f8473ded (patch)
treea6adf57e62858fbce48804d67cd14ec03b27b2f1 /libs/xmlrpc-c/patches
parent4fba5a82b6d838bd9e50164954322140140fa7ed (diff)
xmlrpc-c: Import from oldpackages, add myself as pkg maintainer, update license info.
- remove (marked BROKEN) abyss and libxml2 variants. - build internal expat variant only. Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'libs/xmlrpc-c/patches')
-rw-r--r--libs/xmlrpc-c/patches/001-config.mk.in.patch11
-rw-r--r--libs/xmlrpc-c/patches/002-automake-compat.patch13
2 files changed, 24 insertions, 0 deletions
diff --git a/libs/xmlrpc-c/patches/001-config.mk.in.patch b/libs/xmlrpc-c/patches/001-config.mk.in.patch
new file mode 100644
index 000000000..e190ebb81
--- /dev/null
+++ b/libs/xmlrpc-c/patches/001-config.mk.in.patch
@@ -0,0 +1,11 @@
+--- a/config.mk.in
++++ b/config.mk.in
+@@ -175,7 +175,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$(
+ shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
+ shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
+ # SHLIB_CLIB = -lc
+- LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
++ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) $(LDFLAGS)
+ CFLAGS_SHLIB=-fPIC
+ endif
+
diff --git a/libs/xmlrpc-c/patches/002-automake-compat.patch b/libs/xmlrpc-c/patches/002-automake-compat.patch
new file mode 100644
index 000000000..be69611d1
--- /dev/null
+++ b/libs/xmlrpc-c/patches/002-automake-compat.patch
@@ -0,0 +1,13 @@
+--- a/configure.in
++++ b/configure.in
+@@ -224,9 +224,7 @@ dnl Checks for programs.
+ dnl =======================================================================
+
+ AC_PROG_CC
+-if test x"$enable_cplusplus" != xno; then
+- AC_PROG_CXX
+-fi
++AC_PROG_CXX
+
+
+ dnl =======================================================================