rpms/ctrlproxy/devel lib_connection.c.patch, NONE, 1.1 ctrlproxy.spec, 1.19, 1.20

Bernie Innocenti bernie at fedoraproject.org
Wed Dec 3 18:57:57 UTC 2008


Author: bernie

Update of /cvs/pkgs/rpms/ctrlproxy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12508

Modified Files:
	ctrlproxy.spec 
Added Files:
	lib_connection.c.patch 
Log Message:
* Tue Dec  2 2008 Bernie Innocenti <bernie at codewiz.org> 3.0.7-3
- Patch for upstream bug http://bugs.bitlbee.org/ctrlproxy/ticket/202


lib_connection.c.patch:

--- NEW FILE lib_connection.c.patch ---

$FreeBSD$

--- lib/connection.c.orig
+++ lib/connection.c
@@ -467,7 +467,8 @@
 	if (error) {
 		network_log(LOG_ERROR, s, "Unable to lookup %s:%s %s", 
 					cs->host, cs->port, gai_strerror(error));
-		freeaddrinfo(addrinfo);
+		if(addrinfo)
+			freeaddrinfo(addrinfo);
 		return FALSE;
 	}
 


Index: ctrlproxy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctrlproxy/devel/ctrlproxy.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ctrlproxy.spec	2 Sep 2008 11:41:42 -0000	1.19
+++ ctrlproxy.spec	3 Dec 2008 18:57:26 -0000	1.20
@@ -6,13 +6,14 @@
 Summary: ctrlproxy
 Name: ctrlproxy
 Version: 3.0.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 Source: http://jelmer.vernstok.nl/releases/ctrlproxy-%{version}.tar.gz
 Url: http://jelmer.vernstok.nl/ctrlproxy/
 Source100: ctrlproxy.init
 Source101: ctrlproxy.config
+Patch1: lib_connection.c.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glib2-devel, popt, gnutls-devel
 
@@ -37,6 +38,7 @@
 
 %prep
 %setup -q
+%patch1 -p0 -b .libconn
 
 %build
 %configure
@@ -93,6 +95,9 @@
 %{_libdir}/pkgconfig/ctrlproxy.pc
 
 %changelog
+* Tue Dec  2 2008 Bernie Innocenti <bernie at codewiz.org> 3.0.7-3
+- Patch for upstream bug http://bugs.bitlbee.org/ctrlproxy/ticket/202
+
 * Tue Sep  2 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 3.0.7-2
 - Include /usr/include/ctrlproxy-3.0 directory
 




More information about the fedora-extras-commits mailing list