pkgsrc/textproc/diction/patches/patch-ae
wiz dce65f72d2 Update to 1.13. Set LICENSE. Remove unnecessary chunk in Makefile patch.
The following things have been changed compared to version 1.12:

o  Corrected German message catalog
o  Changes to English diction file
o  Fixed ellipsis handling
2015-01-16 11:49:07 +00:00

18 lines
594 B
Text

$NetBSD: patch-ae,v 1.2 2015/01/16 11:49:07 wiz Exp $
--- sentence.h.orig 2011-08-31 17:04:20.000000000 +0000
+++ sentence.h
@@ -25,7 +25,13 @@ with this program. If not, write to the
#define SENTENCE_H
#include <sys/types.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/stdio.h>
+#else
#include <stdio.h>
+#endif
int endingInPossesiveS(const char *s, size_t length);
void sentence(const char *cmd, FILE *in, const char *file, void (*process)(const char *, size_t, const char *, int, int, int, int), const char *lang);