"pkg-config --cflags xft" instead of "pkg-config --cflags freetype2",
updated debdiff is attached.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
diff -Nru tetraproc-0.8.2/debian/changelog tetraproc-0.8.2/debian/changelog
--- tetraproc-0.8.2/debian/changelog 2012-05-20 19:06:30.000000000 +0300
+++ tetraproc-0.8.2/debian/changelog 2019-01-11 13:26:32.000000000 +0200
@@ -1,3 +1,10 @@
+tetraproc (0.8.2-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix build without freetype-config. (Closes: #916183)
+
+ -- Adrian Bunk <[email protected]> Fri, 11 Jan 2019 13:26:32 +0200
+
tetraproc (0.8.2-2) unstable; urgency=low
* libpng12-dev -> libpng-dev (Closes: #662519)
diff -Nru tetraproc-0.8.2/debian/patches/no-freetype-config.patch tetraproc-0.8.2/debian/patches/no-freetype-config.patch
--- tetraproc-0.8.2/debian/patches/no-freetype-config.patch 1970-01-01 02:00:00.000000000 +0200
+++ tetraproc-0.8.2/debian/patches/no-freetype-config.patch 2019-01-11 13:26:32.000000000 +0200
@@ -0,0 +1,15 @@
+Description: freetype-config was removed, use pkg-config instead
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/916183
+
+--- tetraproc-0.8.2.orig/source/Makefile
++++ tetraproc-0.8.2/source/Makefile
+@@ -35,7 +35,7 @@ TETRAPROC_O = tetraproc.o styles.o mainw
+ hpfilt.o pmfilt.o textmat.o confwin.o abconfig.o abprocess.o oscform.o impdata.o kmeter.o \
+ kmeterdsp.o png2img.o
+
+-tetraproc: CPPFLAGS += -I/usr/X11R6/include `freetype-config --cflags`
++tetraproc: CPPFLAGS += -I/usr/X11R6/include `pkg-config --cflags xft`
+ tetraproc: LDLIBS += -pthread -lsndfile -lfftw3f -lclxclient -lclthreads -ljack -lpng -lXft -lX11 -lrt
+ tetraproc: LDFLAGS += -L/usr/X11R6/lib
+ tetraproc: $(TETRAPROC_O)
diff -Nru tetraproc-0.8.2/debian/patches/series tetraproc-0.8.2/debian/patches/series
--- tetraproc-0.8.2/debian/patches/series 2012-05-20 19:04:33.000000000 +0300
+++ tetraproc-0.8.2/debian/patches/series 2019-01-11 13:26:32.000000000 +0200
@@ -1 +1,2 @@
01-makefile.patch
+no-freetype-config.patch