rpms/ekg2/devel ekg2-gcc43.patch,NONE,1.1 ekg2.spec,1.5,1.6

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Thu Feb 14 22:46:32 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/ekg2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27618

Modified Files:
	ekg2.spec 
Added Files:
	ekg2-gcc43.patch 
Log Message:
- fix build with gcc-4.3, take 1

ekg2-gcc43.patch:

--- NEW FILE ekg2-gcc43.patch ---
diff -up ekg2-0.1.1/plugins/jabber/commands.c.gcc43 ekg2-0.1.1/plugins/jabber/commands.c
--- ekg2-0.1.1/plugins/jabber/commands.c.gcc43	2007-03-02 10:11:03.000000000 +0100
+++ ekg2-0.1.1/plugins/jabber/commands.c	2008-02-14 23:41:04.000000000 +0100
@@ -282,7 +282,7 @@ static void jabber_command_connect_child
 		if (!he)
 			a.s_addr = INADDR_NONE;
 		else
-			memcpy(&a, he->h_addr, sizeof(a));
+			memcpy(&a, he->h_addr_list[0], sizeof(a));
 	}
 #ifdef NO_POSIX_SYSTEM
 	DWORD written = 0;


Index: ekg2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ekg2/devel/ekg2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ekg2.spec	6 Dec 2007 16:17:37 -0000	1.5
+++ ekg2.spec	14 Feb 2008 22:45:57 -0000	1.6
@@ -5,11 +5,12 @@
 Summary(pl):	Wieloprotokołowy komunikator internetowy
 Name:		ekg2
 Version:	0.1.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPLv2
 Group:		Applications/Internet
 Source0:	http://pl.ekg2.org/%{name}-%{version}.tar.gz
 Patch1:		%{name}-rpm.patch
+Patch2:		%{name}-gcc43.patch
 URL:		http://www.ekg2.org/
 BuildRequires:	aspell-devel
 BuildRequires:	automake17
@@ -345,6 +346,9 @@
 %attr(755,root,root) %{perl_vendorarch}/auto/Ekg2/Irc/Irc.so
 
 %changelog
+* Thu Feb 14 2008 Dominik Mierzejewski <rpm at greysector.net> 0.1.1-3
+- fix build with gcc-4.3
+
 * Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.1.1-2
  - Rebuild for deps
 




More information about the fedora-extras-commits mailing list