pkgsrc/lang/sr/patches/patch-bh
is c93488d7da sr-2.3.3nb4 --- Replace sr_ptrval() by code that:
- works per the specification and
- works on LP64 machines as well as ILP32 machines.
  Designed to work anywhere where sizeof(L) >= sizeof(P).
  Cannot use %p, as we want to feed back the patch to the SR people,
  who maintain SR also on some very old systems.
2005-03-12 10:22:08 +00:00

9 lines
398 B
Text

$NetBSD: patch-bh,v 1.1 2005/03/12 10:22:08 is Exp $
--- runerr.h.orig 2005-03-11 09:28:59.000000000 +0100
+++ runerr.h
@@ -40,3 +40,4 @@ RUNERR(E_CCNV,41,"illegal conversion: ch
RUNERR(E_BCNV,42,"illegal conversion: bool(\"%S\")")
RUNERR(E_ICNV,43,"illegal conversion: int(\"%S\")")
RUNERR(E_RCNV,44,"illegal conversion: real(\"%S\")")
+RUNERR(E_PCNV,45,"illegal conversion: pointer(\"%S\")")