Package: qbankmanager Version: 0.9.55beta-1.1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently[1], qbankmanager does not compile on GNU/Hurd. The problem is that it is used the wrong type to pass to iconv(); the attached patch makes use of __GLIBC__ to set the proper type, instead of adding a new OS_HURD, since such iconv() is part of glibc. [1] https://buildd.debian.org/status/fetch.php?pkg=qbankmanager&arch=hurd-i386&ver=0.9.55beta-1.1&stamp=1337162522 Thanks, -- Pino
--- a/src/kbanking/libs/prg/app.cpp +++ b/src/kbanking/libs/prg/app.cpp @@ -2645,7 +2645,7 @@ int App__convertFromUtf8(const char *tex else { char *outbuf; char *pOutbuf; -#if defined(OS_LINUX) | defined(OS_WIN32) | defined(OS_KFREEBSD) +#if defined(OS_LINUX) | defined(OS_WIN32) | defined(OS_KFREEBSD) | defined(__GLIBC__) char *pInbuf; #else /* For Mac OSX */