Package: src:k9copy
Version: 2.3.7-2
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd-porting

Hi!

Your package failed to build on the kfreebsd-* buildds:

/build/buildd-k9copy_2.3.7-2-kfreebsd-amd64-Gh_RxD/k9copy-2.3.7/src/core/k9ifo2.cpp:884:33:
 error: 'B2N_32' was not declared in this scope
/build/buildd-k9copy_2.3.7-2-kfreebsd-amd64-Gh_RxD/k9copy-2.3.7/src/core/k9ifo2.cpp:
 In static member function 'static void k9Ifo2::___navRead_PCI(pci_t*, uchar*)':
/build/buildd-k9copy_2.3.7-2-kfreebsd-amd64-Gh_RxD/k9copy-2.3.7/src/core/k9ifo2.cpp:917:32:
 error: 'B2N_32' was not declared in this scope
/build/buildd-k9copy_2.3.7-2-kfreebsd-amd64-Gh_RxD/k9copy-2.3.7/src/core/k9ifo2.cpp:918:30:
 error: 'B2N_16' was not declared in this scope
make[3]: *** [CMakeFiles/k9copylib.dir/src/core/k9ifo2.o] Error 1

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=k9copy&arch=kfreebsd-i386&ver=2.3.7-2&stamp=1311935726

Regards

    Christoph

If you have further questions please mail debian-...@lists.debian.org

Patch:

--- k9copy-2.3.7.orig/src/core/bswap.h
+++ k9copy-2.3.7/src/core/bswap.h
@@ -35,7 +35,7 @@
 #include <sys/param.h>
 #endif
 
-#if defined(__linux__)
+#if defined(__GLIBC__)
 #include <byteswap.h>
 #define B2N_16(x) x = bswap_16(x)
 #define B2N_32(x) x = bswap_32(x)

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to