diff options
Diffstat (limited to 'testing/networkmanager/new-fix-musl-headers.patch')
-rw-r--r-- | testing/networkmanager/new-fix-musl-headers.patch | 31 |
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 + + |