diff options
author | Holger Freyther <zecke@selfish.org> | 2007-01-19 13:30:40 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-01-19 13:30:40 +0000 |
commit | b47d08b7fedb47ce179194c8b32dbe218579fbbf (patch) | |
tree | 66a6bf3bf72715e4e63892453fe74a37f04b9f85 /packages | |
parent | dd39d799f0deb4c3862d94930cf55289ca1690a5 (diff) | |
parent | 16755da8ff4ab629653899cb2b17e4ab7d10e812 (diff) |
merge of '623ea3aff033ebbbbf8a8a9524a46a58768afed1'
and 'a883397cbf4a34b6feb952e04840485ff88c15cd'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/nbd/files/cross-compile.patch | 31 | ||||
-rw-r--r-- | packages/nbd/nbd_2.8.7.bb (renamed from packages/nbd/nbd_2.8.4.bb) | 6 |
2 files changed, 19 insertions, 18 deletions
diff --git a/packages/nbd/files/cross-compile.patch b/packages/nbd/files/cross-compile.patch index 654a3d7a48..1d0a135bb9 100644 --- a/packages/nbd/files/cross-compile.patch +++ b/packages/nbd/files/cross-compile.patch @@ -3,11 +3,11 @@ Cross Compile fixes: let us define those. -Index: nbd-2.8.4/configure.ac +Index: nbd-2.8.7/configure.ac =================================================================== ---- nbd-2.8.4.orig/configure.ac 2006-02-26 15:52:03.000000000 +0100 -+++ nbd-2.8.4/configure.ac 2006-05-25 21:35:26.000000000 +0200 -@@ -68,7 +68,8 @@ +--- nbd-2.8.7.orig/configure.ac 2006-10-17 19:42:11.000000000 +0200 ++++ nbd-2.8.7/configure.ac 2007-01-19 14:19:09.000000000 +0100 +@@ -68,15 +68,16 @@ man8_MANS=nbd-client.8 AC_MSG_RESULT(yes) ;; @@ -17,21 +17,20 @@ Index: nbd-2.8.4/configure.ac esac AC_MSG_CHECKING(where to find a working nbd.h) dnl We need to check for NBD_CMD_DISC, but that's part of an enum, it is not -@@ -82,8 +83,8 @@ - [int foo=NBD_CMD_DISC], - [AC_DEFINE(NBD_H_LOCAL, 1, Set to 1 if a (kernel 2.6) nbd.h can be found in the current directory) - NBD_H='"nbd.h"'], -- AC_TRY_COMPILE([#define u32 int + dnl #define'd. Therefore, we check for something which is differently #define'd + dnl in the old or new versions, even if we don't really care about that. + dnl This might break at some time, but it should work for now, so... +-AC_TRY_COMPILE([#define u32 int -#define u64 int -+ AC_TRY_COMPILE([#define __u32 int ++AC_TRY_COMPILE([#define __u32 int +#define __u64 int - #include <linux/nbd.h> - ], - [int foo=NBD_CMD_DISC], -Index: nbd-2.8.4/cliserv.h + #define __be32 int + #define __be64 int + #include "nbd.h" +Index: nbd-2.8.7/cliserv.h =================================================================== ---- nbd-2.8.4.orig/cliserv.h 2006-01-06 18:02:03.000000000 +0100 -+++ nbd-2.8.4/cliserv.h 2006-05-25 21:41:25.000000000 +0200 +--- nbd-2.8.7.orig/cliserv.h 2006-10-17 19:29:12.000000000 +0200 ++++ nbd-2.8.7/cliserv.h 2007-01-19 14:17:15.000000000 +0100 @@ -17,20 +17,26 @@ #if SIZEOF_UNSIGNED_SHORT_INT==4 diff --git a/packages/nbd/nbd_2.8.4.bb b/packages/nbd/nbd_2.8.7.bb index 103c2053c7..2241fea71e 100644 --- a/packages/nbd/nbd_2.8.4.bb +++ b/packages/nbd/nbd_2.8.7.bb @@ -4,16 +4,18 @@ HOMEPAGE = "http://nbd.sourceforge.net" DEPENDS = "glib-2.0" -SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2;md5sum=1b5a0866d025b98d1c24fe19a4f628c3 \ +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2;md5sum=bc7995b4961385269abc645575bcaf4d \ file://cross-compile.patch;patch=1 " inherit autotools -PACKAGES = "nbd-client nbd-server" +PACKAGES = "nbd-client nbd-server nbd-client-dbg nbd-server-dbg" PACKAGES += "nbd-client-doc nbd-server-doc" FILES_nbd-client = "/usr/sbin/nbd-client" FILES_nbd-server = "/usr/bin/nbd-server" +FILES_nbd-client-dbg = "/usr/sbin/.debug/nbd-client" +FILES_nbd-server-dbg = "/usr/bin/.debug/nbd-server" FILES_nbd-client-doc = "/usr/share/man/man8/*" FILES_nbd-server-doc = "/usr/share/man/man1/*" |