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

for building on SunOs)
This commit is contained in:
Glenn Randers-Pehrson 2012-12-18 08:44:26 -06:00
parent 5d9dc4563f
commit 7bde6e23bb
3 changed files with 5 additions and 0 deletions

View File

@ -566,6 +566,8 @@ Version 1.6.0beta33 [December 15, 2012]
Version 1.6.0beta34 [December 18, 2012] Version 1.6.0beta34 [December 18, 2012]
Cleaned up whitespace in the synopsis portion of the manpage "libpng.3" 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 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -4318,6 +4318,8 @@ Version 1.6.0beta33 [December 15, 2012]
Version 1.6.0beta34 [December 18, 2012] Version 1.6.0beta34 [December 18, 2012]
Cleaned up whitespace in the synopsis portion of the manpage "libpng.3" 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 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

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