--- /dev/null
+https://code.google.com/p/php52-backports/issues/detail?id=36
+fix crashes on amd64 on ac (glibc 2.3.6)
+--- php-5.2.17/ext/exif/exif.c~ 2013-10-22 16:16:26.000000000 +0300
++++ php-5.2.17/ext/exif/exif.c 2013-10-22 16:16:29.959714312 +0300
+@@ -2746,7 +2746,7 @@
+ {
+ int de, i=0, section_index = SECTION_MAKERNOTE;
+ int NumDirEntries, old_motorola_intel;
+- size_t offset_diff;
++ int offset_diff;
+ const maker_note_type *maker_note;
+ char *dir_start;
+
%define magic_mime /usr/share/misc/magic.mime
%endif
-%define rel 1
+%define rel 2
%define orgname php
%define ver_suffix 52
%define php_suffix %{!?with_default_php:%{ver_suffix}}
Patch69: bug-50563.patch
Patch70: php-crypt-null.patch
Patch71: php-apache24.patch
+Patch72: exif-crash-bug-36.patch
# CENTALT patches
# Backport from 5.3.6
Patch311: php-5.3.6-bug-47435.patch
%patch69 -p4
%patch70 -p1
%patch71 -p1
+%patch72 -p1
# Bugfix backport from 5.3.6
%patch311 -p1 -b .bug-47435