summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-11-27 11:25:48 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2012-11-27 14:43:58 -0500
commite762ce3fc044cc64f473c95e096245e439eb3234 (patch)
treef8bee569ae46897e40627896679ca708e0cafca3 /meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch
parent4a851a8f25bb9d8d4f7eb40e4bd0e70f74e3ce12 (diff)
downloadmeta-openembedded-e762ce3fc044cc64f473c95e096245e439eb3234.tar.gz
quagga: add from OE-Classic, update and tidy-up
* Update to 0.99.21 * Fix SRC_URI to point to a working download location * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Add old gentoo patch to fix libcap linking errors * Put binaries in sbindir * Use useradd.bbclass to create user/groups * Handle hardcoded paths in initscript * Add LSB headers to initscript (borrowed from debian) * Tidy up packaging and directory references * Add SUMMARY Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
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.patch19
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 0000000000..50f0ad502f
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/fix-for-lib-inpath.patch
@@ -0,0 +1,19 @@
1At first this worked, then I tried a clean build in a directory that
2contained lib in it (oe/build/titan-glibc) and vtysh no longer
3worked. It's test for the lib directory was excepting anything
4containing lib.
5
6With this patch you still cannot have lib in the path anywhere, but
7at 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 }