summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-13 08:59:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-13 08:59:58 +0100
commitf42fb988bae9d402b0b204614b54ba9b4261d877 (patch)
treed6fa4f90d3deeaff970852d7bc8343b29b8e6b71 /package/dosfstools/patches
parentd2bda1cfddccdd4c553a15e775a037de3bbb0570 (diff)
fix linking with iconv
Diffstat (limited to 'package/dosfstools/patches')
-rw-r--r--package/dosfstools/patches/patch-Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile
index c20b7f4dc..1d127acbc 100644
--- a/package/dosfstools/patches/patch-Makefile
+++ b/package/dosfstools/patches/patch-Makefile
@@ -1,11 +1,13 @@
---- dosfstools-3.0.9.orig/Makefile 2009-10-04 11:03:23.000000000 +0200
-+++ dosfstools-3.0.9/Makefile 2011-01-07 21:50:15.000000000 +0100
-@@ -29,7 +29,7 @@ OPTFLAGS = -O2 -fomit-frame-pointer $(sh
+--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
++++ dosfstools-3.0.26/Makefile 2014-03-13 08:58:52.000000000 +0100
+@@ -32,7 +32,9 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G
#WARNFLAGS = -Wall -pedantic -std=c99
- WARNFLAGS = -Wall
+ WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
DEBUGFLAGS = -g
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
++CFLAGS ?=
+CFLAGS += $(WARNFLAGS)
++LDLIBS = -liconv
VPATH = src