Bump buildroot to 2019.02
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
From 381eaa40735385a1a60e5ab0a7daf4bb847fc2ab Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Fri, 9 Feb 2018 14:42:31 +0200
|
||||
Subject: [PATCH] src: fix build with older glibc
|
||||
|
||||
glibc before 2.19 missed the definition of IPPROTO_MH. This leads to
|
||||
build failure:
|
||||
|
||||
parser_bison.y: In function 'nft_parse':
|
||||
parser_bison.y:3793:21: error: 'IPPROTO_MH' undeclared (first use in this function)
|
||||
| MH { $$ = IPPROTO_MH; }
|
||||
^
|
||||
|
||||
Since we have a local definition of IPPROTO_MH in headers.h use that to
|
||||
fix the build.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://marc.info/?l=netfilter-devel&m=151818061103886&w=2
|
||||
|
||||
src/parser_bison.y | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/parser_bison.y b/src/parser_bison.y
|
||||
index 2e79109f4da3..578bfdc10429 100644
|
||||
--- a/src/parser_bison.y
|
||||
+++ b/src/parser_bison.y
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <rule.h>
|
||||
#include <statement.h>
|
||||
#include <expression.h>
|
||||
+#include <headers.h>
|
||||
#include <utils.h>
|
||||
#include <parser.h>
|
||||
#include <erec.h>
|
||||
--
|
||||
2.15.1
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
# From http://www.netfilter.org/projects/nftables/downloads.html
|
||||
sha1 51fd436845718f1221ee198128656ef9055c2588 nftables-0.8.1.tar.bz2
|
||||
# Locally calculated after checking pgp signature
|
||||
# http://www.netfilter.org/projects/nftables/files/nftables-0.8.1.tar.bz2.sig
|
||||
sha256 8aead66cce70d68c70e4be917813abcbcf62811ee6de4c7761d0e34391772fc4 nftables-0.8.1.tar.bz2
|
||||
# From https://netfilter.org/projects/nftables/downloads.html
|
||||
sha256 ad8181b5fcb9ca572f444bed54018749588522ee97e4c21922648bb78d7e7e91 nftables-0.9.0.tar.bz2
|
||||
sha256 c17bc4fa5b2434c6f283ffcb2312e5bf3c7cdf5787b79505f094d8de734ac53e COPYING
|
||||
|
||||
@@ -4,13 +4,14 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NFTABLES_VERSION = 0.8.1
|
||||
NFTABLES_VERSION = 0.9.0
|
||||
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
||||
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
||||
NFTABLES_SITE = https://www.netfilter.org/projects/nftables/files
|
||||
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
|
||||
host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
NFTABLES_LICENSE = GPL-2.0
|
||||
NFTABLES_LICENSE_FILES = COPYING
|
||||
NFTABLES_CONF_OPTS = --disable-man-doc --disable-pdf-doc
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
NFTABLES_DEPENDENCIES += readline
|
||||
@@ -19,16 +20,17 @@ else
|
||||
NFTABLES_CONF_OPTS += --without-cli
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JANSSON),y)
|
||||
NFTABLES_DEPENDENCIES += jansson
|
||||
NFTABLES_CONF_OPTS += --with-json
|
||||
else
|
||||
NFTABLES_CONF_OPTS += --without-json
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
||||
NFTABLES_LIBS += -ljansson -lm
|
||||
endif
|
||||
|
||||
NFTABLES_CONF_ENV = \
|
||||
ac_cv_prog_CONFIG_PDF=no \
|
||||
LIBS="$(NFTABLES_LIBS)" \
|
||||
DBLATEX=no \
|
||||
DOCBOOK2X_MAN=no \
|
||||
DOCBOOK2MAN=no \
|
||||
DB2X_DOCBOOK2MAN=no
|
||||
NFTABLES_CONF_ENV = LIBS="$(NFTABLES_LIBS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user