$NetBSD: patch-ae,v 1.1 2012/12/12 15:24:17 wiz Exp $ Remove this block if FNM_CASEFOLD is not set. --- src/utils.c.orig 2007-11-17 13:22:15.000000000 +0100 +++ src/utils.c @@ -139,6 +139,7 @@ int match(struct g_data_s *g_data, char ret = 1; EXIT: +#ifndef FNM_CASEFOLD if (nocase_str) free(nocase_str); nocase_str = NULL; @@ -147,7 +148,7 @@ EXIT: free(nocase_path); nocase_path = NULL; - +#endif return ret; }