misdn: Build the userspace library

Apply a local patch to increase the the buffer size, on different
platforms the kernel structs have holes that this calculation did
not account for.
This commit is contained in:
Holger Hans Peter Freyther 2011-11-11 21:37:15 +08:00
parent b49f5121bb
commit 6fe3d67299
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/include/mISDN/mbuffer.h b/include/mISDN/mbuffer.h
index 5e3dc96..8e6ed52 100644
--- a/include/mISDN/mbuffer.h
+++ b/include/mISDN/mbuffer.h
@@ -54,7 +54,7 @@ struct mbuffer {
struct l3_msg l3;
} __attribute__((__may_alias__));
-#define MBUFFER_DATA_SIZE 280
+#define MBUFFER_DATA_SIZE 400
/*
* init mbuffer caching

View File

@ -0,0 +1,18 @@
DESCRITOPN = "mISDNutils userspace library"
HOMEPAGE = "http://misdn.org"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
PR = "r3"
SRC_URI = "git://git.misdn.org/mISDNuser.git \
file://misdn-ph-size.diff"
SRCREV = "609658c19630c01f82cbfb5687fc70a356fc6db5"
S = "${WORKDIR}/git"
PACKAGES =+ "misdn-tools-dbg misdn-tools"
inherit autotools
FILES_misdn-tools = "${bindir} ${sbindir}"
FILES_misdn-tools-dbg = "${bindir}/.debug ${sbindir}/.debug"
RDEPENDS_misdn-tools-dbg = "${PN}-dbg"