From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1257) From: Jeff Sickel In-Reply-To: Date: Tue, 7 Feb 2012 15:40:41 -0600 Content-Transfer-Encoding: 7bit Message-Id: <045A0453-38EA-4BE1-8F93-FAAB8CDCCAA7@corpus-callosum.com> References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: [9fans] new zlib (1.2.6) support &| build Topicbox-Message-UUID: 62abee6e-ead7-11e9-9d60-3106f5b1d025 While hitting some ape pcc errors while building my arm tree, I realized that zlib was quite a bit out of date. The latest zlib-1.2.6 can be pulled down and installed in /sys/src/cmd/gs/zlib You'll need to remove gzio.c if you didn't do a complete replace, and then modify the following: term% pwd /sys/src/ape/lib/z term% diffy * diff /n/dump/2012/0207/sys/src/ape/lib/z/mkfile ./mkfile 11c11,14 < gzio.$O\ --- > gzclose.$O\ > gzlib.$O\ > gzread.$O\ > gzwrite.$O\ 39c42 < CFLAGS=-c --- > CFLAGS=-c -D_POSIX_SOURCE -D_C99_SNPRINTF_EXTENSION diff /n/dump/2012/0207/sys/src/ape/lib/z/z.proto ./z.proto 5a6,9 > arm - sys sys > lib - sys sys > ape - sys sys > libz.a - sys sys libz.a is a dependency for quite a few other components, so I'll post something new after more testing. -jas