pkgsrc/print/teTeX-bin/patches/patch-ak
simonb f6748c3f74 Don't use a function called "abort" that takes one char * as a
parameter.  Fixes compile problems on at least pmax, arm32.
1999-10-04 23:21:44 +00:00

49 lines
1.6 KiB
Text

$NetBSD: patch-ak,v 1.1 1999/10/04 23:21:46 simonb Exp $
--- texk/ps2pkm/paths.c.orig Sat Jan 24 23:11:28 1998
+++ texk/ps2pkm/paths.c Thu Sep 30 13:34:23 1999
@@ -798,7 +798,7 @@
break;
default:
- abort("Reverse: bad path segment");
+ t1_abort("Reverse: bad path segment");
}
/*
We need to reverse the order of segments too, so we break this segment
@@ -932,7 +932,7 @@
for (p=p0; p->link->link != NULL; p=p->link) { ; }
if (!LASTCLOSED(p->link->flag))
- abort("UnClose: no LASTCLOSED");
+ t1_abort("UnClose: no LASTCLOSED");
Free(SplitPath(p0, p));
p0->flag &= ~ISCLOSED(ON);
@@ -1033,7 +1033,7 @@
default:
IfTrace1(TRUE,"path = %z\n", p);
- abort("PathTransform: invalid segment");
+ t1_abort("PathTransform: invalid segment");
}
oldx += savex;
oldy += savey;
@@ -1185,7 +1185,7 @@
break;
default:
- abort("QueryPath: unknown segment");
+ t1_abort("QueryPath: unknown segment");
}
if (coerced)
KillPath(path);
@@ -1325,7 +1325,7 @@
case HINTTYPE:
break;
default:
- abort("QueryBounds: unknown type");
+ t1_abort("QueryBounds: unknown type");
}
if (x < min.x) min.x = x;