summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch')
-rw-r--r--meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch b/meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch
deleted file mode 100644
index 38b45c2a9..000000000
--- a/meta-oe/recipes-connectivity/libmtp/libmtp-1.1.5/glibc-2.20.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1
2Include config.h so we get the defines available for subsequent
3include files
4
5Fixes errors like
6
7| In file included from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/beaglebone/usr/include/string.h:634:0,
8| from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/libmtp/1.1.5-r0/libmtp-1.1.5/src/util.c:36:
9| /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/libmtp/1.1.5-r0/libmtp-1.1.5/src/util.h:29:7: error: expected identifier or '(' before '__extension
10__'
11| char *strndup (const char *s, size_t n);
12| ^
13| /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/libmtp/1.1.5-r0/libmtp-1.1.5/src/util.c:111:7: error: expected identifier or '(' before '__extensio
14n__'
15| char *strndup (const char *s, size_t n)
16| ^
17| make[2]: *** [libmtp_la-util.lo] Error 1
18
19
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21
22Upstream-Status: Pending
23
24Index: libmtp-1.1.5/src/util.c
25===================================================================
26--- libmtp-1.1.5.orig/src/util.c 2011-01-10 05:37:21.000000000 -0800
27+++ libmtp-1.1.5/src/util.c 2014-09-03 23:50:44.703563888 -0700
28@@ -22,6 +22,8 @@
29 * Boston, MA 02111-1307, USA.
30 */
31
32+#include "config.h"
33+
34 /* MSVC does not have these */
35 #ifndef _MSC_VER
36 #include <sys/time.h>