patch-common_gestfich_cpp 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. $OpenBSD: patch-common_gestfich_cpp,v 1.3 2011/05/03 18:31:14 jasper Exp $
  2. --- common/gestfich.cpp.orig Sat Aug 21 11:43:24 2010
  3. +++ common/gestfich.cpp Sat Aug 21 11:44:44 2010
  4. @@ -63,7 +63,7 @@ static wxString s_HelpPathList[] = {
  5. #else
  6. wxT( "/usr/share/doc/kicad/help/" ),
  7. wxT( "/usr/local/share/doc/kicad/help/" ),
  8. - wxT( "/usr/local/kicad/doc/help/" ), // default install for "universal
  9. + wxT( "${LOCALBASE}/share/kicad/help/" ), // default install for "universal
  10. // tarballs" and build for a server
  11. // (new)
  12. wxT( "/usr/local/kicad/help/" ), // default install for "universal
  13. @@ -86,7 +86,7 @@ static wxString s_KicadDataPathList[] = {
  14. wxT( "c:/Program Files/kicad/" ),
  15. wxT( "d:/Program Files/kicad/" ),
  16. #else
  17. - wxT( "/usr/share/kicad/" ),
  18. + wxT( "{LOCALBASE}/share/kicad/" ),
  19. wxT( "/usr/local/share/kicad/" ),
  20. wxT( "/usr/local/kicad/share/" ), // default data path for "universal
  21. // tarballs" and build for a server
  22. @@ -106,7 +106,7 @@ static wxString s_KicadBinaryPathList[] = {
  23. wxT( "c:/Program Files/kicad/bin/" ),
  24. wxT( "d:/Program Files/kicad/bin/" ),
  25. #else
  26. - wxT( "/usr/bin/" ),
  27. + wxT( "{LOCALBASE}/bin/" ),
  28. wxT( "/usr/local/bin/" ),
  29. wxT( "/usr/local/kicad/bin/" ),
  30. #endif