1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 17:47:07 +00:00
termux-packages/packages/k2pdfopt/fix-termios-header-path.patch
Leonid Pliushch 606c265a4c
k2pdfopt: update to 2.53
Use new patches from http://archive.ubuntu.com/ubuntu/pool/universe/k/k2pdfopt/.

Added ghostscript as dependency as it is required according to readme
if OCR support is not compiled in.

Closes https://github.com/termux/termux-packages/issues/11089
2022-07-02 19:28:25 +03:00

13 lines
526 B
Diff

diff -uNr k2pdfopt_v2.53/willuslib/linux.c k2pdfopt_v2.53.mod/willuslib/linux.c
--- k2pdfopt_v2.53/willuslib/linux.c 2020-06-12 19:55:01.000000000 +0300
+++ k2pdfopt_v2.53.mod/willuslib/linux.c 2022-06-28 12:49:39.692922903 +0300
@@ -33,7 +33,7 @@
#include <unistd.h>
/* 12-6-18: Apparently sys/termios.h no longer needed to compile in some cases. */
// #if (defined(__MACH__) || !defined(__GNUC__) || __GNUC__ < 7)
-#include <sys/termios.h>
+#include <termios.h>
// #endif
#include <sys/wait.h>
#include <sys/types.h>