$OpenBSD: patch-src_core_qgsapplication_cpp,v 1.3 2014/11/10 16:05:17 landry Exp $
Fix paths to various doc files, installed in share/doc/qgis
per doc/CMakeLists.txt patch
--- src/core/qgsapplication.cpp.orig	Fri Oct 31 15:17:19 2014
+++ src/core/qgsapplication.cpp	Fri Nov  7 14:32:50 2014
@@ -421,21 +421,21 @@ const QString QgsApplication::themeName()
 */
 const QString QgsApplication::authorsFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/AUTHORS" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/AUTHORS" );
 }
 /*!
   Returns the path to the contributors file.
 */
 const QString QgsApplication::contributorsFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/CONTRIBUTORS" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/CONTRIBUTORS" );
 }
 /*!
   Returns the path to the sponsors file.
 */
 const QString QgsApplication::sponsorsFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/SPONSORS" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/SPONSORS" );
 }
 
 /*!
@@ -443,19 +443,19 @@ const QString QgsApplication::sponsorsFilePath()
 */
 const QString QgsApplication::donorsFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/DONORS" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/DONORS" );
 }
 
 /** Returns the path to the sponsors file. */
 const QString QgsApplication::translatorsFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/TRANSLATORS" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/TRANSLATORS" );
 }
 
 /** Returns the path to the licence file. */
 const QString QgsApplication::licenceFilePath()
 {
-  return ABISYM( mPkgDataPath ) + QString( "/doc/LICENSE" );
+  return ABISYM( mPkgDataPath ) + QString( "/../doc/qgis/LICENSE" );
 }
 
 /*!
