openbsd-ports/graphics/png/patches/patch-scripts_libpng_pc_in
naddy 5966c95102 SECURITY update to 1.5.10.
libpng failed to correctly handle malloc() failure for text chunks,
which can lead to memory corruption and the possibility of execution
of hostile code. (CVE-2011-3048)
2012-03-30 18:58:03 +00:00

17 lines
477 B
Plaintext

$OpenBSD: patch-scripts_libpng_pc_in,v 1.24 2012/03/30 18:58:03 naddy Exp $
--- scripts/libpng.pc.in.orig Thu Mar 29 07:06:56 2012
+++ scripts/libpng.pc.in Fri Mar 30 20:00:16 2012
@@ -1,10 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/libpng15
+includedir=@includedir@
Name: libpng
Description: Loads and saves PNG files
Version: 1.5.10
-Libs: -L${libdir} -lpng15
+Libs: -L${libdir} -lpng -lz -lm
Cflags: -I${includedir}