Subject: | compiling with -Werror=format-security fails |
attached patch fixes the problem
Subject: | Spread-3.17.4.2-fix-security-format.patch |
--- Spread.xs.orig 2009-08-04 14:28:14.000000000 +0200
+++ Spread.xs 2009-08-04 14:28:42.000000000 +0200
@@ -474,7 +474,7 @@
if(SP_version(&major, &minor, &patch) <= 0 ||
major<3 || (major==3 && minor<15) ||
(major==3 && minor==15 && patch<1))
- croak(SPversionstr()) ;
+ croak("%s", SPversionstr()) ;
{
SV * sperror_sv = perl_get_sv(SPERRNO, GV_ADDMULTI) ;