summaryrefslogtreecommitdiff
path: root/print/scribus/patches/patch-ag
blob: 1f84d20046d6f287e406484efb1f5fa894e8af1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ag,v 1.2 2005/07/06 18:05:32 drochner Exp $

--- scribus/ioapi.h.orig	2005-07-04 23:53:32.000000000 +0200
+++ scribus/ioapi.h
@@ -37,6 +37,7 @@
 extern "C" {
 #endif
 
+#define OF(x) x
 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
 typedef uLong  (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
 typedef uLong  (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));