openbsd-ports/devel/gmake/patches/patch-remake_c

18 lines
624 B
Plaintext

$OpenBSD: patch-remake_c,v 1.1 2012/10/01 17:47:44 naddy Exp $
https://savannah.gnu.org/bugs/?30653
--- remake.c.orig Tue Jul 13 03:20:42 2010
+++ remake.c Sun Sep 30 19:26:42 2012
@@ -614,6 +614,10 @@ update_file_1 (struct file *file, unsigned int depth)
d->file->dontcare = file->dontcare;
}
+ /* We may have already considered this file, when we didn't know
+ we'd need to update it. Force update_file() to consider it and
+ not prune it. */
+ d->file->considered = !considered;
dep_status |= update_file (d->file, depth);