openbsd-ports/www/php4/patches/patch-main_php_h
robert 115bbc2487 switch to MESSAGE and UNMESSAGE; fix the redefinition of socklen_t;
Put correct paths into php-config and phpize scripts;
bump PKGNAME
2004-11-24 19:03:15 +00:00

13 lines
361 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.1 2004/11/24 19:03:15 robert Exp $
--- main/php.h.orig Wed Nov 24 18:38:07 2004
+++ main/php.h Wed Nov 24 18:38:38 2004
@@ -143,7 +143,7 @@
char *strtok_r(char *s, const char *delim, char **last);
#endif
-#ifndef HAVE_SOCKLEN_T
+#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__)
typedef unsigned int socklen_t;
#endif