Description: Changes to get the '--version' option working properly, see
 usptream commit:
 508a67a69eafd07a2e1ce9020983e7113b91d919 "Fix the --version option"
 With this patch we get the hash of the latest commit according to upstream
 ChangeLog.
Forwarded: no
Author: José Manuel Santamaría Lema <panfaust@gmail.com>
--- a/src/src.pro
+++ b/src/src.pro
@@ -6,7 +6,7 @@
 APR_INCLUDE = /usr/include/apr-1.0 /usr/include/apr-1 /usr/local/include/apr-1
 exists(local-config.pri):include(local-config.pri)
 
-VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
+VERSION = $$system(cat ../ChangeLog | head -1 | cut -f 2 --delimiter=\' \')
     !isEmpty(VERSION){
       VERSION = $${VERSION}
     }
