head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.46 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.44 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.42 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.40 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.36 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.34 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.32 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.30 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.28 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.26 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.24 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.22 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.20 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.18 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.16 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.14 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.12 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.10 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2004.11.28.17.09.13; author ben; state dead; branches; next 1.3; 1.3 date 2002.04.28.14.44.14; author tron; state Exp; branches; next 1.2; 1.2 date 2002.03.23.02.23.00; author wiz; state Exp; branches; next 1.1; 1.1 date 2001.04.27.17.17.17; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.04.27.17.17.17; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Remove csound-bath to make way for csound4. @ text @$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) { @ 1.3 log @Fix wrong filename of strings file. Problem reported by in PR pkg/16521. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2002/03/23 02:23:00 wiz Exp $ @ 1.2 log @Update to 4.18, provided by Ben Collver in pkg/14630. Changes are unknown. Package changes: * the c-preprocessor should now correctly chose whether to build big-endian or little-endian specific code * added support for NetBSD native audio API @ text @d1 1 a1 1 $NetBSD$ d11 1 a11 1 + sprintf(name, "%s/share/csound/csound.txt", PREFIX); @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- getstring.c.orig Sat May 13 08:52:27 2000 +++ getstring.c Thu Apr 5 14:12:02 2001 @@@@ -99,14 +99,14 @@@@ d9 2 a10 2 - strcpy(name, "/usr/local/lib/csound.txt"); - db = fopen("/usr/local/lib/csound.txt", "rb"); d14 1 a15 9 fprintf(stderr, "failed to find Strings DataBase file.\n" "Use the CSSTRNGS environment variable or you must put the \n" - "file \"csound.txt\" in your local, SFDIR, SADIR, SSDIR or \n" - "system directories for csound to work\n"); + "file \"csound.txt\" in your %s/share/csound, SFDIR, SADIR, SSDIR or \n" + "system directories for csound to work\n", PREFIX); exit(1); } err_printf("Using %s\n", name); @ 1.1.1.1 log @Initial import of csound-bath, supplied by Ben Collver in pkg/11758. Similar to csound, but the 'original' bath version. @ text @@