rpms/amaya/devel amaya-9.1-64bits.patch, NONE, 1.1 amaya.spec, 1.12, 1.13
Aurelien Bompard (abompard)
fedora-extras-commits at redhat.com
Sun Jun 12 11:57:15 UTC 2005
Author: abompard
Update of /cvs/extras/rpms/amaya/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv660/devel
Modified Files:
amaya.spec
Added Files:
amaya-9.1-64bits.patch
Log Message:
- add patch for pointer/int problem on x86_64
amaya-9.1-64bits.patch:
--- NEW FILE amaya-9.1-64bits.patch ---
--- .Amaya//thotlib/base/fileaccess.c.64bits 2005-06-12 11:27:39.000000000 +0200
+++ ./Amaya/thotlib/base/fileaccess.c 2005-06-12 11:29:27.000000000 +0200
@@ -684,7 +684,7 @@
while (ptr != NULL);
/* the length of the directory part */
- i = ((int) (oldptr) - (int) (text)) / sizeof (char);
+ i = ((long) (oldptr) - (long) (text)) / sizeof (char);
if (i > 1)
{
strncpy (aDirectory, text, i);
Index: amaya.spec
===================================================================
RCS file: /cvs/extras/rpms/amaya/devel/amaya.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- amaya.spec 12 Jun 2005 08:00:46 -0000 1.12
+++ amaya.spec 12 Jun 2005 11:57:13 -0000 1.13
@@ -7,6 +7,7 @@
Source0: http://www.w3.org/Amaya/Distribution/amaya-fullsrc-9.1.tgz
Source1: amaya.png
Patch0: amaya-9.1-configure.diff
+Patch1: amaya-9.1-64bits.patch
License: W3C Software License
Url: http://www.w3.org/Amaya
@@ -29,6 +30,7 @@
%prep
%setup -q -c
%patch0 -p0
+%patch1 -p0
%build
mkdir -p Amaya/gtk-build
More information about the scm-commits
mailing list