summaryrefslogtreecommitdiff
path: root/chat/psi
diff options
context:
space:
mode:
authorwiz <wiz>2003-09-18 19:58:08 +0000
committerwiz <wiz>2003-09-18 19:58:08 +0000
commit9047bc1435281be1816c9ca97bb2327e0b81da7c (patch)
treed7449a177f9ed81a8c57fe180af646315ad395f7 /chat/psi
parent3226d4be90ed1851fe4b9a9103311f39821c7d7c (diff)
downloadpkgsrc-9047bc1435281be1816c9ca97bb2327e0b81da7c.tar.gz
On NetBSD, make the default audio-player "audioplay" instead of "play".
Closes PR 22723 by Steven M. Bellovin.
Diffstat (limited to 'chat/psi')
-rw-r--r--chat/psi/distinfo3
-rw-r--r--chat/psi/patches/patch-ac16
2 files changed, 18 insertions, 1 deletions
diff --git a/chat/psi/distinfo b/chat/psi/distinfo
index 90ecd08a56f..0ec452013aa 100644
--- a/chat/psi/distinfo
+++ b/chat/psi/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2003/07/27 22:23:01 jdolecek Exp $
+$NetBSD: distinfo,v 1.7 2003/09/18 19:58:08 wiz Exp $
SHA1 (psi-0.9.tar.bz2) = 66ab7a6b540f60c9e117bc964a70c126b30aff47
Size (psi-0.9.tar.bz2) = 968348 bytes
SHA1 (patch-ab) = d7f9fc5f183117d3f81912ef73f27c0f2fa8c6a0
+SHA1 (patch-ac) = a3b0f87f54f4d7397c8be6f152209bef3a14d4a6
SHA1 (patch-ad) = 8d255aa9de01ccb39d2cdc7b0074b5dec0e3c0cb
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";