Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/ming/files/
Date: Tue, 10 Jul 2018 16:00:24
Message-Id: 1531238413.c7698aa3c33d5b3523e11f783e3ef63850b1c8c1.polynomial-c@gentoo
1 commit: c7698aa3c33d5b3523e11f783e3ef63850b1c8c1
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 10 15:59:07 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 10 16:00:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7698aa3
7
8 Revert "media-libs/ming: Sync freetype patch with upstream version."
9
10 This reverts commit ee3fb1f4c337ca7ef8a39c53beed512144619c44.
11
12 Closes: https://bugs.gentoo.org/660856
13
14 .../ming/files/ming-0.4.8-freetype_pkgconfig.patch | 38 +++++-----------------
15 1 file changed, 8 insertions(+), 30 deletions(-)
16
17 diff --git a/media-libs/ming/files/ming-0.4.8-freetype_pkgconfig.patch b/media-libs/ming/files/ming-0.4.8-freetype_pkgconfig.patch
18 index 43905fc0ed0..5bddf052122 100644
19 --- a/media-libs/ming/files/ming-0.4.8-freetype_pkgconfig.patch
20 +++ b/media-libs/ming/files/ming-0.4.8-freetype_pkgconfig.patch
21 @@ -1,4 +1,4 @@
22 -From 3d3060a744500702e43c7deaec25c69cbf1ef532 Mon Sep 17 00:00:00 2001
23 +From 0d5b3bc1cc492c10072def017fe704782bc4b274 Mon Sep 17 00:00:00 2001
24 From: Lars Wendler <polynomial-c@g.o>
25 Date: Fri, 4 May 2018 17:40:04 +0200
26 Subject: [PATCH] Use pkg-config to find freetype
27 @@ -6,22 +6,13 @@ Subject: [PATCH] Use pkg-config to find freetype
28 As of freetype-2.9.1 the freetype-config script has been deprecated and
29 is no longer shipped by default.
30 ---
31 - configure.ac | 36 ++++++++++--------------------------
32 - 1 file changed, 10 insertions(+), 26 deletions(-)
33 + configure.in | 30 +++++++-----------------------
34 + 1 file changed, 7 insertions(+), 23 deletions(-)
35
36 -diff --git a/configure.ac b/configure.ac
37 -index 95943a0b..3d9f1874 100644
38 ---- a/configure.ac
39 -+++ b/configure.ac
40 -@@ -247,7 +247,7 @@ AC_CHECK_LIB(X11, XGetImage, XLIB="-lX11", XLIB="")
41 -
42 - AC_ARG_ENABLE(
43 - [freetype],
44 --[ --enable-freetype Enable freetype support (default: enabled)],
45 -+[ --disable-freetype Disable freetype support (default: enabled)],
46 - [case "${enableval}" in
47 - yes) freetype_support=yes ;;
48 - no) freetype_support=no ;;
49 +diff --git a/configure.in b/configure.in
50 +index 361db86c..cb9423f5 100644
51 +--- a/configure.in
52 ++++ b/configure.in
53 @@ -257,26 +257,10 @@ freetype_support=yes)
54
55 if test "$freetype_support" = "yes"; then
56 @@ -66,19 +57,6 @@ index 95943a0b..3d9f1874 100644
57 fi
58
59 AM_CONDITIONAL(GIFLIB_GIFERRORSTRING, test x"$ac_cv_lib_gif_GifErrorString" = xyes)
60 -@@ -504,10 +488,10 @@ else
61 - echo " ZLIB enabled ($ZLIB)"
62 - fi
63 -
64 --if test x"$ft_config" = "x"; then
65 -+if test x"$HAS_FREETYPE" = "x"; then
66 - echo " Freetype library disabled"
67 - else
68 -- echo " Freetype library enabled ($ft_config)"
69 -+ echo " Freetype library enabled ($FREETYPE_LIBS)"
70 - fi
71 -
72 - if test x"$GIFLIB" = "x" -o x"$GIFINC" = "x"; then
73 --
74 -2.18.0
75 +2.17.0