$NetBSD: patch-ab,v 1.3 2002/04/28 14:44:14 tron Exp $ --- getstring.c.orig Sat Jan 26 03:52:46 2002 +++ getstring.c @@ -145,8 +145,8 @@ db = fopen(name, "rb"); } if (db == NULL) { - strcpy(name, "/usr/local/lib/csound.xmg"); - db = fopen("/usr/local/lib/csound.xmg", "rb"); + sprintf(name, "%s/share/csound/csound.xmg", PREFIX); + db = fopen(name, "rb"); } #ifdef mills_macintosh if (db == NULL) {