From dda4e0611e45e5fa02be3753cd497447d67156b77acbadd856b985e6723598d3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 31 May 2022 14:44:27 +0000 Subject: [PATCH] - Drop 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=67 --- ...-add-missing-AM_CPPFLAGS-to-examples.patch | 28 ------------------- nftables.changes | 1 + nftables.spec | 1 - 3 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch diff --git a/0001-build-add-missing-AM_CPPFLAGS-to-examples.patch b/0001-build-add-missing-AM_CPPFLAGS-to-examples.patch deleted file mode 100644 index 5319ec2..0000000 --- a/0001-build-add-missing-AM_CPPFLAGS-to-examples.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6b46cd26f9503ae50e9741747092a72d2fc35ec3 Mon Sep 17 00:00:00 2001 -From: Jan Engelhardt -Date: Tue, 22 Feb 2022 05:44:57 +0100 -Subject: [PATCH] build: add missing AM_CPPFLAGS to examples/ - -examples$ make V=1 -depbase=`echo nft-buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ -gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nft-buffer.o -MD -MP -MF $depbase.Tpo -c -o nft-buffer.o nft-buffer.c &&\ -mv -f $depbase.Tpo $depbase.Po -nft-buffer.c:3:10: fatal error: nftables/libnftables.h: No such file or directory - -Signed-off-by: Jan Engelhardt ---- - examples/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/examples/Makefile.am b/examples/Makefile.am -index c972170d..d7234ce4 100644 ---- a/examples/Makefile.am -+++ b/examples/Makefile.am -@@ -1,3 +1,4 @@ -+AM_CPPFLAGS = -I$(top_srcdir)/include - noinst_PROGRAMS = nft-buffer \ - nft-json-file - --- -2.35.1 - diff --git a/nftables.changes b/nftables.changes index 10070de..f0771e0 100644 --- a/nftables.changes +++ b/nftables.changes @@ -9,6 +9,7 @@ Tue May 31 13:34:12 UTC 2022 - Jan Engelhardt * Support for raw expressions in concatenations. * Support for integer type protocol header fields in concatenations. * Allow to reset TCP options (requires Linux kernel >= 5.18) +- Drop 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch ------------------------------------------------------------------- Tue Feb 22 04:39:01 UTC 2022 - Jan Engelhardt diff --git a/nftables.spec b/nftables.spec index 7a28814..5c0b967 100644 --- a/nftables.spec +++ b/nftables.spec @@ -28,7 +28,6 @@ URL: https://netfilter.org/projects/nftables/ Source: http://ftp.netfilter.org/pub/%name/%name-%version.tar.bz2 Source2: http://ftp.netfilter.org/pub/%name/%name-%version.tar.bz2.sig Source3: %name.keyring -Patch1: 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch BuildRequires: asciidoc BuildRequires: bison BuildRequires: flex