From d6ec84207d14aea77d5773b1db6278ce9f72702e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 22 May 2014 15:00:49 +0200 Subject: fix filesystem check with devices bigger than 2 GB --- package/dosfstools/patches/patch-Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/dosfstools/patches/patch-Makefile') diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile index 984244502..328882ec4 100644 --- a/package/dosfstools/patches/patch-Makefile +++ b/package/dosfstools/patches/patch-Makefile @@ -1,12 +1,12 @@ --- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100 -+++ dosfstools-3.0.26/Makefile 2014-05-05 13:38:09.000000000 +0200 ++++ dosfstools-3.0.26/Makefile 2014-05-22 13:55:10.763081049 +0200 @@ -32,7 +32,9 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G #WARNFLAGS = -Wall -pedantic -std=c99 WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes DEBUGFLAGS = -g -CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS) +CFLAGS ?= -+CFLAGS += $(WARNFLAGS) ++CFLAGS += $(WARNFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +LDLIBS = -liconv VPATH = src -- cgit v1.2.3