File slang-libpng12-linker-flag.patch of Package slang
Index: slang-2.2.4/modules/Makefile.in
===================================================================
--- slang-2.2.4.orig/modules/Makefile.in
+++ slang-2.2.4/modules/Makefile.in
@@ -35,7 +35,7 @@ PCRE_LIB = @PCRE_LIB@ -lpcre
# 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
#---------------------------------------------------------------------------