$OpenBSD: patch-src_Makefile_in,v 1.3 2008/01/20 15:19:31 ajacoutot Exp $
--- src/Makefile.in.orig	Mon Nov 12 19:14:09 2007
+++ src/Makefile.in	Thu Jan 17 09:00:41 2008
@@ -503,7 +503,7 @@ PISYNC_CURRENT = @PISYNC_CURRENT@
 PISYNC_REVISION = @PISYNC_REVISION@
 PKG_CONFIG = @PKG_CONFIG@
 PNG_CFLAGS = @PNG_CFLAGS@
-PNG_LIBS = @PNG_LIBS@
+PNG_LIBS = @PNG_LIBS@ -lz -lm
 POPT_INCLUDES = @POPT_INCLUDES@
 POPT_LIBS = @POPT_LIBS@
 PTHREAD_CC = @PTHREAD_CC@
