- Updating package of p5 module Devel::Declare from 0.005002 to 0.005005 - Adjusting license according to META.yaml - Use Module::Install as module type - Adjust MEM_WRAP_CHECK_ patch (was it submitted upstream?) Upstream changes: 0.005005 - Improve compatibility with MAD-enabled perls (Reini Urban, Closes RT#45779). 0.005004 - Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of compilation errors on some perls (Maik Fischer). 0.005003 - Failing tests for line number issues (Ash Berlin). - Add strip_names_and_args (Cory Watson). - Various pod fixes (Yanick Champoux, Florian Ragwitz). - Add copyright statements.
15 lines
497 B
Text
15 lines
497 B
Text
$NetBSD: patch-aa,v 1.2 2009/06/15 23:07:30 sno Exp $
|
|
|
|
Do not error out if perl was built without PERL_MALLOC_WRAP
|
|
|
|
--- stolen_chunk_of_toke.c.orig 2009-06-05 13:57:22.000000000 +0000
|
|
+++ stolen_chunk_of_toke.c 2009-06-15 22:50:52.000000000 +0000
|
|
@@ -44,7 +44,7 @@
|
|
#ifndef SvPVX_const
|
|
#define SvPVX_const(sv) ((const char*) (0 + SvPVX(sv)))
|
|
#endif
|
|
-#ifndef MEM_WRAP_CHECK_
|
|
+#if defined(PERL_MALLOC_WRAP) && !defined(MEM_WRAP_CHECK_)
|
|
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
|
|
#endif
|
|
|