libsoup: rebuilt with libxml2 2.12.0
This commit is contained in:
parent
34a529d851
commit
7df006a472
@ -1,5 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/UG75B3C0JR6D6AFnuCdCg4CGkeVfavYix5Q1bI/ohByAp+VEh46MEXsiTxX7Cwe2chjFC9qyCG4pOD7P84UUAY=
|
RWSE3ohX2g5d/f0zIUPBuY/DmiXe5kRhjAYg9Jp3zKRXVyc5tj0OvSWFofjWbgPyH6DQ4MFhFiJhddTvLOcUNJ6CacEeqlqc2wE=
|
||||||
SHA256 (Pkgfile) = 50f8f86ed5b28c05fd5b7f460de7b2e7999ef737f4326274c30b2c1db9c964ce
|
SHA256 (Pkgfile) = 591a96728724cc63b2323e21b15cb1b6bca067e79c8b5c2aae71218513cdbc8a
|
||||||
SHA256 (.footprint) = baa48ba3a1da8ebecd45e1b1e5eb3bbdb55ff252c9512e60fa6173a979a786f3
|
SHA256 (.footprint) = baa48ba3a1da8ebecd45e1b1e5eb3bbdb55ff252c9512e60fa6173a979a786f3
|
||||||
SHA256 (libsoup-2.74.3.tar.xz) = e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13
|
SHA256 (libsoup-2.74.3.tar.xz) = e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13
|
||||||
|
SHA256 (385.patch) = 2c82bcdafe0216af52dc313010d755d350b55239cb54eabd15b397674737d30d
|
||||||
|
43
libsoup/385.patch
Normal file
43
libsoup/385.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
From ced3c5d8cad0177b297666343f1561799dfefb0d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Wed, 22 Nov 2023 18:49:10 -0800
|
||||||
|
Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17
|
||||||
|
|
||||||
|
Fixes build errors about missing function prototypes with clang-17
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
| ../libsoup-2.74.3/libsoup/soup-xmlrpc-old.c:512:8: error: call to undeclared function 'xmlParseMemory'; ISO C99 and later do not support implicit function declarations
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
libsoup/soup-xmlrpc-old.c | 1 +
|
||||||
|
libsoup/soup-xmlrpc.c | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libsoup/soup-xmlrpc-old.c b/libsoup/soup-xmlrpc-old.c
|
||||||
|
index c57086b6a..527e3b235 100644
|
||||||
|
--- a/libsoup/soup-xmlrpc-old.c
|
||||||
|
+++ b/libsoup/soup-xmlrpc-old.c
|
||||||
|
@@ -11,6 +11,7 @@
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
+#include <libxml/parser.h>
|
||||||
|
#include <libxml/tree.h>
|
||||||
|
|
||||||
|
#include "soup-xmlrpc-old.h"
|
||||||
|
diff --git a/libsoup/soup-xmlrpc.c b/libsoup/soup-xmlrpc.c
|
||||||
|
index 42dcda9c7..e991cbf01 100644
|
||||||
|
--- a/libsoup/soup-xmlrpc.c
|
||||||
|
+++ b/libsoup/soup-xmlrpc.c
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
+#include <libxml/parser.h>
|
||||||
|
#include <libxml/tree.h>
|
||||||
|
#include "soup-xmlrpc.h"
|
||||||
|
#include "soup.h"
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
@ -6,10 +6,13 @@
|
|||||||
|
|
||||||
name=libsoup
|
name=libsoup
|
||||||
version=2.74.3
|
version=2.74.3
|
||||||
release=1
|
release=2
|
||||||
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
|
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz
|
||||||
|
385.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
patch -Np1 -d $name-$version -i $SRC/385.patch
|
||||||
|
|
||||||
meson setup $name-$version build \
|
meson setup $name-$version build \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--buildtype=plain \
|
--buildtype=plain \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user