patch-src_vikmapniklayer_c 719 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_vikmapniklayer_c,v 1.1 2015/09/18 20:09:26 landry Exp $
  2. --- src/vikmapniklayer.c.orig Sun Mar 29 12:59:47 2015
  3. +++ src/vikmapniklayer.c Fri Sep 18 20:17:07 2015
  4. @@ -235,7 +235,7 @@ static VikLayerParamData plugins_default ( void )
  5. // Current Debian location
  6. data.s = g_strdup ( "/usr/lib/mapnik/2.2/input" );
  7. else
  8. - data.s = g_strdup ( "" );
  9. + data.s = g_strdup ( "${LOCALBASE}/lib/mapnik/input" );
  10. #endif
  11. return data;
  12. }
  13. @@ -249,7 +249,7 @@ static VikLayerParamData fonts_default ( void )
  14. #elif defined __APPLE__
  15. data.s = g_strdup ( "/Library/Fonts" );
  16. #else
  17. - data.s = g_strdup ( "/usr/share/fonts" );
  18. + data.s = g_strdup ( "${LOCALBASE}/share/fonts" );
  19. #endif
  20. return data;
  21. }