CVS commit: src/sys/modules/pf
Module Name:src Committed By: christos Date: Sun Oct 18 14:36:43 UTC 2020 Modified Files: src/sys/modules/pf: Makefile Log Message: Avoid alignment of packed member To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.12 src/sys/modules/pf/Makefile:1.13 --- src/sys/modules/pf/Makefile:1.12 Sun Sep 29 19:45:00 2019 +++ src/sys/modules/pf/Makefile Sun Oct 18 10:36:43 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2019/09/29 23:45:00 mrg Exp $ +# $NetBSD: Makefile,v 1.13 2020/10/18 14:36:43 christos Exp $ .include "../Makefile.inc" @@ -25,5 +25,8 @@ WARNS= 3 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.pf.c+= -Wno-error=implicit-fallthrough .endif +COPTS.pf.c += -Wno-error=address-of-packed-member +COPTS.pf_norm.c += -Wno-error=address-of-packed-member +COPTS.pf_table.c += -Wno-error=address-of-packed-member .include
CVS commit: src/sys/modules/pf
Module Name:src Committed By: maya Date: Mon Feb 19 16:21:37 UTC 2018 Modified Files: src/sys/modules/pf: Makefile Log Message: Code is fixed, so hiding the warning is not necessary any more. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.8 src/sys/modules/pf/Makefile:1.9 --- src/sys/modules/pf/Makefile:1.8 Mon Feb 12 22:18:36 2018 +++ src/sys/modules/pf/Makefile Mon Feb 19 16:21:36 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2018/02/12 22:18:36 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2018/02/19 16:21:36 maya Exp $ .include "../Makefile.inc" @@ -20,8 +20,4 @@ SRCS+= tcp_rndiss.c CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET -.if ${HAVE_GCC:U0} == "6" -COPTS.pf_table.c+= -Wno-error=shift-negative-value -.endif - .include
CVS commit: src/sys/modules/pf
Module Name:src Committed By: adam Date: Mon Feb 12 20:47:09 UTC 2018 Modified Files: src/sys/modules/pf: Makefile Log Message: Fix building with MKGCC=no To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.6 src/sys/modules/pf/Makefile:1.7 --- src/sys/modules/pf/Makefile:1.6 Tue Feb 6 12:58:17 2018 +++ src/sys/modules/pf/Makefile Mon Feb 12 20:47:09 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2018/02/06 12:58:17 martin Exp $ +# $NetBSD: Makefile,v 1.7 2018/02/12 20:47:09 adam Exp $ .include "../Makefile.inc" @@ -20,7 +20,7 @@ SRCS+= tcp_rndiss.c CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET -.if ${HAVE_GCC} != 5 +.if defined(HAVE_GCC) && ${HAVE_GCC} != 5 COPTS.pf_table.c+= -Wno-error=shift-negative-value .endif
CVS commit: src/sys/modules/pf
Module Name:src Committed By: martin Date: Tue Feb 6 12:58:17 UTC 2018 Modified Files: src/sys/modules/pf: Makefile Log Message: Avoid gcc 6 specific options when compiling with gcc 5 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.5 src/sys/modules/pf/Makefile:1.6 --- src/sys/modules/pf/Makefile:1.5 Tue Feb 6 09:20:50 2018 +++ src/sys/modules/pf/Makefile Tue Feb 6 12:58:17 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2018/02/06 09:20:50 mrg Exp $ +# $NetBSD: Makefile,v 1.6 2018/02/06 12:58:17 martin Exp $ .include "../Makefile.inc" @@ -20,6 +20,8 @@ SRCS+= tcp_rndiss.c CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET +.if ${HAVE_GCC} != 5 COPTS.pf_table.c+= -Wno-error=shift-negative-value +.endif .include
CVS commit: src/sys/modules/pf
Module Name:src Committed By: mrg Date: Tue Feb 6 09:20:50 UTC 2018 Modified Files: src/sys/modules/pf: Makefile Log Message: pf_table.c has many left-shift of negative value issues. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.4 src/sys/modules/pf/Makefile:1.5 --- src/sys/modules/pf/Makefile:1.4 Thu Aug 20 11:05:01 2015 +++ src/sys/modules/pf/Makefile Tue Feb 6 09:20:50 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2015/08/20 11:05:01 christos Exp $ +# $NetBSD: Makefile,v 1.5 2018/02/06 09:20:50 mrg Exp $ .include "../Makefile.inc" @@ -20,4 +20,6 @@ SRCS+= tcp_rndiss.c CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET +COPTS.pf_table.c+= -Wno-error=shift-negative-value + .include
CVS commit: src/sys/modules/pf
Module Name:src Committed By: ahoka Date: Tue Apr 13 13:09:46 UTC 2010 Removed Files: src/sys/modules/pf: bpfilter.h Log Message: Remove bpfilter.h as not needed. To generate a diff of this commit: cvs rdiff -u -r1.1 -r0 src/sys/modules/pf/bpfilter.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.