On Monday 10 July 2006 20:06, Tom Callaway wrote: > Author: spot > > Update of /cvs/extras/rpms/gambas/devel > In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5832/devel > > Modified Files: > gambas.spec > Added Files: > gambas-1.0.16-64bit.patch > Log Message: > > Fix the 64 bit architectures. > > > gambas-1.0.16-64bit.patch: > > --- NEW FILE gambas-1.0.16-64bit.patch --- > --- gambas-1.0.16/src/comp/gbi.c.BAD 2006-07-10 13:43:34.000000000 -0500 > +++ gambas-1.0.16/src/comp/gbi.c 2006-07-10 13:48:55.000000000 -0500 > @@ -115,7 +115,11 @@ > strncpy(_root, FILE_get_dir(FILE_get_dir(path)), MAX_PATH); > } > > +#if defined(_X86_64_) || defined(_IA64_) || defined(_PPC64_) || > defined(_SPARC64_) + strcpy(_lib_path, FILE_cat(_root, "lib64/gambas", > NULL)); > +#else > strcpy(_lib_path, FILE_cat(_root, "lib/gambas", NULL)); > +#endif > strcpy(_info_path, FILE_cat(_root, "share/gambas/info", NULL)); > > if (lt_dlinit()) > --- gambas-1.0.16/src/exec/gbx_project.c.BAD 2006-07-10 13:59:40.000000000 > -0500 +++ gambas-1.0.16/src/exec/gbx_project.c 2006-07-10 > 14:00:11.000000000 -0500 @@ -254,7 +254,11 @@ > > STRING_new(&PROJECT_exec_path, FILE_get_dir(FILE_get_dir(path)), -1); > > +#if defined(_X86_64_) || defined(_IA64_) || defined(_PPC64_) || > defined(_SPARC64_) + STRING_new(&PROJECT_lib_path, > FILE_cat(PROJECT_exec_path, "lib64/gambas", NULL), 0); +#else > STRING_new(&PROJECT_lib_path, FILE_cat(PROJECT_exec_path, "lib/gambas", > NULL), 0); +#endif > > /* fichier projet */ IIRC from reading this list (packagers or maintainer?), %{_libdir} for IA64 is /usr/lib and not /usr/lib64. (Or else I dreamed with this. :-) -- José Abílio -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list