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

57 lines
2.3 KiB
Diff
Raw Normal View History

Index: freetype-2.9.1/builds/unix/configure
===================================================================
--- freetype-2.9.1.orig/builds/unix/configure
+++ freetype-2.9.1/builds/unix/configure
@@ -14704,7 +14704,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" \
@@ -14718,7 +14717,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
- $libpng_libspriv \
$harfbuzz_libspriv \
$ft2_extra_libs"
# beautify
@@ -14730,7 +14728,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
Index: freetype-2.9.1/builds/unix/configure.raw
===================================================================
--- freetype-2.9.1.orig/builds/unix/configure.raw
+++ freetype-2.9.1/builds/unix/configure.raw
@@ -960,7 +960,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" \
@@ -974,7 +973,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
- $libpng_libspriv \
$harfbuzz_libspriv \
$ft2_extra_libs"
# beautify
@@ -986,7 +984,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