Bug#887738: nspr FTBFS with glibc 2.26

2018-01-20 Thread Jason Duerstock
Source: nspr
Followup-For: Bug #887738

Dear Maintainer,

The attached patch fixes this bug.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64

Kernel: Linux 3.14-0.bpo.2-mckinley (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- nspr/pr/tests/prfz.c.orig   2018-01-20 13:38:48.877027452 +
+++ nspr/pr/tests/prfz.c2018-01-20 13:23:00.495279463 +
@@ -10,6 +10,7 @@
 #include 
 #include 
 #include 
+#include 
 
 int
 main(int argc, char **argv)


Bug#887738: nspr FTBFS with glibc 2.26

2018-01-19 Thread Adrian Bunk
Source: nspr
Version: 2:4.16-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nspr.html

...
prfz.c: In function 'main':
prfz.c:24:31: error: 'SIZE_MAX' undeclared (first use in this function); did 
you mean 'SSIZE_MAX'?
 size_t  unsigned_max= SIZE_MAX;
   ^~~~
   SSIZE_MAX