0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-10-01 03:31:11 +00:00
Files
termux-packages/disabled-packages/tsmuxer/tsMuxer-osdep-textSubtitlesRenderFT.cpp.patch
Fredrik Fornwall 1251ba4e9b rmpkg(main/tsmuxer,x11/tsmuxergui): Remove unmaintained project
Remove tsmuxer as it's no longer developed and the repository is
archived - see https://github.com/justdan96/tsMuxer.

There as multiple buffer overflow issues reported -
https://github.com/justdan96/tsMuxer/issues - so it's probably safest to
remove the package until (if) a maintained fork appears.

Removing the qt5-only tsmuxergui is also a part of the qt6 transition
(#10854).
2025-08-18 09:04:37 +02:00

12 lines
458 B
Diff

--- a/tsMuxer/osdep/textSubtitlesRenderFT.cpp
+++ b/tsMuxer/osdep/textSubtitlesRenderFT.cpp
@@ -19,7 +19,7 @@
#if defined(_WIN32)
const static char FONT_ROOT[] = "c:/WINDOWS/Fonts"; // for debug only
#elif __linux__ == 1
-const static char FONT_ROOT[] = "/usr/share/fonts/";
+const static char FONT_ROOT[] = "@TERMUX_PREFIX@/share/fonts/";
#elif defined(__APPLE__) && defined(__MACH__)
const static char FONT_ROOT[] = "/System/Library/Fonts/";
#endif