mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
21 lines
508 B
Plaintext
21 lines
508 B
Plaintext
$NetBSD: patch-ai,v 1.3 2006/03/18 15:56:00 ben Exp $
|
|
|
|
--- unzip/unzip.h.orig 2004-12-30 14:15:45.000000000 -0800
|
|
+++ unzip/unzip.h
|
|
@@ -49,6 +49,15 @@ extern "C" {
|
|
#include "zlib.h"
|
|
#endif
|
|
|
|
+/* removed in NetBSD around 2001/01/18 */
|
|
+#ifndef OF
|
|
+# ifdef STDC
|
|
+# define OF(args) args
|
|
+# else
|
|
+# define OF(args) ()
|
|
+# endif
|
|
+#endif
|
|
+
|
|
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
|
|
/* like the STRICT of WIN32, we define a pointer that cannot be converted
|
|
from (void*) without cast */
|