Source: vdr-plugin-skinenigmang
Version: 0.1.2+git20180128-2
Severity: serious
Tags: ftbfs patch

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/vdr-plugin-skinenigmang.html

...
In file included from config.h:20,
                 from skinenigmang.c:9:
font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
 #include FT_FREETYPE_H
          ^~~~~~~~~~~~~


Fix attached.
Description: freetype-config was removed in Debian, switch to pkg-config
Author: Adrian Bunk <b...@debian.org>

--- vdr-plugin-skinenigmang-0.1.2+git20180128.orig/Makefile
+++ vdr-plugin-skinenigmang-0.1.2+git20180128/Makefile
@@ -138,9 +138,9 @@ INCLUDES += $(shell pkg-config --cflags
 endif
 endif
 
-ifneq ($(shell which freetype-config),)
-       INCLUDES += $(shell freetype-config --cflags)
-       LIBS += $(shell freetype-config --libs)
+ifneq ($(shell which pkg-config),)
+       INCLUDES += $(shell pkg-config --cflags freetype2)
+       LIBS += $(shell pkg-config --libs freetype2)
 else
        INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype
        LIBS += -lfreetype

Reply via email to