com php-src: Reduce downstream patches: ext/gd/libgd/gdcache.h
| From: | Stanislav Malyshev | Date: | Mon, 23 Mar 2015 04:33:45 +0000 |
| Subject: | com php-src: Reduce downstream patches: ext/gd/libgd/gdcache.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85798@lists.php.net to get a copy of this message | ||
Commit: c12e031530872d73a8315d26d42c14859cf9de8e
Author: lesniewskister <lesniewskister@users.noreply.github.com> Fri, 20 Mar 2015
20:39:49 -0230
Committer: Stanislav Malyshev <stas@php.net> Sun, 22 Mar 2015 21:33:45 -0700
Parents: aa22e80b1af500e5d6cdc0f7783537a768d0e373
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c12e031530872d73a8315d26d42c14859cf9de8e
Log:
Reduce downstream patches
As per http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/php/5.6/patches/patch-ext_gd_libgd_gdcache_h?rev=1.1&content-type=text/x-cvsweb-markup
Changed paths:
M ext/gd/libgd/gdcache.h
Diff:
diff --git a/ext/gd/libgd/gdcache.h b/ext/gd/libgd/gdcache.h
index 6a6e892..0c5f83d 100644
--- a/ext/gd/libgd/gdcache.h
+++ b/ext/gd/libgd/gdcache.h
@@ -41,7 +41,7 @@
/*********************************************************/
#include <stdlib.h>
-#ifdef HAVE_MALLOC_H
+#if (!defined(__OpenBSD__)) && HAVE_MALLOC_H
#include <malloc.h>
#endif
#ifndef NULL