Hello community, here is the log from the commit of package awesfx for openSUSE:Factory checked in at Tue Jun 2 13:05:11 CEST 2009. -------- --- awesfx/awesfx.changes 2007-08-29 16:51:51.000000000 +0200 +++ /mounts/work_src_done/STABLE/awesfx/awesfx.changes 2009-05-29 12:51:40.000000000 +0200 @@ -1,0 +2,7 @@ +Fri May 29 12:50:51 CEST 2009 - tiwai@suse.de + +- fix build error with the recent glibc (getline() conflict) +- build with -fno-strict-aliasing +- clean up spec file + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- awesfx-getline-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ awesfx.spec ++++++ --- /var/tmp/diff_new_pack.D12385/_old 2009-06-02 13:01:59.000000000 +0200 +++ /var/tmp/diff_new_pack.D12385/_new 2009-06-02 13:01:59.000000000 +0200 @@ -1,27 +1,36 @@ # # spec file for package awesfx (Version 0.5.1a) # -# Copyright (c) 2007 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. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: awesfx BuildRequires: alsa-devel Summary: SoundFont Utilities for SB AWE32/64 and Emu10k1 Drivers Version: 0.5.1a -Release: 8 +Release: 85 License: GPL v2 or later Group: Productivity/Multimedia/Sound/Midi BuildRoot: %{_tmppath}/%{name}-%{version}-build -URL: http://www.alsa-project.org/~iwai/awedrv.html +Url: http://www.alsa-project.org/~iwai/awedrv.html Source: awesfx-%{version}.tar.bz2 Patch: awesfx-autoreconf-fix.diff Patch1: awesfx-udev-soundfont-fix.diff +Patch2: awesfx-getline-fix.diff %description The AWESFX package includes utility programs for controlling the @@ -37,10 +46,11 @@ %setup %patch -p1 %patch1 -p1 -%{?suse_update_config:%{suse_update_config -f}} +%patch2 -p1 %build autoreconf -fi +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure make @@ -68,46 +78,50 @@ /etc/alsa.d %changelog -* Wed Aug 29 2007 - tiwai@suse.de +* Fri May 29 2009 tiwai@suse.de +- fix build error with the recent glibc (getline() conflict) +- build with -fno-strict-aliasing +- clean up spec file +* Wed Aug 29 2007 tiwai@suse.de - fix udev script to load properly with recent udev versions - fix for autoreconf -* Mon Aug 06 2007 - tiwai@suse.de +* Mon Aug 06 2007 tiwai@suse.de - updated to version 0.5.1a: * really fix the build without linux/awe_voice.h -* Wed Jul 25 2007 - tiwai@suse.de +* Wed Jul 25 2007 tiwai@suse.de - updated to version 0.5.1: * include awe_voice.h into the package * include udev files into the package -* Tue Apr 17 2007 - tiwai@suse.de +* Tue Apr 17 2007 tiwai@suse.de - move udev-related stuff from alsa package -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Tue Aug 31 2004 - tiwai@suse.de +* Tue Aug 31 2004 tiwai@suse.de - updated to version 0.5.0d. (misc fixes only) -* Fri Feb 27 2004 - tiwai@suse.de +* Fri Feb 27 2004 tiwai@suse.de - updated to version 0.5.0b. -* Wed Feb 04 2004 - tiwai@suse.de +* Wed Feb 04 2004 tiwai@suse.de - updated to version 0.5.0a. -* Fri Jan 23 2004 - tiwai@suse.de +* Fri Jan 23 2004 tiwai@suse.de - updated to version 0.5.0. using auto-tools now. ALSA emux loader is added. -* Sun Jan 11 2004 - adrian@suse.de +* Sun Jan 11 2004 adrian@suse.de - add %%defattr -* Fri Mar 08 2002 - kukuk@suse.de +* Fri Mar 08 2002 kukuk@suse.de - Add /usr/share/sounds/sf2 to filelist -* Tue Jan 08 2002 - tiwai@suse.de +* Tue Jan 08 2002 tiwai@suse.de - fixed buffer overflow with a long HOME env. variable. -* Fri Sep 21 2001 - tiwai@suse.de +* Fri Sep 21 2001 tiwai@suse.de - Fixed a bug in incremental loading: duplication of instrument layers are avoided. -* Tue Feb 27 2001 - tiwai@suse.de +* Tue Feb 27 2001 tiwai@suse.de - Apply the forgotten patch. -* Fri Jan 05 2001 - tiwai@suse.de +* Fri Jan 05 2001 tiwai@suse.de - Removed CVS directories from source archive. - Strip installed binaries. -* Tue Dec 05 2000 - tiwai@suse.de +* Tue Dec 05 2000 tiwai@suse.de - Move default soundfont directory to /usr/share/sounds/sf2. -* Thu Sep 14 2000 - tiwai@suse.de +* Thu Sep 14 2000 tiwai@suse.de - Fixed version number and documents. -* Tue Aug 01 2000 - tiwai@suse.de +* Tue Aug 01 2000 tiwai@suse.de - Initial version: 0.4.4 ++++++ awesfx-getline-fix.diff ++++++ diff -r b7ad96e79553 setfx.c --- a/setfx.c Thu Sep 06 17:52:37 2007 +0200 +++ b/setfx.c Fri May 29 12:37:40 2009 +0200 @@ -37,7 +37,7 @@ /*----------------------------------------------------------------*/ static void usage(void); -static int getline(FILE *fp); +static int my_getline(FILE *fp); static int nextline(FILE *fp); static char *gettok(FILE *fp); static char *divtok(char *src, char *divs, int only_one); @@ -126,7 +126,7 @@ } curline = 0; - if (!getline(fp)) + if (!my_getline(fp)) return 0; seq_init(seq_devname, seq_devidx); @@ -370,7 +370,7 @@ * read a line and parse tokens *----------------------------------------------------------------*/ -static int getline(FILE *fp) +static int my_getline(FILE *fp) { char *p; curline++; @@ -393,12 +393,12 @@ { if (connected) { do { - if (! getline(fp)) + if (! my_getline(fp)) return FALSE; } while (connected); return TRUE; } else { - return getline(fp); + return my_getline(fp); } } @@ -415,7 +415,7 @@ tok = divtok(NULL, " \t\r\n", FALSE); while (tok == NULL || *tok == 0) { if (! connected) return NULL; - if (! getline(fp)) return NULL; + if (! my_getline(fp)) return NULL; tok = divtok(line, " \t\r\n", FALSE); } return tok; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org