diff --git a/02-PROTON-202-Assigns-a-default-value-to-scanned-in-cod.patch b/02-PROTON-202-Assigns-a-default-value-to-scanned-in-cod.patch new file mode 100644 index 0000000..3acb504 --- /dev/null +++ b/02-PROTON-202-Assigns-a-default-value-to-scanned-in-cod.patch @@ -0,0 +1,31 @@ +From d586bcc02c7b2a2d2ef073075b945540e231a76b Mon Sep 17 00:00:00 2001 +From: mcpierce +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 + +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 + diff --git a/qpid-proton.spec b/qpid-proton.spec index e2b7f1f..929cac8 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -2,7 +2,7 @@ Name: qpid-proton Version: 0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A high performance, lightweight messaging library License: ASL 2.0 @@ -21,6 +21,7 @@ BuildRequires: epydoc # BZ#901526 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 @@ -84,6 +85,7 @@ Summary: Documentation for the Python language bindings for Qpid Proton %setup -q -n qpid-proton-c-%{version} %patch1 -p2 +%patch2 -p2 %build @@ -123,6 +125,10 @@ rm -rf %{buildroot}%{_sysconfdir}/php.d %changelog +* Mon Jan 28 2013 Darryl L. Pierce - 0.3-3 +- Fixes build failure on non-x86 platforms. +- Resolves: BZ#901526 + * Fri Jan 25 2013 Darryl L. Pierce - 0.3-2 - Fixes build failure on non-x86 platforms. - Resolves: BZ#901526