summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-11-21 11:27:40 +0800
committerJoe MacDonald <joe@deserted.net>2013-11-27 15:20:06 -0500
commit75c52163b0f6e847f178d5919678f3c2af6f273f (patch)
tree4177a028e8d4a980f7ffdb0e97748444bdf4aecf /meta-networking/recipes-protocols/quagga
parentec152778cd6cc670991445d02e35685e6e3404ed (diff)
downloadmeta-openembedded-75c52163b0f6e847f178d5919678f3c2af6f273f.tar.gz
quagga: Backport a patch to fix extract.pl for cross compilation
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/build-fix-extract.pl-for-cross-compilation.patch31
-rw-r--r--meta-networking/recipes-protocols/quagga/quagga_0.99.21.bb4
2 files changed, 34 insertions, 1 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 000000000..e3ccc2a0e
--- /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
diff --git a/meta-networking/recipes-protocols/quagga/quagga_0.99.21.bb b/meta-networking/recipes-protocols/quagga/quagga_0.99.21.bb
index 10740bc80..ae93952e3 100644
--- a/meta-networking/recipes-protocols/quagga/quagga_0.99.21.bb
+++ b/meta-networking/recipes-protocols/quagga/quagga_0.99.21.bb
@@ -3,7 +3,9 @@ require quagga.inc
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.0"
4 4
5SRC_URI += "file://0001-doc-fix-makeinfo-errors-and-one-warning.patch \ 5SRC_URI += "file://0001-doc-fix-makeinfo-errors-and-one-warning.patch \
6 file://lingering-IP-address-after-deletion-BZ-486.patch" 6 file://lingering-IP-address-after-deletion-BZ-486.patch \
7 file://build-fix-extract.pl-for-cross-compilation.patch \
8"
7 9
8SRC_URI[quagga-0.99.21.md5sum] = "99840adbe57047c90dfba6b6ed9aec7f" 10SRC_URI[quagga-0.99.21.md5sum] = "99840adbe57047c90dfba6b6ed9aec7f"
9SRC_URI[quagga-0.99.21.sha256sum] = "9b8aea9026b4771a28e254a66cbd854723bcd0d71eebd0201d11838d4eb392ee" 11SRC_URI[quagga-0.99.21.sha256sum] = "9b8aea9026b4771a28e254a66cbd854723bcd0d71eebd0201d11838d4eb392ee"