File slang-2.2.2-libpng12-linker-flag.patch of Package slang
diff -urN slang-2.2.2.orig/modules/Makefile.in slang-2.2.2/modules/Makefile.in
--- slang-2.2.2.orig/modules/Makefile.in 2009-12-05 20:03:51.000000000 +0100
+++ slang-2.2.2/modules/Makefile.in 2010-08-14 20:40:22.000000000 +0200
@@ -33,7 +33,7 @@
# If building the PNG module, you may need to set these
#---------------------------------------------------------------------------
PNG_INC = @PNG_INC@
-PNG_LIB = @PNG_LIB@ -lpng
+PNG_LIB = @PNG_LIB@ -lpng12
#---------------------------------------------------------------------------
# If building the ICONV module, you may need to set these
#---------------------------------------------------------------------------