summaryrefslogtreecommitdiffstats
path: root/testing/networkmanager/new-fix-musl-headers.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-04-28 00:38:05 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-28 16:06:45 +0200
commit6a0ddb4d20f62d15e705f695c2af13318bd5b8c0 (patch)
tree8013f62459339533fcf8c7ce31b9e89ab3f3cf80 /testing/networkmanager/new-fix-musl-headers.patch
parentc15bb38e698f0fd8d3b1adf9247a9808aa05da1a (diff)
downloadaports-6a0ddb4d20f62d15e705f695c2af13318bd5b8c0.tar.bz2
aports-6a0ddb4d20f62d15e705f695c2af13318bd5b8c0.tar.xz
testing/networkmanager: update to 1.0.0
resubmitting with ncurses-terminfo moved from $depends_dev to $make_depends.
Diffstat (limited to 'testing/networkmanager/new-fix-musl-headers.patch')
-rw-r--r--testing/networkmanager/new-fix-musl-headers.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/networkmanager/new-fix-musl-headers.patch b/testing/networkmanager/new-fix-musl-headers.patch
new file mode 100644
index 000000000..e29f8569e
--- /dev/null
+++ b/testing/networkmanager/new-fix-musl-headers.patch
@@ -0,0 +1,31 @@
+## moving the <linux/xxxx> includes to below nm includes
+## no longer works in 1.0.0.
+--- NetworkManager-1.0.0/src/platform/wifi/wifi-utils.h
++++ NetworkManager-1.0.0/src/platform/wifi/wifi-utils.h.new
+@@ -22,10 +22,10 @@
+ #ifndef __WIFI_UTILS_H__
+ #define __WIFI_UTILS_H__
+
+-#include <net/ethernet.h>
+ #include <glib.h>
+
+ #include "nm-dbus-interface.h"
++#include <linux/if_ether.h>
+
+ typedef struct WifiData WifiData;
+
+--- NetworkManager-1.0.0/src/settings/nm-settings-connection.h
++++ NetworkManager-1.0.0/src/settings/nm-settings-connection.h.new
+@@ -22,10 +22,9 @@
+ #ifndef __NETWORKMANAGER_SETTINGS_CONNECTION_H__
+ #define __NETWORKMANAGER_SETTINGS_CONNECTION_H__
+
+-#include <net/ethernet.h>
+-
+ #include <nm-connection.h>
+ #include "nm-types.h"
++#include <linux/if_ether.h>
+
+ G_BEGIN_DECLS
+
+