rpms/qof/devel qof-gnc-date-char.patch,NONE,1.1 qof.spec,1.13,1.14
Toshio Ernie Kuratomi (toshio)
fedora-extras-commits at redhat.com
Sun Apr 30 17:21:05 UTC 2006
Author: toshio
Update of /cvs/extras/rpms/qof/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15653
Modified Files:
qof.spec
Added Files:
qof-gnc-date-char.patch
Log Message:
- Patch to fix a signed/unsigned char problem 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/devel/qof.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- qof.spec 28 Apr 2006 21:45:27 -0000 1.13
+++ qof.spec 30 Apr 2006 17:21:05 -0000 1.14
@@ -1,6 +1,6 @@
Name: qof
Version: 0.6.4
-Release: 1%{?dist}
+Release: 2%{?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,7 +65,8 @@
%prep
%setup -q
%patch0 -p1
-
+%patch1 -p1
+%
%build
%configure --disable-static
make
@@ -114,6 +116,9 @@
%doc html
%changelog
+* 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.
More information about the fedora-extras-commits
mailing list