summaryrefslogtreecommitdiff
path: root/package/network-manager/network-manager-execinfo.patch
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-12-02 13:13:09 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-02 14:53:38 +0100
commite991961d4ef6282f5ace22eade80edc75a9c100b (patch)
tree48f2bc6660a6426d1f2b4bd060d16731e71c63e3 /package/network-manager/network-manager-execinfo.patch
parent68902f743729b3482bb6bc2ae9d0306aa9c00f65 (diff)
Add package for Gnome NetworkManager
Even though it's most commonly used on desktops, this piece of software also works well on embedded devices. The package file only resolved mandatory dependencies. Things like iptables and dnsmasq are only required if 'shared' connections are used, and have hence not been made hard prerequisites. There are probably too many i18n related files installed to the target. That might need some more tweaking. [Peter: fix Kconfig dependencies, add execinfo patch, fix libgcrypt-config path, uClibc build fix] Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/network-manager/network-manager-execinfo.patch')
-rw-r--r--package/network-manager/network-manager-execinfo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/network-manager/network-manager-execinfo.patch b/package/network-manager/network-manager-execinfo.patch
new file mode 100644
index 000000000..8dc83f0bf
--- /dev/null
+++ b/package/network-manager/network-manager-execinfo.patch
@@ -0,0 +1,31 @@
+From ff9471b7d83545614100a270e2d85b7b272abe97 Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <jacmet@sunsite.dk>
+Date: Mon, 2 Jan 2012 14:45:16 +0100
+Subject: [PATCH] [PATCH] only include execinfo.h if crashtrace support is
+ enabled
+
+On systems without backtrace suport (E.G. uClibc depending on config),
+execinfo.h might not be available, breaking the build.
+
+Fix it by only including it if enabled.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ src/logging/nm-logging.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/src/logging/nm-logging.c b/src/logging/nm-logging.c
+index ca6a709..26c8670 100644
+--- a/src/logging/nm-logging.c
++++ b/src/logging/nm-logging.c
+@@ -23,7 +23,6 @@
+
+ #include <dlfcn.h>
+ #include <syslog.h>
+-#include <execinfo.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+--
+1.7.7.1
+