[oe-commits] Stefan Schmidt : ibrdtn: Add release 0.1.1

git version control git at git.openembedded.org
Mon Feb 15 23:26:49 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: fcee35f97864d27e3ae625a508ab01d32619298c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fcee35f97864d27e3ae625a508ab01d32619298c

Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date:   Sun Feb 14 13:38:05 2010 +0100

ibrdtn: Add release 0.1.1

IBR-DTN is a implementation of the bundle protocol RFC5050.
The included build fix will only be needed for this release upcoming one will
already have it.

---

 conf/checksums.ini                                 |    4 ---
 .../files/0001-fix-header-include-for-gcc44.patch  |   22 ++++++++++++++++++++
 recipes/ibrdtn/ibrdtn_0.1.1.bb                     |   17 +++++++++++++++
 3 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index a052162..a357c7f 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -12506,10 +12506,6 @@ sha256=754038a9eb8f1d0d6559d5b124a68e1e530a76366cff251d79536ec89e2fda21
 md5=eb19ac9c283e63afd77215973193f136
 sha256=28e9d09e9d2f24f688f66c4fb4b60c374840cb4f754396889bf7725a1ad29e3d
 
-[http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/ibrdtn-0.1.tar.gz]
-md5=57c5c475f6f082922a3614f65b04e98d
-sha256=d33f08702027e66307abbac21f382e28321d11eede251a321f6516ea669365f7
-
 [http://xorg.freedesktop.org/releases/individual/app/iceauth-1.0.2.tar.bz2]
 md5=7ab8b64edf0212a9d9a3c8129901a450
 sha256=06401591de57a2c4cf2255e3d5230ea19351c5516cf8dae98c61092392bab5bb
diff --git a/recipes/ibrdtn/files/0001-fix-header-include-for-gcc44.patch b/recipes/ibrdtn/files/0001-fix-header-include-for-gcc44.patch
new file mode 100644
index 0000000..c2024c0
--- /dev/null
+++ b/recipes/ibrdtn/files/0001-fix-header-include-for-gcc44.patch
@@ -0,0 +1,22 @@
+ibrdtn: Fix include for stricter GCC 4.4 header handling
+
+GCC 4.4 is stricter on its headers so we need to make sure the uint64_t is
+really available or the compiler errors out:
+src/data/BlockFactory.cpp:101: error: ‘uint64_t’ was not declared in this scope
+src/data/BlockFactory.cpp:101: error: expected ‘;’ before ‘i’
+src/data/BlockFactory.cpp:101: error: ‘i’ was not declared in this scope
+
+--
+
+Index: ibrdtn-0.1.1/src/data/BlockFactory.cpp
+===================================================================
+--- ibrdtn-0.1.1.orig/src/data/BlockFactory.cpp	2010-02-12 13:25:37.000000000 +0100
++++ ibrdtn-0.1.1/src/data/BlockFactory.cpp	2010-02-12 13:25:49.000000000 +0100
+@@ -5,6 +5,7 @@
+  *      Author: morgenro
+  */
+
++#include <stdint.h>
+ #include "data/BlockFactory.h"
+ #include "data/SDNV.h"
+ #include "data/Exceptions.h"
diff --git a/recipes/ibrdtn/ibrdtn_0.1.1.bb b/recipes/ibrdtn/ibrdtn_0.1.1.bb
new file mode 100644
index 0000000..90e9e43
--- /dev/null
+++ b/recipes/ibrdtn/ibrdtn_0.1.1.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Implementation of the bundle protocol RFC5050"
+HOMEPAGE = "http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/"
+SECTION = "devel"
+DEPENDS = "libpthread-stubs sqlite3 lua5.1"
+PR = "r0"
+
+SRC_URI = "http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/ibrdtn-${PV}.tar.gz \
+        file://0001-fix-header-include-for-gcc44.patch;patch=1 \
+        "
+
+inherit autotools
+
+EXTRA_OECONF = "--prefix=${D} --exec-prefix=${D} --libdir=${STAGING_LIBDIR} --includedir=${STAGING_INCDIR}"
+
+do_configure() {
+        oe_runconf
+}





More information about the Openembedded-commits mailing list