From 859ad62fd58dad6dc1564421452468b9b8d7cfab Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Mon, 25 Mar 2013 13:49:00 -0700 Subject: [PATCH] dosfstools: really compile supporting large files Makefile in the package tries to set _FILE_OFFSET_BITS=64, but we clobber that with our CFLAGS, so we add it in the recipe. [CQID: 409915] (From OE-Core rev: ac904b9e10ec9641686bc35dcf200b9b855899b1) Signed-off-by: Joe Slater Signed-off-by: Richard Purdie --- meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb index eca54f1..b7b85f0 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb @@ -7,7 +7,7 @@ DESCRIPTION = "DOS FAT Filesystem Utilities" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://mkdosfs/COPYING;md5=cbe67f08d6883bff587f615f0cc81aa8" -PR = "r4" +PR = "r5" SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ file://mkdosfs-bootcode.patch \ @@ -22,6 +22,11 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV} SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6" SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484" +# Makefile sets this, but we clobber its CFLAGS, so +# add this in here to for sure allow for big files. +# +CFLAGS_append = " -D_FILE_OFFSET_BITS=64" + do_install () { oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ "MANDIR=${D}${mandir}/man8" install -- 2.7.4