rpms/libeXosip2/devel libeXosip2-3.0.3-3-gcc43fixes.patch, NONE, 1.1 libeXosip2.spec, 1.12, 1.13
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Tue Feb 5 17:00:41 UTC 2008
Author: jcollie
Update of /cvs/pkgs/rpms/libeXosip2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8345
Modified Files:
libeXosip2.spec
Added Files:
libeXosip2-3.0.3-3-gcc43fixes.patch
Log Message:
Check patch into cvs.
libeXosip2-3.0.3-3-gcc43fixes.patch:
--- NEW FILE libeXosip2-3.0.3-3-gcc43fixes.patch ---
>From bc22adf7a01ff307896dac2fb9bc70d94482a3c7 Mon Sep 17 00:00:00 2001
From: Adam Tkac <atkac at redhat.com>
Date: Tue, 5 Feb 2008 14:00:43 +0100
Subject: [PATCH] GCC 4.3 problem building libeXosip2?
On Mon, Feb 04, 2008 at 02:36:50PM -0600, Jeffrey Ollie wrote:
> I'm working on an update to libeXosip2, unfortunately I get some
> errors while building on rawhide:
>
> http://koji.fedoraproject.org/koji/getfile?taskID=395271&name=build.log
>
> The problems occur both building locally on mock and when doing a
> scratch build on koji. Builds on F-7 and F-8 work fine so I'm fairly
> confident that this is something related to GCC 4.3. I'm working on
> getting a rawhide system up and running to do some testing - in the
> meantime is there anyone that can take a look and give me some
> pointers?
>
> Jeff
>
libeXosip2 is buggy. NI_MAXHOST is in #ifdef statement in header but
in code is used without #ifdef. Simple patch is attached
Adam
--
Adam Tkac, Red Hat, Inc.
---
src/eXosip2.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/eXosip2.h b/src/eXosip2.h
index 64de408..3923508 100644
--- a/src/eXosip2.h
+++ b/src/eXosip2.h
@@ -87,13 +87,14 @@ extern "C"
{
#endif
+#define NI_MAXHOST 1025
+
#if defined(__arc__)
#define USE_GETHOSTBYNAME
#endif
#if defined(USE_GETHOSTBYNAME)
-#define NI_MAXHOST 1025
#define NI_MAXSERV 32
#define NI_NUMERICHOST 1
--
1.5.3.8
Index: libeXosip2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libeXosip2/devel/libeXosip2.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- libeXosip2.spec 5 Feb 2008 14:12:49 -0000 1.12
+++ libeXosip2.spec 5 Feb 2008 16:59:52 -0000 1.13
@@ -1,7 +1,7 @@
Summary: A library that hides the complexity of using the SIP protocol
Name: libeXosip2
Version: 3.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://savannah.nongnu.org/projects/eXosip
@@ -71,9 +71,11 @@
%{_mandir}/man3/*.3*
%changelog
+* Tue Feb 5 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.0.3-3
+- Apply patch from Adam Tkac that fixes compilation with GCC 4.3.
+
* Mon Feb 4 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.0.3-2
- Update to new patchlevel release.
-- Apply patch from Adam Tkac that fixes compilation with GCC 4.3.
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.0.3-1
- Update to 3.0.3
More information about the fedora-extras-commits
mailing list