1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/emulators/snes9x/files/patch-ah
Brian Feldman d09907238d Snes9X needs to _not_ have USE_THREADS auto-defined for FreeBSD in
unix/unix.cpp to build, especially when the Makefile does not have it
defined.  Also, along with this, split the patches out into the
customary one-file-per-patch chunks.

I'm not ${MAINTAINER}, but nacai does not mind my working on the
port :)
1999-12-29 07:12:58 +00:00

25 lines
526 B
Plaintext

diff -ru ../../work/release/unzip/unzip.h ./unzip/unzip.h
--- ../../work/release/unzip/unzip.h Wed Aug 25 05:52:56 1999
+++ ./unzip/unzip.h Wed Dec 29 01:54:04 1999
@@ -41,13 +41,17 @@
#ifndef _unz_H
#define _unz_H
+#include <sys/types.h>
+
+#ifndef _ZLIB_H
+#include <zlib.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef _ZLIB_H
-#include "zlib.h"
-#endif
+#define ZEXPORT
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
/* like the STRICT of WIN32, we define a pointer that cannot be converted