rpms/pybluez/F-12 pybluez-0.16-btmodule.patch, NONE, 1.1 pybluez.spec, 1.8, 1.9
Will Woods
wwoods at fedoraproject.org
Fri Oct 9 13:29:24 UTC 2009
- Previous message (by thread): rpms/netpbm/devel .cvsignore, 1.58, 1.59 netpbm.spec, 1.145, 1.146 sources, 1.62, 1.63 netpbm-10.35-configfix.patch, 1.1, NONE
- Next message (by thread): rpms/pybluez/F-11 pybluez-0.16-btmodule.patch, NONE, 1.1 pybluez.spec, 1.6, 1.7 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wwoods
Update of /cvs/pkgs/rpms/pybluez/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29579
Modified Files:
pybluez.spec
Added Files:
pybluez-0.16-btmodule.patch
Log Message:
Add patch from Paulo Roma for BZ#528123
pybluez-0.16-btmodule.patch:
btmodule.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE pybluez-0.16-btmodule.patch ---
diff -udr PyBluez-0.16/bluez/btmodule.c PyBluez-0.16-working/bluez/btmodule.c
--- PyBluez-0.16/bluez/btmodule.c 2009-02-05 19:39:18.000000000 +0100
+++ PyBluez-0.16-working/bluez/btmodule.c 2009-06-20 02:18:54.000000000 +0200
@@ -679,7 +679,7 @@
static PyObject *
sock_bind(PySocketSockObject *s, PyObject *addro)
{
- struct sockaddr addr;
+ struct sockaddr addr = {0};
int addrlen;
int res;
@@ -770,7 +770,7 @@
static PyObject *
sock_connect(PySocketSockObject *s, PyObject *addro)
{
- struct sockaddr addr;
+ struct sockaddr addr = {0};
int addrlen;
int res;
int timeout;
@@ -805,7 +805,7 @@
static PyObject *
sock_connect_ex(PySocketSockObject *s, PyObject *addro)
{
- struct sockaddr addr;
+ struct sockaddr addr = {0};
int addrlen;
int res;
int timeout;
@@ -1193,7 +1193,7 @@
{
PyObject *addro;
char *buf;
- struct sockaddr addr;
+ struct sockaddr addr = {0};
int addrlen, len, n = 0, flags, timeout;
flags = 0;
Index: pybluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pybluez/F-12/pybluez.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- pybluez.spec 28 Jul 2009 13:31:59 -0000 1.8
+++ pybluez.spec 9 Oct 2009 13:29:23 -0000 1.9
@@ -2,13 +2,14 @@
Name: pybluez
Version: 0.16
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python API for the BlueZ bluetooth stack
Group: Development/Languages
License: GPLv2
URL: http://code.google.com/p/pybluez/
Source0: http://pybluez.googlecode.com/files/PyBluez-%{version}.tar.gz
+Patch0: pybluez-0.16-btmodule.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel bluez-libs-devel
@@ -20,6 +21,7 @@ applications.
%prep
%setup -q -n PyBluez-%{version}
+%patch0 -p1 -b .btmodule
%build
@@ -43,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/*
%changelog
+* Wed Oct 08 2009 Paulo Roma <roma at lcg.ufrj.br> - 0.16-2
+- Applied btmodule patch.
+
* Tue Jul 28 2009 Will Woods <wwoods at redhat.com> - 0.16-1
- New (bugfix) release from upstream
- Previous message (by thread): rpms/netpbm/devel .cvsignore, 1.58, 1.59 netpbm.spec, 1.145, 1.146 sources, 1.62, 1.63 netpbm-10.35-configfix.patch, 1.1, NONE
- Next message (by thread): rpms/pybluez/F-11 pybluez-0.16-btmodule.patch, NONE, 1.1 pybluez.spec, 1.6, 1.7 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list