Fixes build failure on non-x86 platforms.

- Resolves: BZ#901526
epel9
Darryl L. Pierce 12 years ago
parent 35da6a5ee3
commit b882f01c37

@ -0,0 +1,31 @@
From d586bcc02c7b2a2d2ef073075b945540e231a76b Mon Sep 17 00:00:00 2001
From: mcpierce <mcpierce@13f79535-47bb-0310-9956-ffa450edef68>
Date: Mon, 28 Jan 2013 11:30:42 +0000
Subject: [PATCH] PROTON-202: Assigns a default value to scanned in codec.c
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Submitted by: Dan Horák <dan@danny.cz>
git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1439349 13f79535-47bb-0310-9956-ffa450edef68
---
proton-c/src/codec/codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proton-c/src/codec/codec.c b/proton-c/src/codec/codec.c
index d72acc0..a91b644 100644
--- a/proton-c/src/codec/codec.c
+++ b/proton-c/src/codec/codec.c
@@ -1356,7 +1356,7 @@ int pn_data_vscan(pn_data_t *data, const char *fmt, va_list ap)
bool found = false;
pn_type_t type;
- bool scanned;
+ bool scanned = false;
bool suspend = resume_count > 0;
switch (code) {
--
1.8.1

@ -2,7 +2,7 @@
Name: qpid-proton Name: qpid-proton
Version: 0.3 Version: 0.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: A high performance, lightweight messaging library Summary: A high performance, lightweight messaging library
License: ASL 2.0 License: ASL 2.0
@ -21,6 +21,7 @@ BuildRequires: epydoc
# BZ#901526 # BZ#901526
Patch1: 01-PROTON-202-Fixes-building-proton-on-non-x86-platform.patch Patch1: 01-PROTON-202-Fixes-building-proton-on-non-x86-platform.patch
Patch2: 02-PROTON-202-Assigns-a-default-value-to-scanned-in-cod.patch
%description %description
@ -84,6 +85,7 @@ Summary: Documentation for the Python language bindings for Qpid Proton
%setup -q -n qpid-proton-c-%{version} %setup -q -n qpid-proton-c-%{version}
%patch1 -p2 %patch1 -p2
%patch2 -p2
%build %build
@ -123,6 +125,10 @@ rm -rf %{buildroot}%{_sysconfdir}/php.d
%changelog %changelog
* Mon Jan 28 2013 Darryl L. Pierce <dpierce@redhat.com> - 0.3-3
- Fixes build failure on non-x86 platforms.
- Resolves: BZ#901526
* Fri Jan 25 2013 Darryl L. Pierce <dpierce@redhat.com> - 0.3-2 * Fri Jan 25 2013 Darryl L. Pierce <dpierce@redhat.com> - 0.3-2
- Fixes build failure on non-x86 platforms. - Fixes build failure on non-x86 platforms.
- Resolves: BZ#901526 - Resolves: BZ#901526

Loading…
Cancel
Save