openbsd-ports/graphics/png/patches/patch-scripts_libpng_pc_in
naddy 8f78fb5099 SECURITY update to 1.2.18:
Fix a NULL pointer dereference vulnerability involving palette
images with a malformed tRNS chunk (CVE-2007-2445).
ok steven@
2007-05-16 19:46:59 +00:00

17 lines
476 B
Plaintext

$OpenBSD: patch-scripts_libpng_pc_in,v 1.8 2007/05/16 19:47:00 naddy Exp $
--- scripts/libpng.pc.in.orig Wed May 16 17:07:18 2007
+++ scripts/libpng.pc.in Wed May 16 17:07:37 2007
@@ -1,10 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/libpng12
+includedir=@includedir@
Name: libpng
Description: Loads and saves PNG files
Version: 1.2.18
-Libs: -L${libdir} -lpng12
+Libs: -L${libdir} -lpng -lz -lm
Cflags: -I${includedir}