Hello community, here is the log from the commit of package kiax for openSUSE:Factory checked in at Fri Jun 12 20:03:28 CEST 2009. -------- --- KDE/kiax/kiax.changes 2007-10-11 17:44:32.000000000 +0200 +++ kiax/kiax.changes 2009-06-12 14:04:18.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 12 14:04:04 CEST 2009 - coolo@novell.com + +- fix build with glibc 2.10 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- iaxclient-glibc210.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiax.spec ++++++ --- /var/tmp/diff_new_pack.O15363/_old 2009-06-12 20:03:10.000000000 +0200 +++ /var/tmp/diff_new_pack.O15363/_new 2009-06-12 20:03:10.000000000 +0200 @@ -1,19 +1,27 @@ # # spec file for package kiax (Version 0.8.4) # -# 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: kiax BuildRequires: libdrm-devel libjpeg-devel qt3-devel-tools update-desktop-files Version: 0.8.4 -Release: 117 +Release: 227 License: GPL v2 or later Group: Productivity/Telephony/Clients PreReq: %install_info_prereq @@ -35,6 +43,7 @@ Patch15: portaudio-echocancel.diff Patch16: iax-no-audio-abort.diff Patch17: portaudio-double-free.diff +Patch18: iaxclient-glibc210.diff Url: http://kiax.sourceforge.net/ Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -98,6 +107,7 @@ %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 #autoreconf %build @@ -148,29 +158,32 @@ #test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT #rm -rf $RPM_BUILD_DIR/kiax-%{version} #rm -rf $RPM_BUILD_DIR/iaxclient + %changelog -* Thu Oct 11 2007 - kkeil@suse.de +* Fri Jun 12 2009 coolo@novell.com +- fix build with glibc 2.10 +* Thu Oct 11 2007 kkeil@suse.de - fixes for gcc43 - minor cleanups -* Tue Jul 18 2006 - dmueller@suse.de +* Tue Jul 18 2006 dmueller@suse.de - fix build -* Tue Jun 20 2006 - dmueller@suse.de +* Tue Jun 20 2006 dmueller@suse.de - build parallel -* Sat Jan 28 2006 - kkeil@suse.de +* Sat Jan 28 2006 kkeil@suse.de - set and export QTDIR -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Sun Jan 15 2006 - schwab@suse.de +* Sun Jan 15 2006 schwab@suse.de - Don't strip binaries. -* Tue Jan 03 2006 - garloff@suse.de +* Tue Jan 03 2006 garloff@suse.de - Don't set free flag in iaxc_play_sound(), the caller should do that. Fixes crash in Ringtone output. -* Tue Jan 03 2006 - garloff@suse.de +* Tue Jan 03 2006 garloff@suse.de - Fix 64bit problems (read the md5 typdef to have fun). - Avoid crash with echo cancellation and two-stream sound I/O. - Avoid one stream for sound I/O if possible. - Abort rather than segfault if audio device can't be opened. -* Fri Dec 30 2005 - garloff@suse.de +* Fri Dec 30 2005 garloff@suse.de - Initial creation of kiax-0.8.4. - Used iaxclient CVS snapshot to get support for the latest implementations of the codecs (gsm, speex, iLBC, uLaw). ++++++ iaxclient-glibc210.diff ++++++ Index: iaxclient/lib/libiax2/src/iax.c =================================================================== --- iaxclient.orig/lib/libiax2/src/iax.c +++ iaxclient/lib/libiax2/src/iax.c @@ -1538,7 +1538,7 @@ int iax_register(struct iax_session *ses snprintf(iax_errstr, sizeof(iax_errstr), "Invalid hostname: %s", tmp); return -1; } - memcpy(&session->peeraddr.sin_addr, hp->h_addr, sizeof(session->peeraddr.sin_addr)); + memcpy(&session->peeraddr.sin_addr, hp->h_addr_list[0], sizeof(session->peeraddr.sin_addr)); session->peeraddr.sin_port = htons(portno); session->peeraddr.sin_family = AF_INET; strncpy(session->username, peer, sizeof(session->username) - 1); @@ -1931,7 +1931,7 @@ int iax_call(struct iax_session *session snprintf(iax_errstr, sizeof(iax_errstr), "Invalid hostname: %s", hostname); return -1; } - memcpy(&session->peeraddr.sin_addr, hp->h_addr, sizeof(session->peeraddr.sin_addr)); + memcpy(&session->peeraddr.sin_addr, hp->h_addr_list[0], sizeof(session->peeraddr.sin_addr)); session->peeraddr.sin_port = htons(portno); session->peeraddr.sin_family = AF_INET; res = send_command(session, AST_FRAME_IAX, IAX_COMMAND_NEW, 0, ied.buf, ied.pos, -1); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org