[libpng16] Revised scripts/dfn.awk to work with the buggy MSYS awk that has

trouble with CRLF line endings.
This commit is contained in:
John Bowler 2013-02-27 13:36:08 -06:00 committed by Glenn Randers-Pehrson
parent 2621be1bdb
commit ccec786ca7
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.6.1beta04 - February 23, 2013 Libpng 1.6.1beta04 - February 27, 2013
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -58,9 +58,11 @@ Version 1.6.1beta03 [February 22, 2013]
for it on then the build will fail if it can't be done.) for it on then the build will fail if it can't be done.)
Updated the INSTALL document. Updated the INSTALL document.
Version 1.6.1beta04 [February 23, 2013] Version 1.6.1beta04 [February 27, 2013]
Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES. Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC. Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC.
Revised scripts/dfn.awk to work with the buggy MSYS awk that has trouble
with CRLF line endings.
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

@ -4415,9 +4415,11 @@ Version 1.6.1beta03 [February 22, 2013]
for it on then the build will fail if it can't be done.) for it on then the build will fail if it can't be done.)
Updated the INSTALL document. Updated the INSTALL document.
Version 1.6.1beta04 [February 23, 2013] Version 1.6.1beta04 [February 27, 2013]
Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES. Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC. Revised scripts/makefile.freebsd to respect ZLIBDIR and ZLIBINC.
Revised scripts/dfn.awk to work with the buggy MSYS awk that has trouble
with CRLF line endings.
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

@ -31,11 +31,11 @@ NR==1 && out == "/dev/null" {
# Output can be sorted; two lines are recognized # Output can be sorted; two lines are recognized
$1 == "PNG_DFN_START_SORT"{ $1 == "PNG_DFN_START_SORT"{
sort=$2 sort=0+$2
next next
} }
$1 == "PNG_DFN_END_SORT"{ $1 ~ /^PNG_DFN_END_SORT/{
# Do a very simple, slow, sort; notice that blank lines won't be # Do a very simple, slow, sort; notice that blank lines won't be
# output by this # output by this
for (entry in array) { for (entry in array) {