openbsd-ports/lang/php/5.3/patches/patch-main_php_h
sthen 42b89bb2c5 update to PHP 5.3.13, fixing the fix for CVE-2012-2311 affecting CGI-based
setups (mod_php and FPM are unaffected).  OK robert@.
2012-05-08 21:29:16 +00:00

13 lines
378 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.4 2012/05/08 21:29:16 sthen Exp $
--- main/php.h.orig.port Fri May 4 01:28:40 2012
+++ main/php.h Fri May 4 01:28:41 2012
@@ -141,7 +141,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