Преглед на файлове

package/libxmlrpc: bump to version 1.67.00

For change log, see:

https://xmlrpc-c.sourceforge.io/change.html

Since version 1.65, Libxml2 was made the default XML parser. Hence,
if libxml2 package is not selected, disable libxml2 support
explicitly.

Remove already upstreamed patch.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Yegor Yefremov преди 3 месеца
родител
ревизия
f5a99c4e91
променени са 3 файла, в които са добавени 9 реда и са изтрити 28 реда
  1. 0 25
      package/libxmlrpc/0001-Fix-boolean-definitions.patch
  2. 1 1
      package/libxmlrpc/libxmlrpc.hash
  3. 8 2
      package/libxmlrpc/libxmlrpc.mk

+ 0 - 25
package/libxmlrpc/0001-Fix-boolean-definitions.patch

@@ -1,25 +0,0 @@
-Index: lib/util/include/bool.h
-===================================================================
-Don't define boolean macros for C23 standard as they are implemented
-as keywords.
-
-Upstream: https://sourceforge.net/p/xmlrpc-c/code/3318/
-
-Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
-
-diff --git a/lib/util/include/bool.h b/lib/util/include/bool.h
---- a/lib/util/include/bool.h	(revision 3316)
-+++ b/lib/util/include/bool.h	(working copy)
-@@ -5,7 +5,11 @@
-    collision.
- */
- 
--#ifndef __cplusplus
-+#ifdef __cplusplus
-+/* bool has always been part of the C++ language */
-+#elif __STDC_VERSION__ >= 202311L
-+/* bool is part of the C23 standard */
-+#else
- /* At least the GNU compiler defines __bool_true_false_are_defined */
- #ifndef __bool_true_false_are_defined
- #define __bool_true_false_are_defined

+ 1 - 1
package/libxmlrpc/libxmlrpc.hash

@@ -1,3 +1,3 @@
 # Locally computed
-sha256  7265be1a181e57106707b5278daf64b2a717b8a2a9e6ec8992d8c8084e64eaa2  libxmlrpc-r3176-svn5.tar.gz
+sha256  4a071da3204132585a40313e17e01699d428e0fc9b58d30fcd7e538037254668  libxmlrpc-r3335-svn5.tar.gz
 sha256  db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6  doc/COPYING

+ 8 - 2
package/libxmlrpc/libxmlrpc.mk

@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-# 1.60.01 (code/advanced@r3176)
-LIBXMLRPC_VERSION = r3176
+# 1.67.00 (code/advanced@r3335)
+LIBXMLRPC_VERSION = r3335
 LIBXMLRPC_SITE = https://svn.code.sf.net/p/xmlrpc-c/code/advanced
 LIBXMLRPC_SITE_METHOD = svn
 LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c)
@@ -47,6 +47,12 @@ else
 LIBXMLRPC_CONF_OPTS += --disable-abyss-openssl
 endif
 
+ifeq ($(BR2_PACKAGE_LIBXML2),y)
+LIBXMLRPC_DEPENDENCIES += libxml2
+else
+LIBXMLRPC_CONF_OPTS += --disable-libxml2-backend
+endif
+
 LIBXMLRPC_MAKE_OPTS += $(LIBXMLRPC_STATIC_OPTS)
 LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
 	DESTDIR=$(STAGING_DIR) install