Patch: AMD x86_64 support fix



Hi,

the following patch fixes compilation on AMD x86-64 (aka hammer).

Can I commit ?
-- 
Frederic Crozat <fcrozat mandrakesoft com>
MandrakeSoft
--- gnome-vfs-2.0.2/modules/extfs/Makefile.am.lib64	2002-03-22 10:25:40.000000000 -0500
+++ gnome-vfs-2.0.2/modules/extfs/Makefile.am	2002-09-27 05:48:16.000000000 -0400
@@ -1,4 +1,4 @@
-extfsdir = $(prefix)/lib/vfs/2.0/extfs
+extfsdir = $(libdir)/vfs/2.0/extfs
 
 extfs_DATA =					\
 	README
--- gnome-vfs-2.0.2/modules/extfs-method.c.lib64	2002-03-22 10:25:39.000000000 -0500
+++ gnome-vfs-2.0.2/modules/extfs-method.c	2002-09-27 05:48:16.000000000 -0400
@@ -52,7 +52,7 @@
 ssize_t getdelim (char **lineptr, size_t *n, int terminator, FILE *stream);
 #endif
 
-#define EXTFS_COMMAND_DIR	PREFIX "/lib/vfs/2.0/extfs"
+#define EXTFS_COMMAND_DIR	LIBDIR "/vfs/2.0/extfs"
 
 /* Our private handle struct.  */
 struct _ExtfsHandle {
--- gnome-vfs-2.0.2/modules/Makefile.am.lib64	2002-09-27 05:48:16.000000000 -0400
+++ gnome-vfs-2.0.2/modules/Makefile.am	2002-09-27 05:48:16.000000000 -0400
@@ -17,6 +17,7 @@ INCLUDES =					\
 	-DG_DISABLE_DEPRECATED			\
 	-DDATADIR=\"$(datadir)\"		\
 	-DPREFIX=\"$(prefix)\"			\
+	-DLIBDIR=\"$(libdir)\"			\
 	-DSYSCONFDIR=\"$(sysconfdir)\"		\
 	-DLOCALSTATEDIR=\"$(localstatedir)\"	\
 	-DG_LOG_DOMAIN=\"gnome-vfs-modules\"	\


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