From b940e5dc5d0f98ded0847e82b6eb69e6dfad5b5a Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 17 Dec 2012 23:36:08 -0600 Subject: [PATCH] [libpng17] Disassembled the version number in scripts/options.awk (necessary for building on SunOs) --- ANNOUNCE | 2 ++ CHANGES | 2 ++ scripts/options.awk | 1 + 3 files changed, 5 insertions(+) diff --git a/ANNOUNCE b/ANNOUNCE index 183c8e7c5..a826177ec 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -87,6 +87,8 @@ Version 1.7.0alpha03 [December 18, 2012] png_fixed and the gamma code specific version of the same to avoid floor(), which may be a library function (not an intrinsic). Removed unused #if 0 code. + 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 diff --git a/CHANGES b/CHANGES index 8ec03dfe3..409d657a5 100644 --- a/CHANGES +++ b/CHANGES @@ -4372,6 +4372,8 @@ Version 1.7.0alpha03 [December 18, 2012] png_fixed and the gamma code specific version of the same to avoid floor(), which may be a library function (not an intrinsic). Removed unused #if 0 code. + 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 diff --git a/scripts/options.awk b/scripts/options.awk index f5d7729f7..cb8cd1845 100755 --- a/scripts/options.awk +++ b/scripts/options.awk @@ -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 }