summaryrefslogtreecommitdiffstats
path: root/php-timelib.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-30 11:21:43 +0200
committerRemi Collet <remi@remirepo.net>2017-08-30 11:21:43 +0200
commitd15b114d16b446eea7113a982021c7b03c387b50 (patch)
tree76f481324b02dbe2b2552bc04398d0629cd90830 /php-timelib.patch
parent43681eb3e835ec5dc36297caa13315f3692bcab9 (diff)
PHP 7.2.0RC1
Diffstat (limited to 'php-timelib.patch')
-rw-r--r--php-timelib.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/php-timelib.patch b/php-timelib.patch
new file mode 100644
index 0000000..dd8d8cf
--- /dev/null
+++ b/php-timelib.patch
@@ -0,0 +1,30 @@
+diff --git a/timelib_private.h b/timelib_private.h
+index cd402e0..efc7c80 100644
+--- a/ext/date/lib/timelib_private.h
++++ b/ext/date/lib/timelib_private.h
+@@ -115,7 +115,7 @@
+ m = NULL; \
+ }
+
+-typedef struct ttinfo
++struct ttinfo
+ {
+ int32_t offset;
+ int isdst;
+@@ -123,13 +123,13 @@ typedef struct ttinfo
+
+ unsigned int isstdcnt;
+ unsigned int isgmtcnt;
+-} ttinfo;
++};
+
+-typedef struct tlinfo
++struct tlinfo
+ {
+ int32_t trans;
+ int32_t offset;
+-} tlinfo;
++};
+
+
+ #ifndef LONG_MAX