summaryrefslogtreecommitdiff
path: root/sysutils/kapm
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-11-11 01:16:58 +0000
committerhubertf <hubertf@pkgsrc.org>1999-11-11 01:16:58 +0000
commit536bd7d9816b692d5fa11143376b7afbca18b359 (patch)
treef90dbb98708cb8b4033b650865f500ad762e3b04 /sysutils/kapm
parent3eeaabf8c713191a55515ce354eaa29c517e91a8 (diff)
downloadpkgsrc-536bd7d9816b692d5fa11143376b7afbca18b359.tar.gz
add full path for apm(8) and halt(8)
Diffstat (limited to 'sysutils/kapm')
-rw-r--r--sysutils/kapm/files/patch-sum4
-rw-r--r--sysutils/kapm/patches/patch-ac8
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/kapm/files/patch-sum b/sysutils/kapm/files/patch-sum
index 65cd38ebd15..a068f01cb14 100644
--- a/sysutils/kapm/files/patch-sum
+++ b/sysutils/kapm/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $
+$NetBSD: patch-sum,v 1.2 1999/11/11 01:16:58 hubertf Exp $
MD5 (patch-aa) = be687ef1066d5f26b452d24c0c872de0
MD5 (patch-ab) = 54a1bd5334886e4e107a6b57715680b2
-MD5 (patch-ac) = 994e2c0d1f01a0d01a9b11ac786749e7
+MD5 (patch-ac) = 1ab1c0c11b66e9922e2400350ac01b4c
diff --git a/sysutils/kapm/patches/patch-ac b/sysutils/kapm/patches/patch-ac
index 84e7a2c3c08..04ea9425c5e 100644
--- a/sysutils/kapm/patches/patch-ac
+++ b/sysutils/kapm/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $
+$NetBSD: patch-ac,v 1.2 1999/11/11 01:16:59 hubertf Exp $
--- kapm/kapm.cpp.orig Tue Nov 2 06:26:59 1999
+++ kapm/kapm.cpp Tue Nov 2 06:27:36 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-ac,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $
void Kapm::slotSuspend() {
+#ifdef __NetBSD__
-+ suApp("apm -z", i18n("suspend"));
++ suApp("/usr/sbin/apm -z", i18n("suspend"));
+#else /* !__NetBSD__ */
suApp("apm -s", i18n("suspend"));
+#endif /* __NetBSD__ */
@@ -15,12 +15,12 @@ $NetBSD: patch-ac,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $
void Kapm::slotStandby() {
- suApp("apm -S", i18n("standby"));
-+ suApp("apm -S", i18n("standby")); /* -S is for NetBSD and Linux */
++ suApp("/usr/sbin/apm -S", i18n("standby")); /* -S is for NetBSD and Linux */
}
void Kapm::slotPowerOff() {
+#ifdef __NetBSD__
-+ suApp("halt -p", i18n("power off"), true);
++ suApp("/sbin/halt -p", i18n("power off"), true);
+#else /* !__NetBSD__ */
suApp("poweroff", i18n("power off"), true);
+#endif /* __NetBSD__ */