diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-02 17:53:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-02 17:53:36 +0000 |
commit | d3c949f9525d254e947859277240ee938ea20023 (patch) | |
tree | 827f4826643472e72b48ddd811ad6d40bc1e90ba /www | |
parent | a8ca4140ce0362d7fc4f5062b1046ce55015ddb8 (diff) | |
download | pkgsrc-d3c949f9525d254e947859277240ee938ea20023.tar.gz |
Fix format string use. Fix build with newer Perl.
Diffstat (limited to 'www')
-rw-r--r-- | www/wml/distinfo | 4 | ||||
-rw-r--r-- | www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.c | 13 | ||||
-rw-r--r-- | www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.h | 15 |
3 files changed, 31 insertions, 1 deletions
diff --git a/www/wml/distinfo b/www/wml/distinfo index cbeed915b74..1466a36d047 100644 --- a/www/wml/distinfo +++ b/www/wml/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2012/04/07 13:14:25 joerg Exp $ +$NetBSD: distinfo,v 1.14 2013/03/02 17:53:36 joerg Exp $ SHA1 (wml-2.0.9.tar.gz) = ce95ad9c55fd52e2028099d391858d88cffd5d9f RMD160 (wml-2.0.9.tar.gz) = bf14a4c09bdd850c5bad5f48f712717a13b13412 @@ -16,5 +16,7 @@ SHA1 (patch-aj) = eea40cf13d883656dc0db5d4de11df4a27bdc70f SHA1 (patch-ak) = 3b81025819f259d7ebb185de4d4890c9892aba87 SHA1 (patch-al) = 9bdf732aad8520b89bc5925ae6eb0e2cce937f6b SHA1 (patch-am) = 5e597fed00ee56fbaf54d6725e36f9c9e5292c0e +SHA1 (patch-wml__backend_p3__eperl_eperl__perl5.c) = e80878ccdd6d58efa42b987b3951897c1c8df32b +SHA1 (patch-wml__backend_p3__eperl_eperl__perl5.h) = 0e4534ce4171472b5c26eb9def7dfa4067bc6fe8 SHA1 (patch-wml__common_gd_makefile_pl_in) = 92481ea127e795bd92cc7d59c48a9224db8aaea1 SHA1 (patch-wml__common_htmlclean_makefile_pl) = d9aea5c05b4b943adc9a74ae2f51858ee3213b74 diff --git a/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.c b/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.c new file mode 100644 index 00000000000..d604885fa35 --- /dev/null +++ b/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.c @@ -0,0 +1,13 @@ +$NetBSD: patch-wml__backend_p3__eperl_eperl__perl5.c,v 1.1 2013/03/02 17:53:37 joerg Exp $ + +--- wml_backend/p3_eperl/eperl_perl5.c.orig 2013-03-01 14:59:14.000000000 +0000 ++++ wml_backend/p3_eperl/eperl_perl5.c +@@ -212,7 +212,7 @@ int Perl5_Run(int myargc, char **myargv, + IO_restore_stdout(); + IO_restore_stderr(); + if ((cpBuf = ePerl_ReadErrorFile(perlstderr, perlscript, source)) != NULL) { +- fprintf(stderr, cpBuf); ++ fprintf(stderr, "%s", cpBuf); + } + CU(EX_FAIL); + } diff --git a/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.h b/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.h new file mode 100644 index 00000000000..86960e6099f --- /dev/null +++ b/www/wml/patches/patch-wml__backend_p3__eperl_eperl__perl5.h @@ -0,0 +1,15 @@ +$NetBSD: patch-wml__backend_p3__eperl_eperl__perl5.h,v 1.1 2013/03/02 17:53:37 joerg Exp $ + +--- wml_backend/p3_eperl/eperl_perl5.h.orig 2013-03-01 14:58:58.000000000 +0000 ++++ wml_backend/p3_eperl/eperl_perl5.h +@@ -72,10 +72,6 @@ + # define PL_curstash curstash + #endif + +-#ifndef WITH_THR +-# define PL_defoutgv defoutgv +-#endif +- + /* + Initialization of locales when building a new Perl interpreter. + Perl 5.003 calls perl_init_i18nl14n |