diff --git a/srcpkgs/NetworkManager/patches/musl.patch b/srcpkgs/NetworkManager/patches/musl.patch new file mode 100644 index 00000000000..b2bed4623c0 --- /dev/null +++ b/srcpkgs/NetworkManager/patches/musl.patch @@ -0,0 +1,213 @@ +--- clients/cli/devices.c 2015-05-05 11:35:17.000000000 +0000 ++++ clients/cli/devices.c 2015-05-13 09:44:45.931000000 +0000 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include + #include +--- clients/cli/settings.c 2015-05-05 11:35:17.000000000 +0000 ++++ clients/cli/settings.c 2015-05-13 09:44:29.586000000 +0000 +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + #include + #include +--- libnm/nm-device-bt.c 2015-03-04 16:45:35.000000000 +0000 ++++ libnm/nm-device-bt.c 2015-05-13 09:42:51.825000000 +0000 +@@ -22,6 +22,7 @@ + #include "config.h" + + #include ++#include + #include + + #include "nm-glib-compat.h" +--- libnm/nm-device-ethernet.c 2015-03-04 16:45:35.000000000 +0000 ++++ libnm/nm-device-ethernet.c 2015-05-13 09:43:08.769000000 +0000 +@@ -22,6 +22,7 @@ + #include "config.h" + + #include ++#include + #include + + #include "nm-glib-compat.h" +--- libnm/nm-device-wifi.c 2015-03-04 16:45:35.000000000 +0000 ++++ libnm/nm-device-wifi.c 2015-05-13 09:43:24.673000000 +0000 +@@ -22,6 +22,7 @@ + #include "config.h" + + #include ++#include + #include + + #include "nm-glib-compat.h" +--- libnm/nm-device-wimax.c 2015-05-05 11:35:17.000000000 +0000 ++++ libnm/nm-device-wimax.c 2015-05-13 09:43:35.881000000 +0000 +@@ -22,6 +22,7 @@ + #include "config.h" + + #include ++#include + #include + + #include "nm-glib-compat.h" +--- libnm-core/nm-setting-bridge.c 2015-05-05 11:35:17.000000000 +0000 ++++ libnm-core/nm-setting-bridge.c 2015-05-13 09:40:28.049000000 +0000 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + #include "nm-setting-bridge.h" + #include "nm-connection-private.h" +--- libnm-core/nm-setting-olpc-mesh.c 2015-03-04 16:45:35.000000000 +0000 ++++ libnm-core/nm-setting-olpc-mesh.c 2015-05-13 09:41:26.729000000 +0000 +@@ -23,6 +23,7 @@ + #include "config.h" + + #include ++#include + #include + + #include "nm-setting-olpc-mesh.h" +--- libnm-core/nm-utils.c 2015-05-05 11:35:17.000000000 +0000 ++++ libnm-core/nm-utils.c 2015-05-13 09:39:43.402000000 +0000 +@@ -23,7 +23,8 @@ + + #include + #include + #include ++#include + #include + #include + #include +--- src/NetworkManagerUtils.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/NetworkManagerUtils.c 2015-05-13 09:36:02.078000000 +0000 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include "NetworkManagerUtils.h" + #include "nm-platform.h" +--- src/devices/bluetooth/nm-bluez-device.c 2015-05-05 11:35:17.000000000 +0000 ++++ /src/devices/bluetooth/nm-bluez-device.c 2015-05-13 09:36:02.078000000 +0000 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + #include "nm-core-internal.h" + +--- src/devices/bluetooth/nm-device-bt.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/devices/bluetooth/nm-device-bt.c 2015-05-13 09:44:10.995000000 +0000 +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include + #include +--- src/devices/nm-device-bridge.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/devices/nm-device-bridge.c 2015-05-13 09:36:02.079000000 +0000 +@@ -24,6 +24,7 @@ + #include + + #include ++#include + + #include "gsystem-local-alloc.h" + #include "nm-device-bridge.h" +--- src/devices/wifi/nm-wifi-ap.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/devices/wifi/nm-wifi-ap.c 2015-05-13 09:36:02.079000000 +0000 +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + #include "nm-wifi-ap.h" + #include "nm-wifi-ap-utils.h" +--- src/dhcp-manager/nm-dhcp-dhclient-utils.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/dhcp-manager/nm-dhcp-dhclient-utils.c 2015-05-13 09:36:02.079000000 +0000 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include "nm-dhcp-dhclient-utils.h" + #include "nm-dhcp-utils.h" +--- src/platform/wifi/wifi-utils.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/platform/wifi/wifi-utils.c 2015-05-13 09:36:02.080000000 +0000 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + + #include "wifi-utils.h" +--- src/platform/wifi/wifi-utils.h 2015-05-05 11:35:17.000000000 +0000 ++++ src/platform/wifi/wifi-utils.h 2015-05-13 09:36:02.080000000 +0000 +@@ -22,7 +22,6 @@ + #ifndef __WIFI_UTILS_H__ + #define __WIFI_UTILS_H__ + +-#include + #include + + #include "nm-dbus-interface.h" +--- src/settings/nm-settings-connection.h 2015-04-17 11:06:20.000000000 +0000 ++++ src/settings/nm-settings-connection.h 2015-05-13 09:36:02.080000000 +0000 +@@ -22,8 +22,6 @@ + #ifndef __NETWORKMANAGER_SETTINGS_CONNECTION_H__ + #define __NETWORKMANAGER_SETTINGS_CONNECTION_H__ + +-#include +- + #include + #include "nm-types.h" + +--- src/settings/plugins/ibft/reader.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/settings/plugins/ibft/reader.c 2015-05-13 09:36:02.080000000 +0000 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- src/settings/plugins/keyfile/reader.c 2015-05-05 11:35:17.000000000 +0000 ++++ src/settings/plugins/keyfile/reader.c 2015-05-13 09:36:02.081000000 +0000 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + + #include "nm-core-internal.h" +--- libnm-core/nm-utils.h.orig 2015-05-13 09:54:12.405000000 +0000 ++++ libnm-core/nm-utils.h 2015-05-13 09:54:18.219000000 +0000 +@@ -30,7 +30,6 @@ + #include + + /* For ETH_ALEN and INFINIBAND_ALEN */ +-#include + #include + + #include "nm-dbus-interface.h" + diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index 10b48542577..3e16ad1e227 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -1,7 +1,7 @@ # Template file for 'NetworkManager' pkgname=NetworkManager version=1.0.2 -revision=2 +revision=3 build_style=gnu-configure configure_args="--without-dhcpcd --with-dhclient=/usr/sbin/dhclient --with-system-ca-path=/etc/ssl/certs --enable-more-warnings=no @@ -10,7 +10,7 @@ configure_args="--without-dhcpcd --with-dhclient=/usr/sbin/dhclient --with-kernel-firmware-dir=/usr/lib/firmware --disable-wimax --with-pppd-plugin-dir=/usr/lib/pppd/2.4.7 --enable-modify-system --with-modem-manager-1 --with-resolvconf=/usr/bin/resolvconf - --enable-polkit-agent --enable-tests=no + --enable-polkit-agent --enable-tests=no LDFLAGS= ac_cv_file__etc_redhat_release=no ac_cv_file__etc_gentoo_release=no ac_cv_file__etc_fedora_release=no ac_cv_file__etc_mandriva_release=no ac_cv_file__etc_SuSE_release=no ac_cv_file__etc_debian_version=no"