update p5-Devel-NYTProf to 4.06

ok espie@
This commit is contained in:
bluhm 2011-01-09 13:53:27 +00:00
parent 046cad1ff7
commit 023968bb2a
4 changed files with 21 additions and 24 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2010/12/03 11:44:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2011/01/09 13:53:27 bluhm Exp $
SHARED_ONLY = Yes
COMMENT = powerful feature-rich perl source code profiler
DISTNAME = Devel-NYTProf-4.05
REVISION = 0
DISTNAME = Devel-NYTProf-4.06
CATEGORIES = devel
@ -20,8 +19,9 @@ PERMIT_DISTFILES_FTP = Yes
WANTLIB = z
MODULES = cpan
USE_GROFF = Yes
RUN_DEPENDS = converters/p5-JSON-Any
REGRESS_DEPENDS = devel/p5-Sub-Name>=0.05
USE_GROFF = Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (Devel-NYTProf-4.05.tar.gz) = 5l2PeOAOiUw15IU66FAFsA==
RMD160 (Devel-NYTProf-4.05.tar.gz) = hwf5UUYNz9iRTVjhGQZatZgYXcQ=
SHA1 (Devel-NYTProf-4.05.tar.gz) = AQwmC1Y6NSxGRP2wEVy+1c0KRKs=
SHA256 (Devel-NYTProf-4.05.tar.gz) = /9kXPbupWypPxw4ZYdOC2uQkuK+wcGOm54RTO/1pQ6Y=
SIZE (Devel-NYTProf-4.05.tar.gz) = 407557
MD5 (Devel-NYTProf-4.06.tar.gz) = apRWSeSdNT3dCDpEJ/n5bA==
RMD160 (Devel-NYTProf-4.06.tar.gz) = aPnbYi8CfKw7rEEZ6+ZDRNaA+nA=
SHA1 (Devel-NYTProf-4.06.tar.gz) = HLxyHbRoViJSeFbYdRtKZ87VmyA=
SHA256 (Devel-NYTProf-4.06.tar.gz) = IdDxMQt/Oj7bLGrfsNBoKWeLOV2CqroKwuzgV8paks0=
SIZE (Devel-NYTProf-4.06.tar.gz) = 410485

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-FileHandle_xs,v 1.2 2010/10/19 18:56:36 bluhm Exp $
--- FileHandle.xs.orig Thu Sep 16 18:48:31 2010
+++ FileHandle.xs Thu Oct 7 01:12:09 2010
@@ -603,8 +603,9 @@ NYTP_close(NYTP_file file, int discard) {
const double ratio = file->zs.total_in / (double) file->zs.total_out;
flush_output(file, Z_FINISH);
fprintf(raw_file, "#\n"
- "# Compressed %lu bytes to %lu, ratio %f:1, data shrunk by %f%%\n",
- file->zs.total_in, file->zs.total_out, ratio,
+ "# Compressed %ju bytes to %ju, ratio %f:1, data shrunk by %f%%\n",
+ (uintmax_t)file->zs.total_in,
+ (uintmax_t)file->zs.total_out, ratio,
100 * (1 - 1 / ratio));
}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-NYTProf_xs,v 1.1 2011/01/09 13:53:27 bluhm Exp $
--- NYTProf.xs.orig Tue Nov 30 23:15:41 2010
+++ NYTProf.xs Sun Dec 12 23:27:43 2010
@@ -1516,7 +1516,7 @@ DB_leave(pTHX_ OP *op, OP *prev_op)
prev_last_executed_fid = last_executed_fid;
prev_last_executed_line = last_executed_line;
-#ifdef CxMULTICALL && 0 /* disabled for now */
+#if defined(CxMULTICALL) && 0 /* disabled for now */
/* pp_return, pp_leavesub and pp_leavesublv
* return a NULL op when returning from a MULTICALL.
* See Lightweight Callbacks in perlcall.