0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/fontforge-gtk/fontforgeexe-displayfonts.c.patch
2022-05-18 08:12:59 +09:00

12 lines
333 B
Diff

--- a/fontforgeexe/displayfonts.c
+++ b/fontforgeexe/displayfonts.c
@@ -228,7 +228,7 @@
int cnt;
char *bpt, *cpt;
- printcap = fopen("/etc/printcap","r");
+ printcap = fopen("@TERMUX_PREFIX@/etc/printcap","r");
if ( printcap==NULL ) {
tis = calloc(2,sizeof(GTextInfo));
tis[0].text = uc_copy("<default>");