Resolves: rhbz#1070691 test failing on big endians

f41
David Tardon 11 years ago
parent 2654cb200d
commit e846439c5f

@ -0,0 +1,25 @@
From 433fad370ddd30c43df281b40ff468a842bc1c70 Mon Sep 17 00:00:00 2001
From: Adam Conrad <adconrad@ubuntu.com>
Date: Thu, 6 Feb 2014 09:13:32 +0100
Subject: [PATCH] Fix int/bool confusion on big-endian architectures.
---
qa/libcmis-c/test-document.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qa/libcmis-c/test-document.cxx b/qa/libcmis-c/test-document.cxx
index ccf2224..eb2c01c 100644
--- a/qa/libcmis-c/test-document.cxx
+++ b/qa/libcmis-c/test-document.cxx
@@ -43,7 +43,7 @@
using namespace std;
-extern int isOutOfMemory;
+extern bool isOutOfMemory;
namespace
{
--
1.8.5.3

@ -2,7 +2,7 @@
Name: libcmis Name: libcmis
Version: 0.4.1 Version: 0.4.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: A C++ client library for CM interfaces Summary: A C++ client library for CM interfaces
Group: System Environment/Libraries Group: System Environment/Libraries
@ -16,6 +16,8 @@ BuildRequires: libcurl-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: xmlto BuildRequires: xmlto
Patch0: 0001-Fix-int-bool-confusion-on-big-endian-architectures.patch
%description %description
LibCMIS is a C++ client library for working with CM (content management) LibCMIS is a C++ client library for working with CM (content management)
interfaces. The primary supported interface (which gave the library its interfaces. The primary supported interface (which gave the library its
@ -42,7 +44,7 @@ The %{name}-tools package contains a tool for accessing CMIS from the
command line. command line.
%prep %prep
%autosetup %autosetup -p1
%build %build
%configure --disable-silent-rules --disable-static --disable-werror \ %configure --disable-silent-rules --disable-static --disable-werror \
@ -88,6 +90,9 @@ make check
%{_mandir}/man1/cmis-client.1* %{_mandir}/man1/cmis-client.1*
%changelog %changelog
* Fri Feb 28 2014 David Tardon <dtardon@redhat.com> - 0.4.1-3
- Resolves: rhbz#1070691 test failing on big endians
* Thu Nov 21 2013 David Tardon <dtardon@redhat.com> - 0.4.1-2 * Thu Nov 21 2013 David Tardon <dtardon@redhat.com> - 0.4.1-2
- disable tests on arm - disable tests on arm

Loading…
Cancel
Save