SHA256
1
0
forked from pool/fontforge
fontforge/fontforge-docdir.patch
Petr Gajdos 8cf3b71501 - fixed linking against libpng (1.5, 1.6) [bnc#867041]
* 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
2014-03-17 08:00:57 +00:00

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)