openbsd-ports/www/php5/patches/patch-main_php_h
robert e02e606e73 update to version 5.2.3;
fixes many vulnerabilities just as usual. for more information
read http://www.php.net/releases/5_2_3.php

add a no_suhosin pseudo-flavor because horde has some problems
with the suhosin security patchset
2007-07-02 08:53:17 +00:00

13 lines
374 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.4 2007/07/02 08:53:17 robert Exp $
--- main/php.h.orig Mon Jul 2 10:34:20 2007
+++ main/php.h Mon Jul 2 10:34:20 2007
@@ -150,7 +150,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