summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-22 15:00:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-22 18:17:20 +0200
commitd6ec84207d14aea77d5773b1db6278ce9f72702e (patch)
treeee2000f245c313143155d9349de6977a7861b8cc /package/dosfstools/patches/patch-Makefile
parentdcb585a900e04b71974fa82bf2170eb3f810b9b5 (diff)
fix filesystem check with devices bigger than 2 GB
Diffstat (limited to 'package/dosfstools/patches/patch-Makefile')
-rw-r--r--package/dosfstools/patches/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
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