diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-support/samsung-soc-utils')
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch b/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch new file mode 100644 index 000000000..4e6c25041 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch @@ -0,0 +1,28 @@ +From fd244ae648789591f0fb79e74d2b8f6c5b15d6e8 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 6 Aug 2019 00:47:14 +0000 +Subject: [PATCH] ppt.c: Do not include sys/io.h + +newer versions of glibc has removed it + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + ppt.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/ppt.c b/ppt.c +index 0bae2d0..0ef279f 100644 +--- a/ppt.c ++++ b/ppt.c +@@ -5,7 +5,6 @@ + #else
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <sys/io.h>
+ #include <linux/parport.h>
+ #include <linux/ppdev.h>
+ #include <sys/ioctl.h>
+-- +2.17.1 + diff --git a/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb b/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb index 2d5935dd3..c56c8b9dd 100644 --- a/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb +++ b/meta-openembedded/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb @@ -7,7 +7,9 @@ SRCREV = "4268" PV = "0.1+svnr${SRCPV}" PR = "r1" -SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http" +SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http \ + file://0001-ppt.c-Do-not-include-sys-io.h.patch \ + " S = "${WORKDIR}/sjf2410-linux" inherit native deploy |