summaryrefslogtreecommitdiff
path: root/sysutils/xmeter
diff options
context:
space:
mode:
authoragc <agc>2001-10-23 11:38:31 +0000
committeragc <agc>2001-10-23 11:38:31 +0000
commit4711841336757d54b9e2633338446aeba5ae680c (patch)
tree185354b1dc547b177e75c3b4a1ac99e4f652a579 /sysutils/xmeter
parente0acfe674774c695d5fed51319622791fba257a2 (diff)
downloadpkgsrc-4711841336757d54b9e2633338446aeba5ae680c.tar.gz
Standardise on one xmeter package:
+ Use sysutils as the category, since it's best-placed there + Bring over the patch from x11/xmeter to quieten the compilation. + Retain the installation into X11BASE from sysutils/xmeter (there's an application default file that has to be placed somewhere) + Retain the better description from sysutils/xmeter
Diffstat (limited to 'sysutils/xmeter')
-rw-r--r--sysutils/xmeter/distinfo3
-rw-r--r--sysutils/xmeter/patches/patch-aa24
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/xmeter/distinfo b/sysutils/xmeter/distinfo
index c192366a3d3..d622d6b337f 100644
--- a/sysutils/xmeter/distinfo
+++ b/sysutils/xmeter/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/10/23 10:30:12 agc Exp $
+$NetBSD: distinfo,v 1.2 2001/10/23 11:38:31 agc Exp $
SHA1 (xmeter-1.15.tar.gz) = 2377d4ffad82f2a1397d41969c3d3be76e6f54d7
Size (xmeter-1.15.tar.gz) = 20695 bytes
+SHA1 (patch-aa) = a07d78142dd5408557d3e72f508db70939124d39
diff --git a/sysutils/xmeter/patches/patch-aa b/sysutils/xmeter/patches/patch-aa
new file mode 100644
index 00000000000..17088443679
--- /dev/null
+++ b/sysutils/xmeter/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1 2001/10/23 11:38:31 agc Exp $
+
+Use the right signal handler type.
+
+--- xmeter.c 1998/10/30 10:41:09 1.1
++++ xmeter.c 1998/10/30 10:41:51
+@@ -135,6 +135,8 @@
+ #define PORTMAP /* Get right function declarations on Solaris 2 */
+ #include <rpc/rpc.h>
+ #include <rpc/pmap_prot.h>
++#undef FSHIFT /* Use protocol's shift and scale values */
++#undef FSCALE
+ #include <rpcsvc/rstat.h>
+ /*
+ * We need the definitions of CP_USER, CP_NICE and CP_SYS. Some systems
+@@ -231,7 +228,7 @@
+ char *name; /* Name of stat for menu widget */
+ } STATDATA;
+
+-#if defined(SVR4) || defined(sgi)
++#if defined(SVR4) || defined(sgi) || (defined(BSD) && BSD >= 199306)
+ #define SIGTYPE void
+ #else
+ #define SIGTYPE int