summaryrefslogtreecommitdiff
path: root/packages/libevnet
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libevnet')
-rw-r--r--packages/libevnet/.mtn2git_empty0
-rw-r--r--packages/libevnet/files/.mtn2git_empty0
-rw-r--r--packages/libevnet/files/stdargs.patch15
-rw-r--r--packages/libevnet/libevnet_0.3.1.bb14
4 files changed, 29 insertions, 0 deletions
diff --git a/packages/libevnet/.mtn2git_empty b/packages/libevnet/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libevnet/.mtn2git_empty
diff --git a/packages/libevnet/files/.mtn2git_empty b/packages/libevnet/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libevnet/files/.mtn2git_empty
diff --git a/packages/libevnet/files/stdargs.patch b/packages/libevnet/files/stdargs.patch
new file mode 100644
index 0000000000..c9b4b7c3fb
--- /dev/null
+++ b/packages/libevnet/files/stdargs.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libevnet-0.3.1/src/lookup.c~stdargs
++++ libevnet-0.3.1/src/lookup.c
+@@ -45,6 +45,7 @@
+ */
+ #include <stdio.h> /* FILE fopen(3) fread(3) fclose(3) fileno(3) */
+ #include <stdlib.h> /* NULL free(3) */
++#include <stdarg.h> /* va_list etc. */
+ #include <time.h> /* time_t time(2) */
+
+ #include <string.h> /* memmove(3) strsep(3) strlen(3)
diff --git a/packages/libevnet/libevnet_0.3.1.bb b/packages/libevnet/libevnet_0.3.1.bb
new file mode 100644
index 0000000000..1f6975ab06
--- /dev/null
+++ b/packages/libevnet/libevnet_0.3.1.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "libevnet provides a suite of interfaces, \
+all built around libevent, useful to network daemons."
+SECTION = "libs"
+LICENSE = "${PN}"
+HOMEPAGE = "http://www.25thandclement.com/~william/projects/libevnet.html"
+DEPENDS = "libarena libevent openssl"
+
+SRC_URI = "http://www.25thandclement.com/~william/projects/releases/libevnet-${PV}.tgz \
+ file://stdargs.patch;patch=1"
+
+do_stage() {
+ oe_libinstall -C src -a libevnet ${STAGING_LIBDIR}
+ #FIXME: stage headers
+}