Hello community, here is the log from the commit of package i4l-base checked in at Tue Jul 4 14:23:46 CEST 2006. -------- --- i4l-base/i4l-base.changes 2006-05-18 15:02:41.000000000 +0200 +++ i4l-base/i4l-base.changes 2006-07-03 17:48:17.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 3 17:46:23 CEST 2006 - kkeil@suse.de + +- HZ is not used anymore, this value is defined as duration in + 1/100 seconds independ from system HZ value + +------------------------------------------------------------------- New: ---- isdnlog-HZ.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ i4l-base.spec ++++++ --- /var/tmp/diff_new_pack.Kt4BTt/_old 2006-07-04 14:23:34.000000000 +0200 +++ /var/tmp/diff_new_pack.Kt4BTt/_new 2006-07-04 14:23:34.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package i4l-base (Version 2006.5.18) +# spec file for package i4l-base (Version 2006.7.3) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -18,7 +18,7 @@ Provides: i4l Autoreqprov: on Obsoletes: i4l -Version: 2006.5.18 +Version: 2006.7.3 Release: 1 Summary: ISDN for Linux Basic Utilities Source: isdn4k-utils.v3.9.tar.bz2 @@ -28,7 +28,7 @@ Source4: 45-isdn.rules Source5: isdn.sh Patch: isdn4k-utils.dif -#Patch1: isdn4k-utils-ipppcomp.diff +Patch1: isdnlog-HZ.dif Patch31: divactrl_2.1-gcc.diff #Patch10: i4l_suse-auto.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -59,7 +59,7 @@ and much more %package -n capi4linux -Version: 2006.5.18 +Version: 2006.7.3 Release: 1 Summary: CAPI 2.0 library and associated tools Group: Hardware/ISDN @@ -86,7 +86,7 @@ and more %package -n i4lfirm -Version: 2006.5.18 +Version: 2006.7.3 Release: 1 Summary: ISDN firmware for active ISDN cards Group: Hardware/ISDN @@ -113,7 +113,7 @@ and much more %package -n i4l-vbox -Version: 2006.5.18 +Version: 2006.7.3 Release: 1 Obsoletes: vbox Provides: vbox vbox2b4 @@ -141,7 +141,7 @@ Michael 'Ghandi' Herold %package -n i4l-isdnlog -Version: 2006.5.18 +Version: 2006.7.3 Release: 1 Summary: An ISDN line logging and control utility Group: Hardware/ISDN @@ -169,7 +169,7 @@ %prep %setup -q -n isdn4k-utils -b 1 -b 2 -b 3 %patch -#%patch1 -p1 +%patch1 -p1 chmod a+x */configure mv -f eicon/firmware/eicon_firm.tgz eicon/firmware/firmware.tgz mv -f eicon/firmware ../divactrl_2.1/ @@ -716,6 +716,9 @@ /lib/firmware/isdn/te*.qm* %changelog -n i4l-base +* Mon Jul 03 2006 - kkeil@suse.de +- HZ is not used anymore, this value is defined as duration in + 1/100 seconds independ from system HZ value * Thu May 18 2006 - schwab@suse.de - Don't build as root. - Don't strip binaries. ++++++ isdnlog-HZ.dif ++++++ Index: isdn4k-utils/isdnlog/isdnrep/isdnbill.c =================================================================== --- isdn4k-utils.orig/isdnlog/isdnrep/isdnbill.c +++ isdn4k-utils/isdnlog/isdnrep/isdnbill.c @@ -1005,7 +1005,7 @@ int main(int argc, char *argv[], char *e case 3 : dur = atoi(sx); break; - case 4 : c.duration = atol(sx) / HZ; + case 4 : c.duration = atol(sx) / 100; break; case 5 : c.connect = atol(sx); break; Index: isdn4k-utils/isdnlog/isdnrep/isdnrep.c =================================================================== --- isdn4k-utils.orig/isdnlog/isdnrep/isdnrep.c +++ isdn4k-utils/isdnlog/isdnrep/isdnrep.c @@ -2660,7 +2660,7 @@ static int set_caller_infos(one_call *cu if (dur1 < 0) /* wrong entry on some incoming voice calls */ dur1 = cur_call->duration = 0; break; - case 4 : dur2 = cur_call->duration = strtod(array[i],NULL)/HZ; + case 4 : dur2 = cur_call->duration = strtod(array[i],NULL)/100; break; case 5 : /*cur_call->t = atol(array[i]);*/ break; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org