diff options
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch')
-rw-r--r-- | meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch b/meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch new file mode 100644 index 000000000..50f0ad502 --- /dev/null +++ b/meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | At first this worked, then I tried a clean build in a directory that | ||
2 | contained lib in it (oe/build/titan-glibc) and vtysh no longer | ||
3 | worked. It's test for the lib directory was excepting anything | ||
4 | containing lib. | ||
5 | |||
6 | With this patch you still cannot have lib in the path anywhere, but | ||
7 | at least things containing lib will now work. | ||
8 | |||
9 | --- quagga-0.99.2/vtysh/extract.pl.in 2005/11/16 04:12:04 1.1 | ||
10 | +++ quagga-0.99.2/vtysh/extract.pl.in 2005/11/16 04:12:16 | ||
11 | @@ -89,7 +89,7 @@ | ||
12 | $cmd =~ s/\s+$//g; | ||
13 | |||
14 | # $protocol is VTYSH_PROTO format for redirection of user input | ||
15 | - if ($file =~ /lib/) { | ||
16 | + if ($file =~ /\/lib\//) { | ||
17 | if ($file =~ /keychain.c/) { | ||
18 | $protocol = "VTYSH_RIPD"; | ||
19 | } | ||