diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-10-28 09:48:07 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-28 18:51:42 +0100 |
commit | 7521604c1b99c6261e64e0e0b37395fc38e7775c (patch) | |
tree | 050b28835837e214543d7666f9eeaa51d7f87166 /package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch | |
parent | 8397e6c8aabe4c816fcc43b51ebededb1ff8ff85 (diff) | |
download | buildroot-7521604c1b99c6261e64e0e0b37395fc38e7775c.tar.gz buildroot-7521604c1b99c6261e64e0e0b37395fc38e7775c.zip |
mpd: fix upnp build failure
Add patch to fix build failure:
http://autobuild.buildroot.net/results/7ff/7ff28551b9c72658eb75394e7cbd1904861f23e3/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch')
-rw-r--r-- | package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch b/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch new file mode 100644 index 0000000000..ff581c3d51 --- /dev/null +++ b/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch @@ -0,0 +1,30 @@ +From 1901bd9d6be651fbaa5c7659d92d3361e6d6a823 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Tue, 28 Oct 2014 07:25:48 -0300 +Subject: [PATCH] upnp/Discovery: add missing stdlib.h include + +Used for free(). + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- +Status: Sent upstream. + + src/lib/upnp/Discovery.cxx | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx +index 9ea78c6..2c91e37 100644 +--- a/src/lib/upnp/Discovery.cxx ++++ b/src/lib/upnp/Discovery.cxx +@@ -26,6 +26,8 @@ + + #include <upnp/upnptools.h> + ++#include <stdlib.h> ++ + #include <string.h> + + // The service type string we are looking for. +-- +2.0.4 + |