SHA256
1
0
forked from pool/freetype2
freetype2/don-t-mark-libpng-as-required-library.patch

65 lines
2.4 KiB
Diff

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
---
diff --git a/builds/unix/configure b/builds/unix/configure
index 4ae00dd..c3101e2 100755
--- a/builds/unix/configure
+++ b/builds/unix/configure
@@ -13691,7 +13691,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" \
@@ -13705,7 +13704,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libpriv \
$bzip2_libpriv \
- $libpng_libpriv \
$harfbuzz_libpriv \
$ft2_extra_libs"
# beautify
@@ -13717,7 +13715,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
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index dd7e576..bac2645 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -914,7 +914,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" \
@@ -928,7 +927,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libpriv \
$bzip2_libpriv \
- $libpng_libpriv \
$harfbuzz_libpriv \
$ft2_extra_libs"
# beautify
@@ -940,7 +938,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