summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2015-09-18 14:23:35 -0300
committerJoe MacDonald <joe_macdonald@mentor.com>2015-10-21 15:57:26 -0400
commit0289eac721085563ff727515022e8c61b2ecf30d (patch)
tree2c9745482d515b75c4ca2a1ef755aa4671a74a86 /meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch
parent395519075d3b713f13e8b695b3783c9ca5c7f821 (diff)
downloadmeta-openembedded-0289eac721085563ff727515022e8c61b2ecf30d.tar.gz
lldpd: Add recipe
lldpd is a 802.1AB implementation, a L2 network discovery protocol. It also supports CDP, EDP and various other protocols. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch')
-rw-r--r--meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch b/meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch
new file mode 100644
index 000000000..42d6b290a
--- /dev/null
+++ b/meta-networking/recipes-daemons/lldpd/files/fix-libevent-configure.patch
@@ -0,0 +1,39 @@
1Upstream-Status: Submitted [https://github.com/vincentbernat/lldpd/issues/133]
2
3Subject: [PATCH] fix libevent configure
4
5Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
6---
7 m4/libevent.m4 | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/m4/libevent.m4 b/m4/libevent.m4
11index 275e5a5..dcd3309 100644
12--- a/m4/libevent.m4
13+++ b/m4/libevent.m4
14@@ -45,13 +45,11 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
15 AC_MSG_ERROR([*** libevent not found])
16 fi
17 ])
18- fi
19
20 if test x"$LIBEVENT_EMBEDDED" != x; then
21 unset LIBEVENT_LIBS
22 LIBEVENT_CFLAGS="-I\$(top_srcdir)/libevent/include -I\$(top_builddir)/libevent/include"
23 LIBEVENT_LDFLAGS="\$(top_builddir)/libevent/libevent.la"
24- fi
25
26 # Call ./configure in libevent. Need it for make dist...
27 libevent_configure_args="$libevent_configure_args --disable-libevent-regress"
28@@ -64,6 +62,8 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
29 libevent_configure_args="$libevent_configure_args --with-pic"
30 libevent_configure_args="$libevent_configure_args --enable-static"
31 lldp_CONFIG_SUBDIRS([libevent], [$libevent_configure_args])
32+ fi
33+ fi
34
35 AM_CONDITIONAL([LIBEVENT_EMBEDDED], [test x"$LIBEVENT_EMBEDDED" != x])
36 AC_SUBST([LIBEVENT_LIBS])
37--
382.1.4
39