summaryrefslogtreecommitdiffstats
path: root/edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-02 07:58:57 +0200
committerRemi Collet <remi@remirepo.net>2020-08-02 07:58:57 +0200
commit220c72bc19d8c2d323695d71a9ae98839ef2d9cb (patch)
tree933ceea0896eaa6df99141aadc5cfff99f347123 /edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch
parent23e455394397268d499ad19e62d78905d7c7261e (diff)
update to 1.1.2HEADmaster
Diffstat (limited to 'edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch')
-rw-r--r--edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch b/edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch
deleted file mode 100644
index 59a2338..0000000
--- a/edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e Mon Sep 17 00:00:00 2001
-From: Antony Dovgal <tony@daylessday.org>
-Date: Mon, 23 Apr 2018 12:26:50 +0300
-Subject: [PATCH] fix build with PHP master
-
-update news and current version
----
- NEWS | 4 ++++
- php_pinba.h | 2 +-
- pinba.c | 12 ++++++++++++
- 3 files changed, 17 insertions(+), 1 deletion(-)
-
-diff --git a/pinba.c b/pinba.c
-index 561b40c..a7b2ecf 100644
---- a/pinba.c
-+++ b/pinba.c
-@@ -1292,7 +1292,11 @@ static PHP_FUNCTION(pinba_timer_start)
- timeval_cvt(&t->tmp_ru_stime, &u.ru_stime);
- }
- /* refcount++ so that the timer is shut down only on request finish if not stopped manually */
-+#if PHP_VERSION_ID < 70300
- GC_REFCOUNT(rsrc)++;
-+#else
-+ GC_ADDREF(rsrc);
-+#endif
- RETURN_RES(rsrc);
- }
- /* }}} */
-@@ -1351,7 +1355,11 @@ static PHP_FUNCTION(pinba_timer_add)
- t->rsrc_id = rsrc->handle;
-
- /* refcount++ so that the timer is shut down only on request finish if not stopped manually */
-+#if PHP_VERSION_ID < 70300
- GC_REFCOUNT(rsrc)++;
-+#else
-+ GC_ADDREF(rsrc);
-+#endif
- RETURN_RES(rsrc);
- }
- /* }}} */
-@@ -1808,7 +1816,11 @@ static PHP_FUNCTION(pinba_timers_get)
- continue;
- }
- /* refcount++ */
-+#if PHP_VERSION_ID < 70300
- GC_REFCOUNT(rsrc)++;
-+#else
-+ GC_ADDREF(rsrc);
-+#endif
- add_next_index_resource(return_value, rsrc);
- }
- }