forked from pool/fontforge
Petr Gajdos
8cf3b71501
* added fontforge-libpng.diff * removed libpng14-dynamic.diff - spec file cleanup * call spec-cleaner * fontforge-20090622-fdleak.patch renamed to fontforge-fdleak.patch * docdir.patch renamed to fontforge-docdir.patch OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=34
13 lines
460 B
Diff
13 lines
460 B
Diff
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)
|