Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > df744ce474d2056677a3b197df125026 > files > 2

antiword-0.37-4mdv2009.0.src.rpm

--- antiword-0.36/options.c.orig	2004-11-17 16:08:41.091215175 +0100
+++ antiword-0.36/options.c	2004-11-17 16:09:23.275004352 +0100
@@ -216,7 +216,7 @@
 	}
 
 	/* Try the local version of the mapping file */
-	szHome = szGetHomeDirectory();
+	szHome = PKGBASEDIR_SUBSTITUTE_FROM_SPECFILE;
 	if (strlen(szHome) + tFilenameLen <
 	    sizeof(szMappingFile) -
 	    sizeof(ANTIWORD_DIR) -
--- antiword-0.36/antiword.h.orig	2004-11-17 16:09:31.261153727 +0100
+++ antiword-0.36/antiword.h	2004-11-17 16:10:50.545636189 +0100
@@ -217,8 +217,8 @@
 #define ANTIWORD_DIR		"lib/antiword"
 #define FONTNAMES_FILE		"fontnames"
 #else	/* All others */
-#define GLOBAL_ANTIWORD_DIR	"/usr/share/antiword"
-#define ANTIWORD_DIR		".antiword"
+#define GLOBAL_ANTIWORD_DIR	"/usr/lib"
+#define ANTIWORD_DIR		"antiword"
 #define FONTNAMES_FILE		"fontnames"
 #endif /* __dos */
 /* The names of grouped mapping files */