[yaz] add upstream fix for platforms where the char type is unsigned by default
Dan Horák
sharkcz at fedoraproject.org
Tue Apr 30 09:28:45 UTC 2013
commit 004bc2b0dab317066dd9b6128aa7cf9e2aada1d7
Author: Dan Horák <dan at danny.cz>
Date: Tue Apr 30 11:28:40 2013 +0200
add upstream fix for platforms where the char type is unsigned by default
yaz-656.patch | 13 +++++++++++++
yaz.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/yaz-656.patch b/yaz-656.patch
new file mode 100644
index 0000000..7a250a0
--- /dev/null
+++ b/yaz-656.patch
@@ -0,0 +1,13 @@
+diff --git a/src/base64.c b/src/base64.c
+index cf6d63a..a8eb203 100644
+--- a/src/base64.c
++++ b/src/base64.c
+@@ -85,7 +85,7 @@ int yaz_base64decode(const char *in, char *out)
+
+ while (len >= 4)
+ {
+- char i0, i1, i2, i3;
++ int i0, i1, i2, i3;
+
+ i0 = next_char(&in, &len);
+ if (i0 < 0)
diff --git a/yaz.spec b/yaz.spec
index 7b3a410..53db821 100644
--- a/yaz.spec
+++ b/yaz.spec
@@ -1,12 +1,13 @@
Name: yaz
Version: 4.2.56
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Z39.50/SRW/SRU toolkit
Group: Applications/Internet
License: BSD
URL: http://www.indexdata.dk/yaz/
Source0: http://ftp.indexdata.dk/pub/yaz/yaz-%{version}.tar.gz
+Patch0: %{name}-656.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel, openssl-devel, readline-devel, libtool, bison
@@ -63,6 +64,7 @@ server and client.
%prep
%setup -q
+%patch0 -p1 -b .char
sh buildconf.sh
autoreconf -fiv
@@ -142,6 +144,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Apr 30 2013 Dan Horák <dan[at]danny.cz> 4.2.56-2
+- add upstream fix for platforms where the char type is unsigned by default
+
* Mon Apr 29 2013 Peter Robinson <pbrobinson at fedoraproject.org> 4.2.56-1
- Update to 4.2.56
More information about the scm-commits
mailing list