0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
Tee KOBAYASHI cec1d690cf tree-wide: Cleanup lib{pthread,rt} patches
not handled in commit 986babfda72fce9241b9f1045c7ae0132ce4dce7.

%ci:no-build
2023-02-13 08:52:27 +00:00

19 lines
464 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@
add_subdirectory(k2pdfoptlib)
# ms
-add_executable(k2pdfopt k2pdfopt.c)
+add_executable(k2pdfopt k2pdfopt.c misc.c)
target_link_libraries (k2pdfopt k2pdfoptlib willuslib ${K2PDFOPT_LIB} pthread)
install(TARGETS k2pdfopt RUNTIME DESTINATION bin)
--- a/misc.c
+++ b/misc.c
@@ -0,0 +1,4 @@
+#include <k2pdfopt.h>
+#ifdef HAVE_MUPDF_LIB
+void pdf_install_load_system_font_funcs(void *p) {}
+#endif