diff options
Diffstat (limited to 'dev-libs/xmlrpc-c/files')
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.32.05-Wimplicit.patch | 20 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.39.11-cplusplus.patch | 14 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.32.05-Wimplicit.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.32.05-Wimplicit.patch new file mode 100644 index 000000000000..affa917f7427 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.32.05-Wimplicit.patch @@ -0,0 +1,20 @@ +--- a/common.mk ++++ b/common.mk +@@ -17,7 +17,7 @@ + # fully made. + .DELETE_ON_ERROR: + +-GCC_WARNINGS = -Wall -W -Wno-uninitialized -Wundef -Wimplicit \ ++GCC_WARNINGS = -Wall -W -Wno-uninitialized -Wundef \ + -Wno-unknown-pragmas + # We need -Wwrite-strings after we fix all the missing consts + # +@@ -27,7 +27,7 @@ + # on -Wuninitialized for all the others. + + GCC_C_WARNINGS = $(GCC_WARNINGS) \ +- -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes ++ -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wimplicit + + GCC_CXX_WARNINGS = $(GCC_WARNINGS) -Wsynth + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.39.11-cplusplus.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.39.11-cplusplus.patch new file mode 100644 index 000000000000..64de06b3bb28 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.39.11-cplusplus.patch @@ -0,0 +1,14 @@ +--- a/lib/Makefile 2015-12-30 07:22:14.000000000 +0300 ++++ b/lib/Makefile 2017-01-10 15:17:39.410000000 +0300 +@@ -9,7 +9,10 @@ + + # Build up SUBDIRS: + SUBDIRS = +-SUBDIRS += util libutil libutil++ ++SUBDIRS += util libutil ++ifeq ($(ENABLE_CPLUSPLUS),yes) ++ SUBDIRS += libutil++ ++endif + ifeq ($(ENABLE_ABYSS_SERVER),yes) + SUBDIRS += abyss + ifeq ($(ENABLE_CPLUSPLUS),yes) |