summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch')
-rw-r--r--media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch b/media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch
new file mode 100644
index 000000000000..3c35846608f7
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_pkgconfig.patch
@@ -0,0 +1,29 @@
+From 2168f20fb6b00f7ae2104c6f4eafae2402cb1d92 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Tue, 24 Jul 2018 13:00:40 +0200
+Subject: [PATCH] Makefile: Use pkg-config to query freetype
+
+As of freetype-2.9.1 the freetype-config file no longer gets installed
+by default.
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index fc165e9..36fc681 100644
+--- a/Makefile
++++ b/Makefile
+@@ -55,8 +55,8 @@ SOFILE = libvdr-$(PLUGIN).so
+
+ ### Includes and Defines (add further entries here):
+
+-INCLUDES += $(shell freetype-config --cflags)
+-LIBS += $(shell freetype-config --libs)
++INCLUDES += $(shell pkg-config --cflags freetype2)
++LIBS += $(shell pkg-config --libs freetype2)
+
+ DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+
+--
+2.18.0
+