$NetBSD: patch-ab,v 1.1.1.1 2002/10/12 06:17:15 rh Exp $ --- src/config.c.orig Sat Oct 12 15:19:12 2002 +++ src/config.c @@ -101,6 +101,11 @@ int open_rc(Game * game, const char *fil { fprintf(stderr, "/etc/glchessrc not found, trying ./glchessrc\n"); rc = fopen("./glchessrc", "r"); + if (rc == NULL) + { + fprintf(stderr, "./glchessrc not found, trying @PKGETC@/glchessrc.default\n"); + rc = fopen("@PKGETC@/glchessrc.default", "r"); + } } }