pkgsrc/print/teTeX-bin/patches/patch-af
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

22 lines
845 B
Text

$NetBSD: patch-af,v 1.1 1999/10/04 23:21:44 simonb Exp $
--- texk/ps2pkm/arith.c.orig Sat Jan 24 23:11:27 1998
+++ texk/ps2pkm/arith.c Thu Sep 30 13:33:46 1999
@@ -203,7 +203,7 @@
divisor >>= 1;
if ((u1u2 >> (LONGSIZE - shift)) != 0 && shift != 0)
- abort("DLdiv: dividend too large");
+ t1_abort("DLdiv: dividend too large");
u1u2 = (u1u2 << shift) + ((shift == 0) ? 0 : u3u4 >> (LONGSIZE - shift));
u3u4 <<= shift;
@@ -266,7 +266,7 @@
*/
u1u2 = t;
if (HIGHDIGIT(u1u2) != 0)
- abort("divide algorithm error");
+ t1_abort("divide algorithm error");
u1u2 = ASSEMBLE(u1u2, LOWDIGIT(u3));
u3 = LOWDIGIT(u3u4);
q3q4 = ASSEMBLE(q3q4, qhat);