$OpenBSD: patch-src_Makefile_in,v 1.4 2010/03/25 10:32:53 giovanni Exp $
--- src/Makefile.in.orig	Sun Feb  7 04:42:28 2010
+++ src/Makefile.in	Wed Mar 24 08:56:19 2010
@@ -557,7 +557,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@
