diff options
author | grant <grant@pkgsrc.org> | 2003-06-19 00:50:50 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-06-19 00:50:50 +0000 |
commit | df4c081ae15beb5179da2ce9bc248b091dfb89c5 (patch) | |
tree | 3066d0763448c28375883ede56feb2e929e59720 /devel | |
parent | d5ee483b5b24b6586228d0a486672848ca55a3d5 (diff) | |
download | pkgsrc-df4c081ae15beb5179da2ce9bc248b091dfb89c5.tar.gz |
Create new file from rev 1.3 (requested by salo in ticket #1291):
Darwin has no static libz, mark it incompatible.
mark Linux zlib as incompatible to avoid using base zlib which can
cause problems with pkgsrc libtool, eg.
libtool: link: AGE `4' is greater than the current interface number `1'
libtool: link: `1:1:4' is not valid version information
libtool: install: `libz.la' is not a valid libtool archive
Added fix for CAN-2003-0107 -
Buffer overflow in the gzprintf function in zlib 1.1.4, when zlib is compiled
without vsnprintf or when long inputs are truncated using vsnprintf, allows
attackers to cause a denial of service or possibly execute arbitrary code.
From OpenBSD.
Restore configure target and add check for [v]snprintf.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/zlib/patches/patch-aa | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/zlib/patches/patch-aa b/devel/zlib/patches/patch-aa new file mode 100644 index 00000000000..19cb912e31c --- /dev/null +++ b/devel/zlib/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.3.2.2 2003/06/19 00:50:50 grant Exp $ + +--- lt.mk.orig 2003-03-05 04:17:05.000000000 +0100 ++++ lt.mk 2003-03-05 04:18:44.000000000 +0100 +@@ -10,6 +10,7 @@ + zutil.c + + CPPFLAGS+= -I${.CURDIR} ++CFLAGS= + + CLEANFILES+= minigzip + +@@ -34,7 +35,7 @@ + + .SUFFIXES: .lo .c + .c.lo: +- ${LIBTOOL} ${CC} -c $*.c ++ ${LIBTOOL} ${CC} ${CFLAGS} -c $*.c + lib${LIB}.la: ${SRCS:.c=.lo} + ${LIBTOOL} ${CC} -o lib${LIB}.la ${SRCS:.c=.lo} \ + -rpath ${LIBDIR} \ |