rpms/libeXosip2/F-8 libeXosip2-3.0.3-3-gcc43fixes.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 libeXosip2.spec, 1.11, 1.12 sources, 1.7, 1.8

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Fri Feb 15 04:43:16 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/libeXosip2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16174

Modified Files:
	.cvsignore libeXosip2.spec sources 
Added Files:
	libeXosip2-3.0.3-3-gcc43fixes.patch 
Log Message:
Update to 3.1.0

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: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libeXosip2/F-8/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	29 Aug 2007 04:46:13 -0000	1.7
+++ .cvsignore	15 Feb 2008 04:42:35 -0000	1.8
@@ -1 +1 @@
-libeXosip2-3.0.3.tar.gz
+libeXosip2-3.1.0.tar.gz


Index: libeXosip2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libeXosip2/F-8/libeXosip2.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- libeXosip2.spec	29 Aug 2007 04:46:13 -0000	1.11
+++ libeXosip2.spec	15 Feb 2008 04:42:35 -0000	1.12
@@ -1,15 +1,17 @@
 Summary: A library that hides the complexity of using the SIP protocol
 Name: libeXosip2
-Version: 3.0.3
+Version: 3.1.0
 Release: 1%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://savannah.nongnu.org/projects/eXosip
 Source0: http://download.savannah.nongnu.org/releases/exosip/libeXosip2-%{version}.tar.gz
+Patch0: libeXosip2-3.0.3-3-gcc43fixes.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires: ortp-devel
-BuildRequires: libosip2-devel >= 3.0.3
+BuildRequires: ortp-devel >= 0.14.2
+BuildRequires: libosip2-devel >= 3.1.0
 BuildRequires: doxygen
 
 %description
@@ -29,10 +31,11 @@
 Development files for libeXosip2.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
+%patch0 -p1
 
 %build
-%configure --disable-static --disable-josua
+%configure --disable-static
 make %{_smp_mflags}
 make doxygen
 
@@ -40,8 +43,7 @@
 rm -rf %{buildroot}
 
 make install DESTDIR=%{buildroot}
-rm -rf %{buildroot}%{_includedir}/josua
-rm -f %{buildroot}%{_libdir}/%{name}.la
+rm %{buildroot}%{_libdir}/%{name}.la
 
 mkdir -p %{buildroot}%{_mandir}/man3
 cp help/doxygen/doc/man/man3/*.3* %{buildroot}%{_mandir}/man3
@@ -69,6 +71,15 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Thu Feb 14 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.1.0-1
+- Update to 3.1.0
+
+* 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.
+
 * Tue Aug 28 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.0.3-1
 - Update to 3.0.3
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libeXosip2/F-8/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	29 Aug 2007 04:46:13 -0000	1.7
+++ sources	15 Feb 2008 04:42:35 -0000	1.8
@@ -1 +1 @@
-84a6e94f1bcfd5d10640cdd4939208a7  libeXosip2-3.0.3.tar.gz
+ed6005a146501a5f9308e28108ae7bca  libeXosip2-3.1.0.tar.gz




More information about the fedora-extras-commits mailing list