summaryrefslogtreecommitdiff
path: root/chat/centericq/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-19 21:32:11 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-19 21:32:11 +0000
commit39ac9b05325af6d51f1f15aaaab7f93018410693 (patch)
treeb920f8d00046316d64a1abdeab5385b8c72b6138 /chat/centericq/patches
parent29a5e3c4d09f02683e6f47aed751914167a58a9d (diff)
downloadpkgsrc-39ac9b05325af6d51f1f15aaaab7f93018410693.tar.gz
Use 'audioplay' under NetBSD to play sounds, and 'play' from the 'sox' package
under other systems. Bump PKGREVISION to 1.
Diffstat (limited to 'chat/centericq/patches')
-rw-r--r--chat/centericq/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/chat/centericq/patches/patch-aa b/chat/centericq/patches/patch-aa
new file mode 100644
index 00000000000..9983ac8d8aa
--- /dev/null
+++ b/chat/centericq/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2003/09/19 21:32:13 jmmv Exp $
+
+--- src/icqconf.cc.orig 2003-07-25 19:03:00.000000000 +0200
++++ src/icqconf.cc
+@@ -414,11 +414,11 @@ void icqconf::loadsounds() {
+
+ switch(rs) {
+ case rscard:
+- fo << "*\tmsg\tplay " << SHARE_DIR << "/msg.wav" << endl;
+- fo << "*\turl\tplay " << SHARE_DIR << "/url.wav" << endl;
+- fo << "*\temail\tplay " << SHARE_DIR << "/email.wav" << endl;
+- fo << "*\tonline\tplay " << SHARE_DIR << "/online.wav" << endl;
+- fo << "*\tsms\tplay " << SHARE_DIR << "/sms.wav" << endl;
++ fo << "*\tmsg\t" AUDIO_PLAYER " " << SHARE_DIR << "/msg.wav" << endl;
++ fo << "*\turl\t" AUDIO_PLAYER " " << SHARE_DIR << "/url.wav" << endl;
++ fo << "*\temail\t" AUDIO_PLAYER " " << SHARE_DIR << "/email.wav" << endl;
++ fo << "*\tonline\t" AUDIO_PLAYER " " << SHARE_DIR << "/online.wav" << endl;
++ fo << "*\tsms\t" AUDIO_PLAYER " " << SHARE_DIR << "/sms.wav" << endl;
+ break;
+
+ case rsspeaker: