$OpenBSD: patch-framework_minizip_ioapi_c,v 1.1.1.1 2019/09/02 18:04:40 thfr Exp $

fix C++-incompatible line as per
https://github.com/lenmus/lomse/pull/126

Index: framework/minizip/ioapi.c
--- framework/minizip/ioapi.c.orig
+++ framework/minizip/ioapi.c
@@ -17,7 +17,7 @@
         #define _CRT_SECURE_NO_WARNINGS
 #endif
 
-#if defined(__APPLE__) || defined(IOAPI_NO_64)
+#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__OpenBSD__)
 // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions
 #define FOPEN_FUNC(filename, mode) fopen(filename, mode)
 #define FTELLO_FUNC(stream) ftello(stream)
@@ -224,8 +224,7 @@ static int ZCALLBACK ferror_file_func (voidpf opaque, 
     return ret;
 }
 
-void fill_fopen_filefunc (pzlib_filefunc_def)
-  zlib_filefunc_def* pzlib_filefunc_def;
+void fill_fopen_filefunc (zlib_filefunc_def* pzlib_filefunc_def)
 {
     pzlib_filefunc_def->zopen_file = fopen_file_func;
     pzlib_filefunc_def->zread_file = fread_file_func;
