openbsd-ports/graphics/tesseract/patches/patch-dict_dawg_cpp
jasper 7c09bf2f16 - fix patch names, no binary change
- regen others while here
2011-07-08 11:25:47 +00:00

15 lines
392 B
Plaintext

$OpenBSD: patch-dict_dawg_cpp,v 1.5 2011/07/08 11:25:47 jasper Exp $
--- dict/dawg.cpp.orig Thu Jul 22 02:48:12 2010
+++ dict/dawg.cpp Fri Jul 8 13:23:50 2011
@@ -29,6 +29,10 @@
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#pragma warning(disable:4800) // int/bool warnings
+#else
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#endif
#endif
#include "dawg.h"