summaryrefslogtreecommitdiffstats
path: root/patches/totd-1.5/totd-1.5-disable-werror.diff
blob: 254096b5e2923b700d9851846ecb4bd00e12a7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Subject: [patch] disable -Werror
From: Robert Schwebel <r.schwebel@pengutronix.de>

I couldn't get rid of these warnings yet, so let's disable -Werror now:

ne_io.c: In function 'net_ifc_cmp':
ne_io.c:72: warning: pointer targets in assignment differ in signedness
ne_io.c:73: warning: pointer targets in assignment differ in signedness
ne_io.c: In function 'nia_set_wildsock':
ne_io.c:275: warning: unused variable 'ni'
ne_io.c: In function 'net_get_ifaddrs':
ne_io.c:433: warning: pointer targets in assignment differ in signedness

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

---
 Makefile.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: totd-1.5/Makefile.in
===================================================================
--- totd-1.5.orig/Makefile.in
+++ totd-1.5/Makefile.in
@@ -19,7 +19,7 @@ TOT_CONFIG_FILE=@sysconfdir@/totd.conf
 
 INSTALL = /usr/bin/install
 
-CFLAGS  = @CFLAGS@ @DEFS@  -Werror -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
+CFLAGS  = @CFLAGS@ @DEFS@   -Wall -DTOTCONF=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
 
 # When debugging is enabled by --enable-malloc-debug flag to the configure
 # script, the @DBMALLOC@ substitution will contain the empty string, thus