[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/amaya/FC-4 amaya-9.1-64bits.patch, NONE, 1.1 amaya.spec, 1.12, 1.13



Author: abompard

Update of /cvs/extras/rpms/amaya/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv660/FC-4

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/FC-4/amaya.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- amaya.spec	12 Jun 2005 07:58:36 -0000	1.12
+++ amaya.spec	12 Jun 2005 11:57:12 -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]