openbsd-ports/misc/hfsplus/patches/patch-src_glob_c
sthen de43b3f3e8 - unbreak the build following NULL changes
- remove libutf8 dependency, base locale support seems enough
- remove ONLY_FOR_ARCHS, it may possibly be useful on USB drives too

not really tested but the port doesn't build as-is and has
been on ports@ for most of a week without feedback, so in it goes.
2011-04-22 11:37:46 +00:00

13 lines
374 B
Plaintext

$OpenBSD: patch-src_glob_c,v 1.1 2011/04/22 11:37:46 sthen Exp $
--- src/glob.c.orig Sun Apr 17 09:59:32 2011
+++ src/glob.c Sun Apr 17 09:59:38 2011
@@ -48,7 +48,7 @@ int strmatch(const char *str, const char *pat)
switch (*pat)
{
- case NULL: // pattern at end
+ case 0: // pattern at end
return (!*str); // String at end ?
case '*': // match all