Browse Source

try to fix building against latest JPEG library

master
parent
commit
ee4d081186
  1. 11
      php/php.patch
  2. 2
      php/php.spec

11
php/php.patch

@ -16,3 +16,14 @@ Index: ext/gd/libgd/gd_arc.c
+#endif
Index: ext/gd/libgd/gd_compat.c
--- ext/gd/libgd/gd_compat.c.orig 2009-08-09 15:15:45 +0200
+++ ext/gd/libgd/gd_compat.c 2010-01-19 21:20:30 +0100
@@ -5,6 +5,7 @@
#endif
#ifdef HAVE_GD_JPG
+# include <stdio.h>
# include <jpeglib.h>
#endif

2
php/php.spec

@ -38,7 +38,7 @@ Class: BASE
Group: Language
License: PHP
Version: %{V_php}
Release: 20100110
Release: 20100119
# package options
%option with_suhosin no

Loading…
Cancel
Save