[cups] cups-filter && Solaris SPARC with non-standard C-functions

Matthias Apitz guru at unixarea.de
Tue Jan 19 22:29:52 PST 2016


Hello,

It turned out that cups-filter (in concrete the version 1.0.62) makes use of
non-Standard (non Posix) C-functions, for example: 

strndup()
mkstemps()
strcasestr()

and this even without probing for them during ./configure run:

$ fgrep strndup configure config.log */*.c
filter/bannertopdf.c:        char * cur_range = strndup(full_range, cur_size);

How is this supposed to be repaired? The used GCC is 4.9.2 and the OS is

$ uname -a
SunOS srap01dxle 5.10 Generic_150400-17 sun4u sparc
SUNW,SPARC-Enterprise

Thanks
	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5



More information about the cups mailing list