mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
$NetBSD: patch-ap,v 1.2 2012/06/13 08:15:15 mef Exp $
|
|
|
|
Convert varargs-macros to old-style macros, to make the package
|
|
compile when using gcc 2.95.
|
|
|
|
--- libfstt/table_hdmx.cc.orig Sat Feb 14 22:56:47 2004
|
|
+++ libfstt/table_hdmx.cc Sat Feb 14 22:57:11 2004
|
|
@@ -36,7 +36,7 @@
|
|
int
|
|
HdmxTable::getMaxWidth(int mppemx)
|
|
{
|
|
- debug("hdmx(mppemx = %d) ", mppemx);
|
|
+ debug1("hdmx(mppemx = %d) ", mppemx);
|
|
|
|
seekAbsolute(8);
|
|
// XXX: is it possible to avoid the linear search?
|
|
@@ -47,7 +47,7 @@
|
|
int maxWidth = readUByte();
|
|
if (ppem > mppemx)
|
|
debug("<");
|
|
- debug("= %d\n", maxWidth);
|
|
+ debug1("= %d\n", maxWidth);
|
|
|
|
return maxWidth;
|
|
}
|
|
@@ -61,7 +61,7 @@
|
|
int
|
|
HdmxTable::getGlyphWidth(int mppemx, int glyphNo)
|
|
{
|
|
- debug("hdmx(mppemx = %d, glyphNo = %d)", mppemx, glyphNo);
|
|
+ debug2("hdmx(mppemx = %d, glyphNo = %d)", mppemx, glyphNo);
|
|
|
|
seekAbsolute(8);
|
|
// XXX: is it possible to avoid the linear search?
|
|
@@ -78,7 +78,7 @@
|
|
|
|
seekRelative(glyphNo + 1);
|
|
int width = readUByte();
|
|
- debug(" = %d\n", width);
|
|
+ debug1(" = %d\n", width);
|
|
|
|
return width;
|
|
}
|