pkgsrc/devel/p5-B-Hooks-Parser/patches/patch-aa
sno b66e95c81e pkgsrc changes:
- Updating package for p5 module B::Hooks::Parser from 0.08 to 0.09
  - Adjusting dependencies according to META.yml
  - Setting license according to META.yml

Upstream changes:
0.09  Wed, 03 Jun 2009 13:20:21 +0200
  * Don't redefine various macros if they already exist.
  * Add B::Hooks::Toke::skipspace function (Liu Kang-min).
2009-07-07 20:46:53 +00:00

15 lines
499 B
Text

$NetBSD: patch-aa,v 1.2 2009/07/07 20:46:53 sno Exp $
Do not error out if perl was built without PERL_MALLOC_WRAP
--- stolen_chunk_of_toke.c.orig 2009-06-03 11:18:50.000000000 +0000
+++ stolen_chunk_of_toke.c 2009-06-22 07:23:46.000000000 +0000
@@ -48,7 +48,7 @@
#define PTR2nat(p) (PTRV)(p) /* pointer to integer of PTRSIZE */
#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