pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mp3_check fix build with 64-bit time_t



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7069d66374a3
branches:  trunk
changeset: 562305:7069d66374a3
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Jul 24 18:29:24 2009 +0000

description:
fix build with 64-bit time_t

diffstat:

 audio/mp3_check/distinfo         |   4 ++--
 audio/mp3_check/patches/patch-ac |  17 ++++++++++++++---
 2 files changed, 16 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 083acae38618 -r 7069d66374a3 audio/mp3_check/distinfo
--- a/audio/mp3_check/distinfo  Fri Jul 24 18:09:27 2009 +0000
+++ b/audio/mp3_check/distinfo  Fri Jul 24 18:29:24 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/10/29 16:26:21 tv Exp $
+$NetBSD: distinfo,v 1.6 2009/07/24 18:29:24 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) = f3e348cbab998e4247f5e6630e55966df8bc6899
+SHA1 (patch-ac) = 44fdb05c502a83c4992f83ebf202010b41370ec0
diff -r 083acae38618 -r 7069d66374a3 audio/mp3_check/patches/patch-ac
--- a/audio/mp3_check/patches/patch-ac  Fri Jul 24 18:09:27 2009 +0000
+++ b/audio/mp3_check/patches/patch-ac  Fri Jul 24 18:29:24 2009 +0000
@@ -1,8 +1,19 @@
-$NetBSD: patch-ac,v 1.1 2002/01/21 11:34:57 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2009/07/24 18:29:24 drochner Exp $
 
---- support_functions.h.orig   Sat Jul 29 08:41:38 2000
+--- support_functions.h.orig   2000-07-29 08:41:38.000000000 +0200
 +++ support_functions.h
-@@ -680,7 +680,7 @@
+@@ -490,8 +490,8 @@ print_sys_usage(void)
+               (void)fprintf(stderr, "Could not get system usage for myself.");
+       else {
+               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);
+       }
+ }
+ 
+@@ -680,7 +680,7 @@ print_frame_info(mp3_i, file_info)
        printf("%-20s%d\n", "BitRate", mp3_i->BIT_RATE);
        printf("%-20s%d\n", "SampRate", mp3_i->SAMPLE_FREQ);
        printf("%-20s%s\n", "BinString", mp3_i->BIN_STRING);



Home | Main Index | Thread Index | Old Index