summaryrefslogtreecommitdiff
path: root/audio/audacity/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/patches/patch-an')
-rw-r--r--audio/audacity/patches/patch-an24
1 files changed, 13 insertions, 11 deletions
diff --git a/audio/audacity/patches/patch-an b/audio/audacity/patches/patch-an
index cb69e0d9d1c..ab2c70fc630 100644
--- a/audio/audacity/patches/patch-an
+++ b/audio/audacity/patches/patch-an
@@ -1,13 +1,15 @@
-$NetBSD: patch-an,v 1.2 2001/08/02 17:45:35 drochner Exp $
+$NetBSD: patch-an,v 1.3 2002/10/04 08:59:36 jlam Exp $
---- Help.cpp.orig Sun Jul 29 03:17:54 2001
-+++ Help.cpp Mon Jul 30 14:13:57 2001
-@@ -61,7 +61,7 @@
- void InitHelp(wxWindow * parent)
- {
- if (!gHelp) {
-- wxString defaultLoc = wxGetCwd() + wxFILE_SEP_PATH + "audacity-help.htb";
-+ wxString defaultLoc = "XXXHELPDIRXXX/audacity-help.htb";
+--- Help.cpp.orig Wed Jun 5 00:51:19 2002
++++ Help.cpp
+@@ -106,6 +106,10 @@ void InitHelp(wxWindow * parent)
- wxString helpFilePath =
- gPrefs->Read("/Help/HelpFilePath", defaultLoc);
+ paths.Add(wxGetCwd() + wxFILE_SEP_PATH + "audacity-help.htb");
+
++ #ifdef HELPDIR
++ paths.Add(wxString(HELPDIR) + wxFILE_SEP_PATH + "audacity-help.htb");
++ #endif
++
+ #ifdef __WXGTK__
+ paths.Add("/usr/local/share/doc/audacity/audacity-help.htb");
+ paths.Add("/usr/share/doc/audacity/audacity-help.htb");