openbsd-ports/www/php5/patches/patch-main_php_h
robert 49e00a6b85 compile zend_alloc.c with -O0 to prevent a compiler bug on sparc64
and regen patches while here; bump PKGNAMEs
2007-04-03 12:17:34 +00:00

13 lines
374 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.3 2007/04/03 12:17:34 robert Exp $
--- main/php.h.orig Mon Jan 1 10:36:11 2007
+++ main/php.h Tue Apr 3 12:10:42 2007
@@ -143,7 +143,7 @@ char *strtok_r(char *s, const char *delim, char **last
END_EXTERN_C()
#endif
-#ifndef HAVE_SOCKLEN_T
+#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__)
typedef unsigned int socklen_t;
#endif