openbsd-ports/lang/php/5.3/patches/patch-main_php_h
sthen 748511976d Use PATCHORIG, regen patches and rename the files which didn't match the
normal update-patches filenames. This avoids update-patches picking up the
.orig files in PHP distfiles and make it easier to keep in-sync. ok robert@
2011-06-18 19:49:22 +00:00

13 lines
378 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.3 2011/06/18 19:49:50 sthen Exp $
--- main/php.h.orig.port Sat Jun 18 12:14:46 2011
+++ main/php.h Sat Jun 18 12:14:52 2011
@@ -146,7 +146,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