pkgsrc/x11/xfstt/patches/patch-as
2004-02-14 22:27:30 +00:00

28 lines
1,017 B
Text

$NetBSD: patch-as,v 1.1 2004/02/14 22:27:30 kristerw Exp $
--- libfstt/ttf.h.orig Sat Feb 14 22:04:00 2004
+++ libfstt/ttf.h Sat Feb 14 22:55:14 2004
@@ -49,10 +49,21 @@
#endif
#ifndef DEBUG
-# define debug(format, ...)
+# define debug(format)
+# define debug1(format, X1)
+# define debug2(format, X1, X2)
+# define debug3(format, X1, X2, X3)
+# define debug4(format, X1, X2, X3, X4)
+# define debug5(format, X1, X2, X3, X4, X5)
# define STATIC static
#else
-# define debug(format, ...) fprintf(outfile, format, ##__VA_ARGS__)
+# define debug(format) fprintf(outfile, format)
+# define debug1(format, X1) fprintf(outfile, format, X1)
+# define debug2(format, X1, X2) fprintf(outfile, format, X1, X2)
+# define debug3(format, X1, X2, X3) fprintf(outfile, format, X1, X2, X3)
+# define debug4(format, X1, X2, X3, X4) fprintf(outfile, format, X1, X2, X3, X4)
+# define debug5(format, X1, X2, X3, X4, X5) fprintf(outfile, format, X1, X2, X3, X4, X5)
+# defube debug4(
# define STATIC
#endif