diff options
| author | Paul Gevers <elbrus@debian.org> | 2014-04-18 19:40:52 +0200 |
|---|---|---|
| committer | Paul Gevers <elbrus@debian.org> | 2014-04-18 19:40:52 +0200 |
| commit | 19ceb16320dafdf7394414c0cc9b4c595d95bfef (patch) | |
| tree | 74a73af8f73d5efdcefa30913d0ab81bd0594f1b | |
| parent | 5905738b8280b0849fa67161a2f62de99a62646d (diff) | |
| download | fpc-19ceb16320dafdf7394414c0cc9b4c595d95bfef.tar.gz | |
Update change_path...patch to let dglobals find dglobals-XX.mo
| -rw-r--r-- | debian/patches/change-path-of-localization-files-to-fit-Debian-standar.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/patches/change-path-of-localization-files-to-fit-Debian-standar.patch b/debian/patches/change-path-of-localization-files-to-fit-Debian-standar.patch index 9ce2163c..aa2120f2 100644 --- a/debian/patches/change-path-of-localization-files-to-fit-Debian-standar.patch +++ b/debian/patches/change-path-of-localization-files-to-fit-Debian-standar.patch @@ -15,6 +15,15 @@ diff --git a/fpcsrc/utils/fpdoc/dglobals.pp b/fpcsrc/utils/fpdoc/dglobals.pp {$else} DefDir = 'intl'; {$endif} +@@ -1634,7 +1634,7 @@ + Dir:=DefDir; + Dir:=IncludeTrailingPathDelimiter(Dir); + {$IFDEF Unix} +- mo := TMOFile.Create(Format(Dir+'%s/LC_MESSAGES/dglobals.mo', [Lang])); ++ mo := TMOFile.Create(Format(Dir+'%s/LC_MESSAGES/dglobals-' + {$include %FPCVERSION%} + '.mo', [Lang])); + {$ELSE} + mo := TMOFile.Create(Format(Dir+'dglobals.%s.mo', [Lang])); + {$ENDIF} diff --git a/fpcsrc/utils/fpdoc/fpclasschart.pp b/fpcsrc/utils/fpdoc/fpclasschart.pp --- a/fpcsrc/utils/fpdoc/fpclasschart.pp +++ b/fpcsrc/utils/fpdoc/fpclasschart.pp |
