[oe-commits] Michael 'Mickey' Lauer : ezx-boot-usb-native: add patch to make it compile (missing include for PATH_MAX)
git version control
git at git.openembedded.org
Sat May 30 17:12:34 UTC 2009
Module: openembedded.git
Branch: fso/milestone5.5
Commit: 47ee23c35105205f22fae4970f269fa32c5ac2d5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=47ee23c35105205f22fae4970f269fa32c5ac2d5
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Sun May 3 13:25:07 2009 +0200
ezx-boot-usb-native: add patch to make it compile (missing include for PATH_MAX)
---
recipes/ezx/ezx-boot-usb-native_svn.bb | 6 +++++-
recipes/ezx/files/add-missing-include.patch | 12 ++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/recipes/ezx/ezx-boot-usb-native_svn.bb b/recipes/ezx/ezx-boot-usb-native_svn.bb
index 426ad4a..979c4e5 100644
--- a/recipes/ezx/ezx-boot-usb-native_svn.bb
+++ b/recipes/ezx/ezx-boot-usb-native_svn.bb
@@ -4,8 +4,12 @@ SECTION = "devel"
AUTHOR = "Team OpenEZX <openezx-devel at lists.openezx.org>"
LICENSE = "GPL"
PV = "0.3.0+svnr${SRCREV}"
+PR = "r1"
-SRC_URI = "svn://svn.openezx.org/trunk/src/host;module=boot_usb;proto=http"
+SRC_URI = "\
+ svn://svn.openezx.org/trunk/src/host;module=boot_usb;proto=http \
+ file://add-missing-include.patch;patch=1 \
+"
S = "${WORKDIR}/boot_usb"
EXTRA_OECONF := '--with-kernel-dir="${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"'
diff --git a/recipes/ezx/files/add-missing-include.patch b/recipes/ezx/files/add-missing-include.patch
new file mode 100644
index 0000000..0795298
--- /dev/null
+++ b/recipes/ezx/files/add-missing-include.patch
@@ -0,0 +1,12 @@
+Index: boot_usb/boot_usb.c
+===================================================================
+--- boot_usb.orig/boot_usb.c
++++ boot_usb/boot_usb.c
+@@ -23,6 +23,7 @@
+ *
+ */
+
++#include <linux/limits.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
More information about the Openembedded-commits
mailing list