Hello community, here is the log from the commit of package crda for openSUSE:Factory checked in at 2016-05-31 12:10:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crda (Old) and /work/SRC/openSUSE:Factory/.crda.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crda" Changes: -------- --- /work/SRC/openSUSE:Factory/crda/crda.changes 2015-07-18 14:38:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.crda.new/crda.changes 2016-05-31 12:10:42.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 25 09:27:14 UTC 2016 - martin.li...@suse.com + +- Add gcc6-fix-errors.patch to remove errors seen by GCC6. + +------------------------------------------------------------------- New: ---- gcc6-fix-errors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crda.spec ++++++ --- /var/tmp/diff_new_pack.JWRCJ9/_old 2016-05-31 12:10:43.000000000 +0200 +++ /var/tmp/diff_new_pack.JWRCJ9/_new 2016-05-31 12:10:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package crda # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,6 +37,8 @@ BuildRequires: pkgconfig(udev) Requires: wireless-regdb Supplements: kernel >= 2.6.29 +# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Fix errors seen by GCC6. +Patch0: gcc6-fix-errors.patch %description The crda binary provides access to the wireless-regdb to the kernel @@ -44,6 +46,7 @@ %prep %setup -q +%patch0 -p1 # make install calls 'ldconfig' and fails if it cannot run it... ln -s /bin/true ldconfig ++++++ gcc6-fix-errors.patch ++++++ --- 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)