summaryrefslogtreecommitdiff
path: root/lang/perl5.20/files/patch-vutil.h
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-11 10:31:43 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-11 10:31:43 +0000
commita645f979f5f49dd85168fd8c80ded24e8cdff359 (patch)
tree43b04dee12067b90695d61aea17115953eb5b15b /lang/perl5.20/files/patch-vutil.h
parentUpgrade to version 17.5.1. (diff)
Patch Perl's header for c++11 compatibility.
While there, drop MASTER_SITE_SUBDIRS. PR: 199361 Submitted by: amdmi3 Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=383784
Diffstat (limited to '')
-rw-r--r--lang/perl5.20/files/patch-vutil.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/perl5.20/files/patch-vutil.h b/lang/perl5.20/files/patch-vutil.h
new file mode 100644
index 000000000000..f53ea173a9b0
--- /dev/null
+++ b/lang/perl5.20/files/patch-vutil.h
@@ -0,0 +1,11 @@
+--- vutil.h.orig 2014-12-27 11:49:03 UTC
++++ vutil.h
+@@ -115,7 +115,7 @@ S_croak_xs_usage(pTHX_ const CV *const c
+ Perl_croak_nocontext("Usage: %s(%s)", gvname, params);
+ } else {
+ /* Pants. I don't think that it should be possible to get here. */
+- Perl_croak_nocontext("Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
++ Perl_croak_nocontext("Usage: CODE(0x%" UVxf ")(%s)", PTR2UV(cv), params);
+ }
+ }
+