Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
$NetBSD: patch-af,v 1.2 2008/09/10 13:32:47 taca Exp $
--- image/image.h.orig 2004-07-29 00:47:31.000000000 +0900
+++ image/image.h
@@ -10,6 +10,9 @@
#include "copyright.h"
#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#if defined(SYSV) || defined(VMS) || 1
#include <string.h>
@@ -182,13 +185,8 @@ unsigned long doMemToValLSB();
unsigned long doValToMemLSB();
void flipBits();
-#ifdef __APPLE__
-/* darwin has zopen() */
ZFILE *zzopen(); /* zio.c */
#define zopen zzopen
-#else
-ZFILE *zopen(); /* zio.c */
-#endif
int zread();
int zgetc();
char *zgets();