summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/quagga-0.99.17-libcap.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/quagga-0.99.17-libcap.patch
downloadmeta-openembedded-daisy-140929.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/quagga-0.99.17-libcap.patch')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/quagga-0.99.17-libcap.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/quagga-0.99.17-libcap.patch b/meta-networking/recipes-protocols/quagga/files/quagga-0.99.17-libcap.patch
new file mode 100644
index 0000000000..9563ea2f36
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/quagga-0.99.17-libcap.patch
@@ -0,0 +1,64 @@
1From 63e97633d01908da6d3776ac61e4033e6fa91e5c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
3Date: Sun, 5 Sep 2010 18:19:09 +0200
4Subject: [PATCH] build: fix linking position for libcap
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9 * lib/Makefile.am: link libzebra to libcap, since it uses symbols
10 from there.
11 * zebra/Makefile.am: no need to link libcap here now, since it's not
12 used directly (libtool with apply transitive dependencies for
13 static linking).
14
15Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
16
17Imported from Gentoo by Paul Eggleton <paul.eggleton@linux.intel.com>
18Upstream-Status: Pending
19
20---
21 lib/Makefile.am | 2 +-
22 zebra/Makefile.am | 5 ++---
23 2 files changed, 3 insertions(+), 4 deletions(-)
24
25diff --git a/lib/Makefile.am b/lib/Makefile.am
26index 315e919..6e69993 100644
27--- a/lib/Makefile.am
28+++ b/lib/Makefile.am
29@@ -18,7 +18,7 @@ BUILT_SOURCES = memtypes.h route_types.h
30
31 libzebra_la_DEPENDENCIES = @LIB_REGEX@
32
33-libzebra_la_LIBADD = @LIB_REGEX@
34+libzebra_la_LIBADD = @LIB_REGEX@ $(LIBCAP)
35
36 pkginclude_HEADERS = \
37 buffer.h checksum.h command.h filter.h getopt.h hash.h \
38diff --git a/zebra/Makefile.am b/zebra/Makefile.am
39index 542f36f..d09a209 100644
40--- a/zebra/Makefile.am
41+++ b/zebra/Makefile.am
42@@ -5,7 +5,6 @@ DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
43 INSTALL_SDATA=@INSTALL@ -m 600
44
45 LIB_IPV6 = @LIB_IPV6@
46-LIBCAP = @LIBCAP@
47
48 ipforward = @IPFORWARD@
49 if_method = @IF_METHOD@
50@@ -39,9 +38,9 @@ noinst_HEADERS = \
51 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
52 interface.h ipforward.h irdp.h router-id.h kernel_socket.h
53
54-zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
55+zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIB_IPV6)
56
57-testzebra_LDADD = $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
58+testzebra_LDADD = ../lib/libzebra.la $(LIB_IPV6)
59
60 zebra_DEPENDENCIES = $(otherobj)
61
62--
631.7.2.2
64