crda/gcc6-fix-errors.patch

12 lines
389 B
Diff

--- crda-3.18/Makefile 2016-05-25 11:21:57.462831428 +0200
+++ crda-3.18/Makefile 2014-12-11 00:51:29.000000000 +0100
@@ -26,7 +26,7 @@
RUNTIME_PUBKEY_DIR?=/etc/wireless-regdb/pubkeys
CFLAGS += -O2 -fpic
-CFLAGS += -std=gnu99 -Wall -Werror -pedantic
+CFLAGS += -std=gnu99 -Wall -Werror -Wno-unused-const-variable -pedantic
CFLAGS += -Wall -g
LDLIBREG += -lreg
LDLIBS += $(LDLIBREG)