diff options
author | mazen.neifer <mazen.neifer@b4165226-8c1b-0410-80e1-07324e54c907> | 2008-12-20 09:13:24 +0000 |
---|---|---|
committer | mazen.neifer <mazen.neifer@b4165226-8c1b-0410-80e1-07324e54c907> | 2008-12-20 09:13:24 +0000 |
commit | d330c71f97807b240372cec54f1f40280cbd9765 (patch) | |
tree | 46d191dc16aabd90508114506bd27d4b248f866f /debian/patches | |
parent | 03505f74354b5b7bb5a82c5e0ddcac610ad7989c (diff) | |
download | fpc-d330c71f97807b240372cec54f1f40280cbd9765.tar.gz |
* Added required file which was missing last commits.
git-svn-id: https://bollin.googlecode.com/svn/fpc/trunk@3756 b4165226-8c1b-0410-80e1-07324e54c907
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/version.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/version.diff b/debian/patches/version.diff new file mode 100644 index 00000000..36aad16c --- /dev/null +++ b/debian/patches/version.diff @@ -0,0 +1,29 @@ +Adds Debian build version to compiler full version. + +Index: fpcsrc/compiler/version.pas +=================================================================== +--- fpc-2.2.2.orig/fpcsrc/compiler/version.pas ++++ fpc-2.2.2/fpcsrc/compiler/version.pas +@@ -78,6 +78,9 @@ + + implementation + ++const ++ FullVersionString={$INCLUDE version.inc}; ++ + function version_string:string; + begin + version_string := version_nr+'.'+release_nr+'.'+patch_nr; +@@ -86,11 +89,7 @@ + + function full_version_string:string; + begin +- full_version_string := version_nr+'.'+release_nr+'.'+patch_nr+minorpatch +-{$ifdef REVINC} +- +'-r'+{$i revision.inc} +-{$endif REVINC} +- ; ++ full_version_string := FullVersionString; + end; + + end. |