summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch
downloadmeta-openembedded-1b8dfe266937a37a4c642f96ceb2347bf4c00a17.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch b/meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch
new file mode 100644
index 0000000000..7e5beef30d
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch
@@ -0,0 +1,31 @@
1Upstream-Status: Backport
2
3From ed6e297972318a0070ad4d973401fbc6e0def558 Mon Sep 17 00:00:00 2001
4From: Serj Kalichev <serj.kalichev@gmail.com>
5Date: Fri, 7 Sep 2012 13:29:42 +0400
6Subject: [PATCH] build: fix extract.pl for cross compilation
7
8extract.pl should invoke the C preprocessor for the target system, not the
9host.
10
11* vtysh/extract.pl.in: use @CPP@ to get target cpp
12---
13 vtysh/extract.pl.in | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
17index 7612aff..4c3a47f 100755
18--- a/vtysh/extract.pl.in
19+++ b/vtysh/extract.pl.in
20@@ -63,7 +63,7 @@ $ignore{'"show history"'} = "ignore";
21 foreach (@ARGV) {
22 $file = $_;
23
24- open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
25+ open (FH, "@CPP@ -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
26 local $/; undef $/;
27 $line = <FH>;
28 close (FH);
29--
301.7.1
31