mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
80e0113f7a
commit
3b8a7ca026
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user