pkgsrc/archivers/zip/patches/patch-ab
yyamano 4a9a882428 Fix build on Darwin. All changes are taken from the latest betas of zip.
- Add MacOS X to version_local()
- unix/configure: Init LFLAGS1 to "", MacOS X doesn't like -s
- rename errors array to ziperrors to avoid MacOS X library clash
2002-04-18 16:42:30 +00:00

16 lines
343 B
Text

$NetBSD: patch-ab,v 1.1 2002/04/18 16:42:31 yyamano Exp $
--- unix/unix.c.orig Sat Mar 2 20:12:55 2002
+++ unix/unix.c
@@ -698,7 +698,11 @@
#ifdef __QNXNTO__
" (QNX Neutrino)",
#else
+#ifdef __APPLE__
+ " (Mac OS X)",
+#else
"",
+#endif /* Mac OS X */
#endif /* QNX Neutrino */
#endif /* QNX 4 */
#endif /* Convex */