File fontforge-docdir.patch of Package fontforge

Index: fontforge-20110222/fontforge/uiutil.c
===================================================================
--- fontforge-20110222.orig/fontforge/uiutil.c
+++ fontforge-20110222/fontforge/uiutil.c
@@ -315,6 +315,7 @@ return;
 	fullspec[0] = 0;
 	if ( ! GFileIsAbsolute(file) ) {
 	    if ( helpdir==NULL || *helpdir=='\0' ) {
+#define DOCDIR "/usr/share/doc/packages/fontforge/docs"
 #ifdef DOCDIR
 		strcpy(fullspec,DOCDIR "/");
 #elif defined(SHAREDIR)
openSUSE Build Service is sponsored by