On Mon, Mar 03, 2008 at 12:06:39AM +0100, Micha Lenk wrote: > Hi Aurelien
Hi! > Micha Lenk wrote: > > Aurelien Jarno wrote: > >> qbankmanager fails to build on GNU/kFreeBSD because it doesn't known about > >> this > >> platform. The check is for the kernel, but the result is currently used > >> to decide about userland stuff. It may be a good idea to replace the > >> check for the Linux kernel by a check for the GNU libc. However, as I > >> don't know the goal of this check in the future I have written a patch > >> to add GNU/kFreeBSD in the list of platforms. > > > > Kewl, thanks a lot for your feedback. > > > >> Please find this patch below. Could you please apply it to the next > >> upload, and forward it to upstream? Thanks in advance. > > > > I've just forwarded it to the upstream development mailinglist. Thanks! > Unfortunately I got no reply from upstream, and the patch apparently > didn't made it into upstream SVN yet. I assume that this is due to the > patch changing autoconf generated files. I did include the change for autoconf generated files for the patch as it is a lot easier to apply it into the debian package. > If you've some enthusiasm left, you could try to anonymously checkout > upstream's SVN from http://devel.aqbanking.de/svn/qbankmanager/trunk and > rework your patch to be cleanly applicable to the SVN sources. This > would be greatly appreciated. Please find the patch attached. > For now I commited your patch to the packaging SVN, so it will included > into the next upload of QBankmanager. > Thanks a lot. Best regards, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net
Index: m4/os.m4
===================================================================
--- m4/os.m4 (révision 436)
+++ m4/os.m4 (copie de travail)
@@ -31,6 +31,12 @@
AC_DEFINE(OS_POSIX,1,[if this is a POSIX system])
OS_TYPE="posix"
;;
+ *-kfreebsd*-gnu*)
+ OSYSTEM="kfreebsd"
+ AC_DEFINE(OS_KFREEBSD,1,[if GNU/kFreeBSD is used])
+ AC_DEFINE(OS_POSIX,1,[if this is a POSIX system])
+ OS_TYPE="posix"
+ ;;
*-openbsd*)
OSYSTEM="openbsd"
AC_DEFINE(OS_OPENBSD,1,[if OpenBSD is used])
Index: src/kbanking/libs/prg/app.cpp
===================================================================
--- src/kbanking/libs/prg/app.cpp (révision 436)
+++ src/kbanking/libs/prg/app.cpp (copie de travail)
@@ -2589,7 +2589,7 @@
else {
char *outbuf;
char *pOutbuf;
-#if defined(OS_LINUX) | defined(OS_WIN32)
+#if defined(OS_LINUX) | defined(OS_WIN32) | defined(OS_KFREEBSD)
char *pInbuf;
#else
/* For Mac OSX */
signature.asc
Description: Digital signature

