openbsd-ports/lang/php/5.3/patches/patch-ext_gd_gdcache_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

12 lines
458 B
Plaintext

$OpenBSD: patch-ext_gd_gdcache_h,v 1.2 2011/06/18 19:49:50 sthen Exp $
--- ext/gd/gdcache.h.orig.port Wed Sep 26 16:44:16 2007
+++ ext/gd/gdcache.h Sat Jun 18 12:14:48 2011
@@ -41,6 +41,7 @@
/*********************************************************/
#if (!defined(_OSD_POSIX) && !defined(__FreeBSD__)) && HAVE_MALLOC_H
+#elif !defined(__OpenBSD__)
#include <malloc.h>
#else
#include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */