Hello community, here is the log from the commit of package audiofile checked in at Thu Sep 7 01:07:46 CEST 2006. -------- --- audiofile/audiofile.changes 2006-01-25 21:34:31.000000000 +0100 +++ audiofile/audiofile.changes 2006-09-06 11:23:47.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 6 11:22:18 CEST 2006 - anosek@suse.cz + +- fixed warning: old-style function definition + [#203121] (oldstyle.patch) + +------------------------------------------------------------------- New: ---- audiofile-oldstyle.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ audiofile.spec ++++++ --- /var/tmp/diff_new_pack.xYYOyV/_old 2006-09-07 01:05:17.000000000 +0200 +++ /var/tmp/diff_new_pack.xYYOyV/_new 2006-09-07 01:05:17.000000000 +0200 @@ -1,33 +1,34 @@ # # spec file for package audiofile (Version 0.2.6) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: audiofile -URL: www.gnome.org +URL: http://www.68k.org/~michael/audiofile/ License: GPL, LGPL Group: System/Libraries Obsoletes: audiofil Provides: audiofil Autoreqprov: on -Summary: An audio file library +Summary: An Audio File Library Version: 0.2.6 -Release: 6 +Release: 20 Source: ftp://ftp.gnome.org/pub/GNOME/sources/audiofile/0.2/audiofile-%{version}.tar.bz2 Patch: audiofile-m4_quote_fix.diff Patch1: audiofile-%{version}.patch +Patch2: %{name}-oldstyle.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This Audio File Library is an implementation of the SGI Audio File -library. At present, not all features of the SGI Audio File library are +This audio file library is an implementation of the SGI audio file +library. At present, not all features of the SGI audio file library are implemented. This library allows the processing of audio data to and from audio @@ -64,6 +65,7 @@ %setup -q %patch %patch1 +%patch2 %build # %{?suse_update_config:%{suse_update_config}} @@ -104,6 +106,9 @@ %_libdir/pkgconfig/*.pc %changelog -n audiofile +* Wed Sep 06 2006 - anosek@suse.cz +- fixed warning: old-style function definition + [#203121] (oldstyle.patch) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Sep 16 2005 - meissner@suse.de ++++++ audiofile-oldstyle.patch ++++++ --- libaudiofile/g711.c +++ libaudiofile/g711.c @@ -81,10 +81,7 @@ 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF}; static int -search(val, table, size) - int val; - short *table; - int size; +search(int val, short int *table, int size) { int i; @@ -115,8 +112,8 @@ * John Wiley & Sons, pps 98-111 and 472-476. */ unsigned char -_af_linear2alaw(pcm_val) - int pcm_val; /* 2's complement (16-bit range) */ +_af_linear2alaw(int pcm_val) + /* 2's complement (16-bit range) */ { int mask; int seg; @@ -151,8 +148,7 @@ * */ int -_af_alaw2linear(a_val) - unsigned char a_val; +_af_alaw2linear(unsigned char a_val) { int t; int seg; @@ -269,8 +265,7 @@ /* A-law to u-law conversion */ static unsigned char -alaw2ulaw(aval) - unsigned char aval; +alaw2ulaw(unsigned char aval) { aval &= 0xff; return ((aval & 0x80) ? (0xFF ^ _a2u[aval ^ 0xD5]) : @@ -279,8 +274,7 @@ /* u-law to A-law conversion */ static unsigned char -ulaw2alaw(uval) - unsigned char uval; +ulaw2alaw(unsigned char uval) { uval &= 0xff; return ((uval & 0x80) ? (0xD5 ^ (_u2a[0xFF ^ uval] - 1)) : ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org