Bug#576895: libphash: FTBFS on kfreebsd-*: unable to compile ph_num_threads()

2010-04-08 Thread Petr Salinger
Hi, please change tests for libc functionality to test libc variant, not kernel. Petr --- src/pHash.cpp +++ src/pHash.cpp @@ -34,7 +34,7 @@ int ph_num_threads() { int numCPU = 1; - #ifdef linux + #ifdef __GLIBC__ numCPU = sysconf( _SC_NPROCESSORS_ONLN );

Bug#576895: libphash: FTBFS on kfreebsd-*: unable to compile ph_num_threads()

2010-04-07 Thread Cyril Brulebois
Source: libphash Version: 0.9.0-1 Severity: serious Justification: FTBFS User: debian-...@lists.debian.org Usertags: kfreebsd Hi, your package no longer builds on kfreebsd-*: | pHash.cpp: In function 'int ph_num_threads()': | pHash.cpp:40: error: 'nt' was not declared in this scope | pHash.cpp:40