pkgsrc/www/w3c-httpd/patches/patch-ah
schwarz afdc57af6c * make w3c-httpd correctly install for IRIX and Linux (Solaris might need
some additional lines in Makefile)
* make it compile on non-case-sensitive filesystems
* add support for Darwin
2006-10-07 22:39:28 +00:00

13 lines
617 B
Text

$NetBSD: patch-ah,v 1.1 2006/10/07 22:39:28 schwarz Exp $
--- ./Library/Implementation/tcp.h.orig 2006-10-07 22:59:41.000000000 +0200
+++ ./Library/Implementation/tcp.h 2006-10-07 23:00:26.000000000 +0200
@@ -722,7 +722,7 @@
#ifdef unix /* if this is to compile on a UNIX machine */
#define GOT_READ_DIR 1 /* if directory reading functions are available */
-#ifndef NeXT
+#if !defined(NeXT) && !defined(__APPLE__)
#define USE_DIRENT /* Try this all the time, Henrik May 29 94 */
#endif
#ifdef USE_DIRENT /* sys v version */