diff options
author | drochner <drochner@pkgsrc.org> | 2009-07-30 20:12:39 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-07-30 20:12:39 +0000 |
commit | 5919d8ff71e71e6ebf156af2fd222c53a9db0339 (patch) | |
tree | 2c6031a8c464910f31d709c65a85a07c0a4d0327 /audio/mp3_check | |
parent | 016c8bb79589aa62cf601f9ed65cd215ff3114eb (diff) | |
download | pkgsrc-5919d8ff71e71e6ebf156af2fd222c53a9db0339.tar.gz |
limit collateral damage of the previous for systems where timeval.tv_usec
is a "long"
Diffstat (limited to 'audio/mp3_check')
-rw-r--r-- | audio/mp3_check/distinfo | 4 | ||||
-rw-r--r-- | audio/mp3_check/patches/patch-ac | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/audio/mp3_check/distinfo b/audio/mp3_check/distinfo index 14095ccfd3a..f2530d1c4b5 100644 --- a/audio/mp3_check/distinfo +++ b/audio/mp3_check/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2009/07/24 18:29:24 drochner Exp $ +$NetBSD: distinfo,v 1.7 2009/07/30 20:12:39 drochner Exp $ SHA1 (mp3_check-1.98.tar.gz) = 64f796d9b29fecb34ce05b05d75404aadd8fdb52 RMD160 (mp3_check-1.98.tar.gz) = d05203fdd1bc7079b6dfb71ed4f3b0ad074256b4 Size (mp3_check-1.98.tar.gz) = 83098 bytes SHA1 (patch-aa) = a58c9a6ff729e9bc41b259146773a18440a41a8e SHA1 (patch-ab) = 6c63b7addb3721d392a00d36e8efef8464b66ebd -SHA1 (patch-ac) = 44fdb05c502a83c4992f83ebf202010b41370ec0 +SHA1 (patch-ac) = 297f6315c44801764acae0b2f34ed1e05f6fefce diff --git a/audio/mp3_check/patches/patch-ac b/audio/mp3_check/patches/patch-ac index 6fa4e91d998..472f71d3ef4 100644 --- a/audio/mp3_check/patches/patch-ac +++ b/audio/mp3_check/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.2 2009/07/24 18:29:24 drochner Exp $ +$NetBSD: patch-ac,v 1.3 2009/07/30 20:12:39 drochner Exp $ --- support_functions.h.orig 2000-07-29 08:41:38.000000000 +0200 +++ support_functions.h @@ -8,8 +8,8 @@ $NetBSD: patch-ac,v 1.2 2009/07/24 18:29:24 drochner Exp $ printf("\n"); - printf("%-20s%1ld.%02lds\n", "USER_TIME", process_usage.ru_utime.tv_sec, process_usage.ru_utime.tv_usec / 10000); - printf("%-20s%1ld.%02lds\n", "SYS_TIME", process_usage.ru_stime.tv_sec, process_usage.ru_stime.tv_usec / 10000); -+ printf("%-20s%1lld.%02ds\n", "USER_TIME", (long long)process_usage.ru_utime.tv_sec, process_usage.ru_utime.tv_usec / 10000); -+ printf("%-20s%1lld.%02ds\n", "SYS_TIME", (long long)process_usage.ru_stime.tv_sec, process_usage.ru_stime.tv_usec / 10000); ++ printf("%-20s%1lld.%02lds\n", "USER_TIME", (long long)process_usage.ru_utime.tv_sec, (long)process_usage.ru_utime.tv_usec / 10000); ++ printf("%-20s%1lld.%02lds\n", "SYS_TIME", (long long)process_usage.ru_stime.tv_sec, (long)process_usage.ru_stime.tv_usec / 10000); } } |