Commit 9ebc7086 authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/php7-xhprof: upgrade to 2.1.3

parent 0c62e94f
From 63599ab7fe0bed56ed07cee0fc12657e54f6b5fc Mon Sep 17 00:00:00 2001
From: longxinhui <longxinhui.e@gmail.com>
Date: Mon, 9 Dec 2019 20:42:16 +0800
Subject: [PATCH] fix s390
#15 Fix s390 accuracy loss
---
README.md | 2 +-
extension/php_xhprof.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extension/php_xhprof.h b/extension/php_xhprof.h
index c5bfae1..93da558 100755
--- a/extension/php_xhprof.h
+++ b/extension/php_xhprof.h
@@ -274,7 +274,7 @@ ZEND_BEGIN_MODULE_GLOBALS(xhprof)
/* XHPROF_SAMPLING_INTERVAL in ticks */
long sampling_interval;
uint64 sampling_interval_tsc;
- int sampling_depth;
+ long sampling_depth;
/* XHProf flags */
uint32 xhprof_flags;
......@@ -3,8 +3,8 @@
pkgname=php7-xhprof
_pkgreal=xhprof
pkgver=2.1.2
pkgrel=1
pkgver=2.1.3
pkgrel=0
pkgdesc="A Hierarchical Profiler for PHP"
url="https://pecl.php.net/package/xhprof"
arch="all"
......@@ -12,8 +12,7 @@ license="Apache-2.0"
depends="php7-ctype"
makedepends="php7-dev re2c"
subpackages="$pkgname-assets::noarch"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
63599ab7fe0bed56ed07cee0fc12657e54f6b5fc.patch"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
......@@ -52,5 +51,4 @@ assets() {
cp -R "$builddir"/examples "$installdir"
}
sha512sums="8b4a77462829ac947df792312a253600c5c63c5fec48bebe3d6c51549acd51d53687763d6791d794650871677cb837b7935fc293cad6da492f46fd91db297e8b php7-xhprof-2.1.2.tar.gz
820a368f77f53976ee15faffc719b88cd6b4f8dbe59ca48c4b7fcfb4944139b6dfcb31f6c20606b013ffb817a26a518d03b584d0e0a05261b65c415fbc66ba10 63599ab7fe0bed56ed07cee0fc12657e54f6b5fc.patch"
sha512sums="c9a74fe48882afb10b352430bd1849ac35bb1fe9fd7d5918c57628c48a88e0919906fdd36b531ef0d5e6cd5424d6b4b8c1742c134e2ef71bb09ac5477bc17813 php7-xhprof-2.1.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment