mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
libsoup: fix build with libxml2-2.12.x
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
libsoup-2.74.0-1
|
||||
libsoup-2.74.0-2
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libsoup-2.4/
|
||||
|
||||
@@ -3,17 +3,20 @@
|
||||
|
||||
name=libsoup
|
||||
version=2.74.0
|
||||
release=1
|
||||
release=2
|
||||
source="https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz"
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
venom-meson \
|
||||
-Dgssapi=disabled \
|
||||
-Dvapi=enabled \
|
||||
-Dbrotli=disabled \
|
||||
-Dsysprof=disabled \
|
||||
build
|
||||
|
||||
# Fix a build failure caused by libxml2-2.12.x:
|
||||
sed -i '/tree/a #include <libxml/parser.h>' libsoup/soup-xmlrpc*.c
|
||||
|
||||
venom-meson build \
|
||||
-Dgssapi=disabled \
|
||||
-Dvapi=enabled \
|
||||
-Dbrotli=disabled \
|
||||
-Dsysprof=disabled
|
||||
meson compile -C build
|
||||
DESTDIR=$PKG meson install --no-rebuild -C build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user