---- orig/exclude.c 2005-10-14 18:45:50
-+++ exclude.c 2005-12-17 19:52:48
-@@ -446,6 +446,14 @@ void *push_local_filters(const char *dir
+To use this patch, run these commands for a successful build:
+
+ patch -p1 <patches/cvs-entries.diff
+ ./configure (optional if already run)
+ make
+
+based-on: 24079e988fc31af4eba56cd2701fdc5a4154980d
+diff --git a/exclude.c b/exclude.c
+--- a/exclude.c
++++ b/exclude.c
+@@ -267,6 +267,8 @@ static void add_rule(filter_rule_list *listp, const char *pat, unsigned int pat_
+ if (!(lp = new_array(filter_rule_list, 1)))
+ out_of_memory("add_rule");
+ lp->head = lp->tail = lp->parent_dirscan_head = NULL;
++ if (mflags & MATCHFLG_CVS_IGNORE)
++ cp = "CVS";
+ if (asprintf(&lp->debug_type, " [per-dir %s]", cp) < 0)
+ out_of_memory("add_rule");
+ rule->u.mergelist = lp;
+@@ -526,6 +528,14 @@ void *push_local_filters(const char *dir, unsigned int dirlen)