summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-05 18:05:22 -0700
committerKhem Raj <raj.khem@gmail.com>2019-08-06 12:04:33 -0700
commit3b8a7ca0267312a49755a88c26109a536a04bd40 (patch)
tree245ab47e5cc63c1b200682de20ec16ab9bbd7b10
parent80e0113f7a31447191204e1a1bda9c12e4ac693b (diff)
downloadmeta-openembedded-3b8a7ca0267312a49755a88c26109a536a04bd40.tar.gz
sjf2410-linux-native: Do not include sys/io.h
This file is non-existent on non-x86 build hosts Fixes ppt.c:8:10: fatal error: sys/io.h: No such file or directory #include <sys/io.h> ^~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch28
-rw-r--r--meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb4
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch b/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch
new file mode 100644
index 0000000000..4e6c250415
--- /dev/null
+++ b/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch
@@ -0,0 +1,28 @@
1From fd244ae648789591f0fb79e74d2b8f6c5b15d6e8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Aug 2019 00:47:14 +0000
4Subject: [PATCH] ppt.c: Do not include sys/io.h
5
6newer versions of glibc has removed it
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 ppt.c | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/ppt.c b/ppt.c
15index 0bae2d0..0ef279f 100644
16--- a/ppt.c
17+++ b/ppt.c
18@@ -5,7 +5,6 @@
19 #else
20 #include <unistd.h>
21 #include <stdlib.h>
22-#include <sys/io.h>
23 #include <linux/parport.h>
24 #include <linux/ppdev.h>
25 #include <sys/ioctl.h>
26--
272.17.1
28
diff --git a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
index 2d5935dd3c..c56c8b9dd8 100644
--- a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
+++ b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
@@ -7,7 +7,9 @@ SRCREV = "4268"
7PV = "0.1+svnr${SRCPV}" 7PV = "0.1+svnr${SRCPV}"
8PR = "r1" 8PR = "r1"
9 9
10SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http" 10SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http \
11 file://0001-ppt.c-Do-not-include-sys-io.h.patch \
12 "
11S = "${WORKDIR}/sjf2410-linux" 13S = "${WORKDIR}/sjf2410-linux"
12 14
13inherit native deploy 15inherit native deploy