diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-28 06:24:24 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-28 06:24:24 +0000 |
commit | 0707c24745b1565b300c6552456792de6a5ab6bd (patch) | |
tree | 9bc8d27c48b9f2132381f39ca791745df35dfbe9 /audio/zinf/files/patch-zlib-zconf.h | |
parent | Fix build on FreeBSD 5. (diff) |
Update to 2.2.2.
PR: 47322
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=74122
Diffstat (limited to 'audio/zinf/files/patch-zlib-zconf.h')
-rw-r--r-- | audio/zinf/files/patch-zlib-zconf.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/audio/zinf/files/patch-zlib-zconf.h b/audio/zinf/files/patch-zlib-zconf.h deleted file mode 100644 index 9f4ca4b60d38..000000000000 --- a/audio/zinf/files/patch-zlib-zconf.h +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/zlib/include/zconf.h.orig Sun Aug 4 20:51:32 2002 -+++ lib/zlib/include/zconf.h Sun Aug 4 20:53:27 2002 -@@ -238,15 +238,25 @@ - #ifdef HAVE_UNISTD_H - # include <sys/types.h> /* for off_t */ - # include <unistd.h> /* for SEEK_* and off_t */ -+#ifndef __FreeBSD__ - # define z_off_t off_t - #endif -+#endif - #ifndef SEEK_SET - # define SEEK_SET 0 /* Seek from beginning of file. */ - # define SEEK_CUR 1 /* Seek from current position. */ - # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ - #endif -+#ifndef __FreeBSD__ - #ifndef z_off_t - # define z_off_t long -+#endif -+#else -+/* -+ * This is hard-configured for FreeBSD, since zlib doesn't actually support -+ * using the system off_t for offsets unless off_t is no longer than long. -+ */ -+#define z_off_t long - #endif - - /* MVS linker does not support external names larger than 8 bytes */ |