Codebase list libsdl-sge / c9641f0
d/patches: add fix-ftbfs-892448.patch (Closes: #892448) Use pkg-config instead of freetype-config, deprecated and about to be removed. Manuel A. Fernandez Montecelo 5 years ago
3 changed file(s) with 25 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
77 * Set "Rules-Requires-Root: no" in d/control
88 * d/copyright: use https in format URL
99 * d/watch: Switch to version=4
10 * d/patches:
11 - add fix-ftbfs-892448.patch: use pkg-config instead of freetype-config,
12 deprecated and about to be removed (Closes: #892448)
1013
1114 -- Manuel A. Fernandez Montecelo <mafm@debian.org> Tue, 27 Jun 2017 22:04:26 +0200
1215
0 --- a/Makefile.conf
1 +++ b/Makefile.conf
2 @@ -36,15 +36,15 @@
3
4
5 # Is freetype-config available?
6 -HAVE_FT =$(shell if (freetype-config --version) < /dev/null > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
7 +HAVE_FT =$(shell if (pkg-config --modversion freetype2) < /dev/null > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
8 ifeq ($(HAVE_FT),n)
9 USE_FT = n
10 endif
11
12 ifneq ($(USE_FT),n)
13 USE_FT = y
14 - SGE_LIBS +=$(shell freetype-config --libs)
15 - FT_CFLAGS =$(shell freetype-config --cflags)
16 + SGE_LIBS +=$(shell pkg-config freetype2 --libs)
17 + FT_CFLAGS =$(shell pkg-config freetype2 --cflags)
18 endif
19
20
0 fix-ftbfs-892448.patch
01 001_makefile_fixes.diff
12 004_legacy_functions.diff
23 005_freetype_support.diff