From 44618006a79e96fd0075612e9a43f5f524c18273 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 18 Sep 2003 19:58:08 +0000 Subject: On NetBSD, make the default audio-player "audioplay" instead of "play". Closes PR 22723 by Steven M. Bellovin. --- chat/psi/patches/patch-ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 chat/psi/patches/patch-ac (limited to 'chat/psi/patches') diff --git a/chat/psi/patches/patch-ac b/chat/psi/patches/patch-ac new file mode 100644 index 00000000000..e7ce9ed5160 --- /dev/null +++ b/chat/psi/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.4 2003/09/18 19:58:12 wiz Exp $ + +--- src/profiles.cpp.orig 2003-05-26 02:40:13.000000000 +0200 ++++ src/profiles.cpp +@@ -518,7 +518,11 @@ void UserProfile::reset() + prefs.font[fMessage] = QApplication::font().toString(); + prefs.font[fChat] = QApplication::font().toString(); + ++#ifdef __NetBSD__ ++ prefs.player = "audioplay"; ++#else + prefs.player = "play"; ++#endif + prefs.noAwaySound = FALSE; + + prefs.onevent[eMessage] = g.pathBase + "/sound/chat2.wav"; -- cgit v1.2.3