diff options
Diffstat (limited to 'app-office/openoffice-ximian/files/1.1.5/getcompver.awk.patch')
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.5/getcompver.awk.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/openoffice-ximian/files/1.1.5/getcompver.awk.patch b/app-office/openoffice-ximian/files/1.1.5/getcompver.awk.patch new file mode 100644 index 000000000000..0fbeb07ee3d6 --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.5/getcompver.awk.patch @@ -0,0 +1,14 @@ +--- solenv/bin/getcompver.awk.orig 2005-02-22 00:24:46.976743123 +0100 ++++ solenv/bin/getcompver.awk 2005-02-22 00:34:16.624045985 +0100 +@@ -98,6 +98,11 @@ + CCversion = $0 + } + } ++/^[0-9]*[.][0-9]*[.][0-9]*-[0-9]*$/ { ++ if ( compiler_matched == 0 ) { ++ CCversion = substr($0, 0, index($0, "-") - 1) ++ } ++} + END { + if ( num == "true" ) { + tokencount = split (CCversion,vertoken,".") |