openbsd-ports/textproc/mupdf/patches/patch-fitz_fitz_base_h
sthen 434c46e65c - update MuPDF to 0.6. (various improvements including copying text
from PDFs with the ight mouse button. no search yet though).
note that the command-line options have changed slightly and there
are new keybindings - see mupdf(1).

- only pdfinfo conflicts with other packages, so switch to the
standard names for the other tools

- install the new manpages from upstream (replacing our mupdf manpage),
library, headers, .pc and desktop integration files

thanks ajacoutot@ for checking and improvements for the desktop
integration files, and Roberto Fernandez for looking over the
fontres parts.
2010-06-03 19:38:34 +00:00

15 lines
356 B
Plaintext

$OpenBSD: patch-fitz_fitz_base_h,v 1.1 2010/06/03 19:38:34 sthen Exp $
--- fitz/fitz_base.h.orig Mon May 31 15:16:48 2010
+++ fitz/fitz_base.h Thu Jun 3 04:13:00 2010
@@ -53,6 +53,10 @@ extern int gettimeofday(struct timeval *tv, struct tim
#else /* C99 or close enough */
+#ifndef restrict
+#define restrict
+#endif
+
#include <unistd.h>
#endif