From 3ac9f6e892dda41a9f74b0c791456b9c0e2391b2 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 26 Feb 2019 19:34:25 +0100 Subject: [PATCH] NetworkManager: update to 1.14.6. --- .../patches/fix-musl-include.patch | 51 +++++++++++-------- srcpkgs/NetworkManager/template | 11 ++-- 2 files changed, 34 insertions(+), 28 deletions(-) diff --git a/srcpkgs/NetworkManager/patches/fix-musl-include.patch b/srcpkgs/NetworkManager/patches/fix-musl-include.patch index d6293049b96..f3c22b68df5 100644 --- a/srcpkgs/NetworkManager/patches/fix-musl-include.patch +++ b/srcpkgs/NetworkManager/patches/fix-musl-include.patch @@ -1,5 +1,5 @@ ---- shared/n-acd/src/n-acd.c 2018-09-09 12:10:36.626987553 +0200 -+++ shared/n-acd/src/n-acd.c 2018-09-09 12:51:36.680798693 +0200 +--- shared/n-acd/src/n-acd.c ++++ shared/n-acd/src/n-acd.c @@ -23,10 +23,10 @@ #include #include @@ -12,6 +12,31 @@ #include #include #include +--- src/devices/nm-device.c ++++ src/devices/nm-device.c +@@ -34,7 +34,11 @@ + #include + #include + #include +-#include ++#if defined(__GLIBC__) ++ #include ++#else ++ #include ++#endif + #include + #include + +--- src/nm-manager.c ++++ src/nm-manager.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + #include "nm-utils/nm-c-list.h" + --- src/platform/nm-linux-platform.c +++ src/platform/nm-linux-platform.c @@ -20,6 +20,7 @@ @@ -22,36 +47,22 @@ #include #include -@@ -33,7 +34,9 @@ +@@ -33,7 +34,11 @@ #include #include #include -#include +#if defined(__GLIBC__) + #include ++#else ++ #include +#endif #include #include #include -@@ -53,7 +56,6 @@ +@@ -53,7 +58,6 @@ #include "nm-platform-private.h" #include "wifi/nm-wifi-utils.h" #include "wifi/nm-wifi-utils-wext.h" -#include "wpan/nm-wpan-utils.h" #include "nm-utils/unaligned.h" - #include "nm-utils/nm-io-utils.h" - #include "nm-utils/nm-udev-utils.h" ---- src/devices/nm-device.c -+++ src/devices/nm-device.c -@@ -34,7 +34,9 @@ - #include - #include - #include --#include -+#if defined(__GLIBC__) -+ #include -+#endif - #include - #include - #include - diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index 9fb2d74822b..bc7a2e38676 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -1,7 +1,7 @@ # Template file for 'NetworkManager' pkgname=NetworkManager -version=1.14.4 -revision=5 +version=1.14.6 +revision=1 build_style=gnu-configure build_helper="gir" configure_args="--without-dhcpcd --with-dhclient=/usr/bin/dhclient @@ -27,7 +27,7 @@ maintainer="Rasmus Thomsen " license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/NetworkManager" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=35a3ede4c7d12d6212033c9e44cb82b7692f38063b53a067567f02f5937c8c18 +checksum=693bcdad15eec7f07a06cbc6e43ddb3b1c13b2d2d23ec165fbb5adf4c3323a5d # gtk-doc generation is disabled but gtkdocisze is required by autogen.sh hostmakedepends="automake bluez dbus-glib-devel dhclient gettext-devel @@ -84,11 +84,6 @@ pre_build() { export GIR_EXTRA_LIBS_PATH="${wrksrc}/libnm-util/.libs:${wrksrc}/libnm/.libs:${wrksrc}/libnm-glib/.libs" } -do_check() { - # src/settings/plugins/ibft/tests/test-ibft errors out in chroot - : -} - post_install() { vinstall ${FILESDIR}/${pkgname}.conf 644 etc/${pkgname} # remove unused stuff