diff options
| -rw-r--r-- | meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb | 4 |
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 @@ | |||
| 1 | From fd244ae648789591f0fb79e74d2b8f6c5b15d6e8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 6 Aug 2019 00:47:14 +0000 | ||
| 4 | Subject: [PATCH] ppt.c: Do not include sys/io.h | ||
| 5 | |||
| 6 | newer versions of glibc has removed it | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | ppt.c | 1 - | ||
| 12 | 1 file changed, 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/ppt.c b/ppt.c | ||
| 15 | index 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 | -- | ||
| 27 | 2.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" | |||
| 7 | PV = "0.1+svnr${SRCPV}" | 7 | PV = "0.1+svnr${SRCPV}" |
| 8 | PR = "r1" | 8 | PR = "r1" |
| 9 | 9 | ||
| 10 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http" | 10 | SRC_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 | " | ||
| 11 | S = "${WORKDIR}/sjf2410-linux" | 13 | S = "${WORKDIR}/sjf2410-linux" |
| 12 | 14 | ||
| 13 | inherit native deploy | 15 | inherit native deploy |
