$OpenBSD: patch-ext_standard_exec_c,v 1.2 2004/06/06 18:09:22 avsm Exp $
--- ext/standard/exec.c.orig	2004-05-18 14:43:33.000000000 +0100
+++ ext/standard/exec.c	2004-06-06 19:11:28.000000000 +0100
@@ -952,7 +952,7 @@ PHP_FUNCTION(proc_open)
 				close(descriptors[i].childend);
 		}
 
-		execl("/bin/sh", "sh", "-c", command, NULL);
+		execl("/bin/sh", "sh", "-c", command, (void *)NULL);
 		_exit(127);
 
 	} else if (child < 0) {
