Author: toshio
Update of /cvs/extras/rpms/qof/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20784
Modified Files:
qof.spec
Added Files:
qof-gnc-date-char.patch
Log Message:
- Patch a signed/unsigned char bug that caused errors on ppc.
qof-gnc-date-char.patch:
--- NEW FILE qof-gnc-date-char.patch ---
--- qof-0.6.4/qof/gnc-date.c.char 2006-04-30 10:08:44.000000000 -0700
+++ qof-0.6.4/qof/gnc-date.c 2006-04-30 10:09:38.000000000 -0700
@@ -1060,7 +1060,7 @@
str +=3;
if ('.' == *str) str++;
- if (isdigit ((unsigned char)*str) && isdigit ((unsigned char)*(str+1)))
+ if (isdigit ((char)*str) && isdigit ((char)*(str+1)))
{
int cyn;
/* copy sign from hour part */
Index: qof.spec
===================================================================
RCS file: /cvs/extras/rpms/qof/FC-5/qof.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- qof.spec 30 Apr 2006 05:03:15 -0000 1.13
+++ qof.spec 30 Apr 2006 20:02:06 -0000 1.14
@@ -1,6 +1,6 @@
Name: qof
Version: 0.6.4
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Query engine library for C objects
Group: System Environment/Libraries
@@ -8,6 +8,7 @@
URL:
http://qof.sf.net
Source0:
http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: qof-x86_64.patch
+Patch1: qof-gnc-date-char.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel
@@ -64,6 +65,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%configure --disable-static
@@ -114,6 +116,12 @@
%doc html
%changelog
+* Sun Apr 30 2006 Toshio Kuratomi <toshio-tiki-lounge.com> - 0.6.4-3
+- Fix stupid in a hurry typo.
+
+* Sun Apr 30 2006 Toshio Kuratomi <toshio-tiki-lounge.com> - 0.6.4-2
+- Patch to fix a signed/unsigned char problem on ppc.
+
* Mon Apr 17 2006 Toshio Kuratomi <toshio-tiki-lounge.com> - 0.6.4-1
- Update to qof 0.6.4.
- Patch a small compile problem in building tests on x86_64.