Hi, `dwm-6.1-r1` fails to compile on a gentoo-prefix ``` In file included from dwm.c:42: /tmp/prefix-susanw/usr/include/X11/Xft/Xft.h:39:10: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:18: dwm.o] Error 1 ``` This happens because include path to freetype2 headers is missing prefix: ``` x86_64-pc-linux-gnu-gcc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/tmp/prefix-susanw/usr/include/X11 -I/tmp/prefix-susanw/usr/include/X11 -I/usr/include/freetype2 -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.1\" util.c` ``` (here `-I/usr/include/freetype2` instead of `-I${PREFIX}/usr/include/freetype2`) Attached patch fixes this issue. Reproducible: Always Steps to Reproduce: 1. emerge x11-wm/dwm on a gentoo-prefix Actual Results: compilation failure Expected Results: merge success
Created attachment 562226 [details] build.log
Created attachment 562228 [details] emerge --info
Created attachment 562230 [details, diff] ebuild patch Patch for dwm-6.1-r1 that fixes given issue
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f5a38fd7f9ece4299ae9a62b5336fa05c3b55e commit d2f5a38fd7f9ece4299ae9a62b5336fa05c3b55e Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-02-19 14:58:54 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-02-19 14:58:54 +0000 x11-wm/dwm: fix fontconfig path for Prefix by Susan Wilson Closes: https://bugs.gentoo.org/675886 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 x11-wm/dwm/dwm-6.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
noticed your mergereq too late, sorry, thanks for the patch though, pushed!