diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-11-26 23:09:29 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-11-26 23:09:29 +0000 |
commit | a6b52438fdd11668f96b69e9f2e5904c70d768d6 (patch) | |
tree | 3298407bd943223b097d0a29f941c433d6e5e577 /sysutils/kapm | |
parent | 1ad721fae139253860612c73c11570d68c04bc42 (diff) | |
download | pkgsrc-a6b52438fdd11668f96b69e9f2e5904c70d768d6.tar.gz |
Update to 0.3.1nb1: Adjust to new apm scheme
Hinted at by Love <lha@stacken.kth.se> in PR 14555.
Diffstat (limited to 'sysutils/kapm')
-rw-r--r-- | sysutils/kapm/Makefile | 3 | ||||
-rw-r--r-- | sysutils/kapm/distinfo | 4 | ||||
-rw-r--r-- | sysutils/kapm/patches/patch-aa | 9 |
3 files changed, 9 insertions, 7 deletions
diff --git a/sysutils/kapm/Makefile b/sysutils/kapm/Makefile index 40cd9a4a715..6dfed18df8a 100644 --- a/sysutils/kapm/Makefile +++ b/sysutils/kapm/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2001/02/17 17:42:14 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2001/11/26 23:09:29 hubertf Exp $ # DISTNAME= kapm-0.3.1 +PKGNAME= ${DISTNAME}nb1 CATEGORIES= sysutils x11 kde MASTER_SITES= ftp://bodnar42.dhs.org/pub/kapm/ diff --git a/sysutils/kapm/distinfo b/sysutils/kapm/distinfo index d24bb354922..70475f2199d 100644 --- a/sysutils/kapm/distinfo +++ b/sysutils/kapm/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 11:29:04 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/11/26 23:09:29 hubertf Exp $ SHA1 (kapm-0.3.1.tar.gz) = c667582a076ce0185d3f909a243e4ec7ee69ba93 Size (kapm-0.3.1.tar.gz) = 191413 bytes -SHA1 (patch-aa) = 8e65e3aac39c9aebf5a92416d9605f2b7d7a14e0 +SHA1 (patch-aa) = 680a2db74e5c24921e7d53c2ac0dc414353f0c7f SHA1 (patch-ab) = b78aed68c97fa0c34025b06ae3ab1c5b2f03c0ba SHA1 (patch-ac) = fe38363be3b1bef59145f9c3a51acb47c86f47a7 SHA1 (patch-ad) = cdfd6ada3729e0cbe621dc41e1b2c275aac6d0bf diff --git a/sysutils/kapm/patches/patch-aa b/sysutils/kapm/patches/patch-aa index dd2366a15dc..aaa3d53e754 100644 --- a/sysutils/kapm/patches/patch-aa +++ b/sysutils/kapm/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2001/11/26 23:09:30 hubertf Exp $ ---- kapm/apm.cpp.orig Tue Nov 2 06:27:01 1999 -+++ kapm/apm.cpp Tue Nov 2 06:27:49 1999 +--- kapm/apm.cpp.orig Wed Oct 20 06:19:57 1999 ++++ kapm/apm.cpp @@ -10,6 +10,13 @@ 6) Its packaged as an object */ @@ -48,7 +48,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $ FILE *str; char buffer[64]; -@@ -71,21 +89,59 @@ +@@ -71,21 +89,60 @@ sscanf( buffer, "%s %d.%d %x %x %x %x %d%% %d %s\n", (char *)i.driver_version, @@ -85,6 +85,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $ + + fd = open(APM_PROC, O_RDONLY); + assert(fd != -1); ++ memset(&apm_pi, 0, sizeof(apm_pi)); + rc = ioctl(fd, APM_IOC_GETPOWER, &apm_pi); + assert(rc != -1); + close(fd); |