Package: libmath-random-mt-perl Version: 1.13-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently[1], libmath-random-mt-perl fails to build on Debian/Hurd. The issue is very simple: stdint.h is not included in mt.h, so the uint32_t typedef is missing. The attached patch adds also a check for __GNU__ to the preprocessor conditions for including stdint.h. [1] https://buildd.debian.org/status/fetch.php?pkg=libmath-random-mt-perl&arch=hurd-i386&ver=1.13-1&stamp=1326994609 Thanks, -- Pino
--- a/mt.h +++ b/mt.h @@ -3,7 +3,7 @@ #if defined(_MSC_VER) && (_MSC_VER <= 1300) typedef unsigned __int32 uint32_t; -#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__) +#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__) || defined(__GNU__) #include <stdint.h> #elif defined(__osf__) #include <inttypes.h>