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.
diff --git a/recipes-isdn/misdn/files/misdn-ph-size.diff b/recipes-isdn/misdn/files/misdn-ph-size.diff
new file mode 100644
index 0000000..98bf866
--- /dev/null
+++ b/recipes-isdn/misdn/files/misdn-ph-size.diff
@@ -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
diff --git a/recipes-isdn/misdn/misdn-utils_git.bb b/recipes-isdn/misdn/misdn-utils_git.bb
new file mode 100644
index 0000000..7e37837
--- /dev/null
+++ b/recipes-isdn/misdn/misdn-utils_git.bb
@@ -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"