File don-t-mark-libpng-as-required-library.patch of Package freetype2

From cef195062aa7f509a60b8765661ba4babd85b79c Mon Sep 17 00:00:00 2001
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Sun, 9 Mar 2014 20:09:12 +0100
Subject: [PATCH 1/1] Don't mark libpng as required library

It is private in .pc anyway
---

Index: freetype-2.6/builds/unix/configure
===================================================================
--- freetype-2.6.orig/builds/unix/configure
+++ freetype-2.6/builds/unix/configure
@@ -14087,7 +14087,6 @@ esac
 # entries in Requires.private are separated by commas;
 REQUIRES_PRIVATE="$zlib_reqpriv,     \
                   $bzip2_reqpriv,    \
-                  $libpng_reqpriv,   \
                   $harfbuzz_reqpriv"
 # beautify
 REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
@@ -14101,7 +14100,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
 
 LIBS_PRIVATE="$zlib_libpriv     \
               $bzip2_libpriv    \
-              $libpng_libpriv   \
               $harfbuzz_libpriv \
               $ft2_extra_libs"
 # beautify
@@ -14113,7 +14111,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE"  \
 LIBSSTATIC_CONFIG="-lfreetype              \
                    $zlib_libstaticconf     \
                    $bzip2_libstaticconf    \
-                   $libpng_libstaticconf   \
                    $harfbuzz_libstaticconf \
                    $ft2_extra_libs"
 # remove -L/usr/lib and -L/usr/lib64 since `freetype-config' adds them later
Index: freetype-2.6/builds/unix/configure.raw
===================================================================
--- freetype-2.6.orig/builds/unix/configure.raw
+++ freetype-2.6/builds/unix/configure.raw
@@ -909,7 +909,6 @@ esac
 # entries in Requires.private are separated by commas;
 REQUIRES_PRIVATE="$zlib_reqpriv,     \
                   $bzip2_reqpriv,    \
-                  $libpng_reqpriv,   \
                   $harfbuzz_reqpriv"
 # beautify
 REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
@@ -923,7 +922,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
 
 LIBS_PRIVATE="$zlib_libspriv     \
               $bzip2_libspriv    \
-              $libpng_libspriv   \
               $harfbuzz_libspriv \
               $ft2_extra_libs"
 # beautify
@@ -935,7 +933,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE"  \
 LIBSSTATIC_CONFIG="-lfreetype               \
                    $zlib_libsstaticconf     \
                    $bzip2_libsstaticconf    \
-                   $libpng_libsstaticconf   \
                    $harfbuzz_libsstaticconf \
                    $ft2_extra_libs"
 # remove -L/usr/lib and -L/usr/lib64 since `freetype-config' adds them later