freebsd-ports/textproc/gutenmark/files/patch-MatchWordlists.c
Kris Kennaway bdaf7fcc41 Fix build.
Submitted by:	Maxim Maximov <mcsi@agava.com>
PR:		ports/43766
2002-10-14 00:58:40 +00:00

16 lines
565 B
C

--- libGutenSpell/MatchWordlists.c.orig Mon Oct 7 15:30:33 2002
+++ libGutenSpell/MatchWordlists.c Mon Oct 7 15:30:00 2002
@@ -430,11 +430,13 @@
if (LogFile != NULL)
fprintf (LogFile, "MatchWordlists: GLOB_NOSPACE for \"%s\"\n", ss);
break;
+#ifndef __FreeBSD__
case GLOB_ABEND:
fprintf (stderr, "Possible disk-read error.\n");
if (LogFile != NULL)
fprintf (LogFile, "MatchWordlists: GLOB_ABEND for \"%s\"\n", ss);
break;
+#endif
default:
fprintf (stderr, "Unknown globbing error.\n");
if (LogFile != NULL)