pkgsrc/textproc/diction/patches/patch-ad
bjs bead27ba09 Update to version 1.11. While here: libtoolize, switch to gmake
(generating po files properly seems to need this), add pcre support.

Changes before version 1.10 are unavailable.

The following things have been changed compared to version 1.10:

o  Bugfix in ellipsis processing
o  Support for Dutch
o  GPL 3.0
o  Use autoconf 2.61
2007-12-04 00:57:37 +00:00

20 lines
473 B
Text

$NetBSD: patch-ad,v 1.1 2007/12/04 00:57:40 bjs Exp $
--- sentence.c.orig 2007-08-09 09:00:25.000000000 -0400
+++ sentence.c
@@ -40,8 +40,15 @@ with this program. If not, write to the
#else
#define _(String) String
#endif
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/regex.h>
+#include <nbcompat/stdio.h>
+#else
#include <regex.h>
#include <stdio.h>
+#endif
#include <stdlib.h>
#include <string.h>