Files
pkgsrc-ng/textproc/jade/patches/patch-ab
T
2013-09-26 17:14:40 +02:00

15 lines
604 B
Plaintext

$NetBSD: patch-ab,v 1.1 2001/03/29 01:02:59 hubertf Exp $
--- style/Interpreter.cxx.orig Thu Oct 1 07:14:54 1998
+++ style/Interpreter.cxx
@@ -184,7 +184,8 @@
};
size_t nUnits = dsssl2() ? SIZEOF(units) : SIZEOF(units) - 1;
for (size_t i = 0; i < nUnits; i++) {
- Unit *unit = lookupUnit(makeStringC(units[i].name));
+ StringC temp = makeStringC(units[i].name); /* temp var to work around */
+ Unit *unit = lookupUnit(temp); /* compiler prob(?) */
long n = unitsPerInch_ * units[i].numer;
if (n % units[i].denom == 0)
unit->setValue(long(n / units[i].denom));