• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/iptables/0002-iptables-add-xtables-config-parser.h-to-BUILT_SOURCES.patch
Gustavo ZacariasGustavo Zacarias committed 5d4df62204530 Dec 2015
Raw file
Source viewDiff to previous
 
1
From 4dc8e2aa91bd4151f7e5cd56d88d3731b4c1525e Mon Sep 17 00:00:00 2001
2
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3
Date: Wed, 30 Dec 2015 14:39:35 -0300
4
Subject: [PATCH] iptables: add xtables-config-parser.h to BUILT_SOURCES
5
​
6
Otherwise other sources that use it might be built before it's ready leading
7
to build failure, for example by iptables/nft.c
8
​
9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10
---
11
Status: sent upstream (mailing list, no link yet)
12
​
13
 iptables/Makefile.am | 3 +++
14
 1 file changed, 3 insertions(+)
15
​
16
diff --git a/iptables/Makefile.am b/iptables/Makefile.am
17
index 3c0faa5..c3eb8a8 100644
18
--- a/iptables/Makefile.am
19
+++ b/iptables/Makefile.am
20
@@ -4,6 +4,8 @@ AM_CFLAGS        = ${regular_CFLAGS}
21
 AM_CPPFLAGS      = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} ${libmnl_CFLAGS} ${libnftnl_CFLAGS} ${libnetfilter_conntrack_CFLAGS}
22
 AM_YFLAGS = -d
23
 
24
+BUILT_SOURCES =
25
+
26
 xtables_multi_SOURCES  = xtables-multi.c iptables-xml.c
27
 xtables_multi_CFLAGS   = ${AM_CFLAGS}
28
 xtables_multi_LDADD    = ../extensions/libext.a
29
@@ -27,6 +29,7 @@ xtables_multi_LDADD   += ../libxtables/libxtables.la -lm
30
 
31
 # nftables compatibility layer
32
 if ENABLE_NFTABLES
33
+BUILT_SOURCES += xtables-config-parser.h
34
 xtables_compat_multi_SOURCES  = xtables-compat-multi.c iptables-xml.c
35
 xtables_compat_multi_CFLAGS   = ${AM_CFLAGS}
36
 xtables_compat_multi_LDADD    = ../extensions/libext.a ../extensions/libext_ebt.a
37
-- 
38
2.4.10
39
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.