[libpng15] Disassembled the version number in scripts/options.awk (necessary

for building on SunOs)
This commit is contained in:
Glenn Randers-Pehrson
2012-12-18 09:09:43 -06:00
parent eb4b51674f
commit 5976cbbe6d
3 changed files with 5 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ Version 1.5.14beta03 [December 15, 2012]
Version 1.5.14beta04 [December 18, 2012]
Cleaned up whitespace in the synopsis portion of the manpage "libpng.3"
Disassembled the version number in scripts/options.awk (necessary for
building on SunOs)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@@ -3943,6 +3943,8 @@ Version 1.5.14beta03 [December 15, 2012]
Version 1.5.14beta04 [December 18, 2012]
Cleaned up whitespace in the synopsis portion of the manpage "libpng.3"
Disassembled the version number in scripts/options.awk (necessary for
building on SunOs)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@@ -102,6 +102,7 @@ pre && version == "search" && version_file != FILENAME{
pre && version == "search" && $0 ~ /^ \* libpng version/{
version = substr($0, 4)
gsub(/\./, " PNG_JOIN . PNG_JOIN", version)
print "version =", version >out
next
}