summaryrefslogtreecommitdiffstats
path: root/php-timelib.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-29 14:53:45 +0200
committerRemi Collet <remi@remirepo.net>2017-08-29 14:53:45 +0200
commit94bc3dfc0da150a9325dcd84aabcdcdac99a1aad (patch)
tree6300d4000d9cdd82f98b83ed8d5fe588a1cb430a /php-timelib.patch
parentd065c5413c9d99206cbe8fc2c92374209f7edf49 (diff)
update to 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