pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-systemload-plugin Updated xfce4-systeml...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e969ec0b1ba6
branches: trunk
changeset: 499206:e969ec0b1ba6
user: martti <martti%pkgsrc.org@localhost>
date: Wed Sep 14 11:55:57 2005 +0000
description:
Updated xfce4-systemload-plugin to 0.3.6nb1
Fix sparc64 problems (pkg/31017)
diffstat:
sysutils/xfce4-systemload-plugin/Makefile | 3 +-
sysutils/xfce4-systemload-plugin/distinfo | 3 +-
sysutils/xfce4-systemload-plugin/patches/patch-aa | 42 +++++++++++++++++++++++
3 files changed, 46 insertions(+), 2 deletions(-)
diffs (73 lines):
diff -r 28c5e7c079c9 -r e969ec0b1ba6 sysutils/xfce4-systemload-plugin/Makefile
--- a/sysutils/xfce4-systemload-plugin/Makefile Wed Sep 14 07:41:52 2005 +0000
+++ b/sysutils/xfce4-systemload-plugin/Makefile Wed Sep 14 11:55:57 2005 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2005/06/23 07:25:58 martti Exp $
+# $NetBSD: Makefile,v 1.9 2005/09/14 11:55:57 martti Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
XFCE4_VERSION= 0.3.6
DISTNAME= xfce4-systemload-plugin-${XFCE4_VERSION}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.berlios.de/xfce-goodies/
COMMENT= XFce4 system load plugin
diff -r 28c5e7c079c9 -r e969ec0b1ba6 sysutils/xfce4-systemload-plugin/distinfo
--- a/sysutils/xfce4-systemload-plugin/distinfo Wed Sep 14 07:41:52 2005 +0000
+++ b/sysutils/xfce4-systemload-plugin/distinfo Wed Sep 14 11:55:57 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/06/23 07:25:58 martti Exp $
+$NetBSD: distinfo,v 1.5 2005/09/14 11:55:57 martti Exp $
SHA1 (xfce4-systemload-plugin-0.3.6.tar.gz) = ed477e9c8499b8e34031658237586a83bc12cef4
RMD160 (xfce4-systemload-plugin-0.3.6.tar.gz) = a7b3f28326262eeb5aa66d5cd966474ac0a4554b
Size (xfce4-systemload-plugin-0.3.6.tar.gz) = 229985 bytes
+SHA1 (patch-aa) = 8424fead4e2450b55ca607f652a24e1b66c549bf
diff -r 28c5e7c079c9 -r e969ec0b1ba6 sysutils/xfce4-systemload-plugin/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-systemload-plugin/patches/patch-aa Wed Sep 14 11:55:57 2005 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1 2005/09/14 11:55:57 martti Exp $
+
+--- panel-plugin/memswap.c.orig 2003-11-06 02:39:52.000000000 +0200
++++ panel-plugin/memswap.c 2005-09-14 11:47:37.000000000 +0300
+@@ -284,7 +284,17 @@
+
+ #define ARRLEN(X) (sizeof(X)/sizeof(X[0]))
+ {
+- static int mib[]={ CTL_HW, HW_PHYSMEM };
++ static int mib[2];
++ /* 64-bit datatype */
++ if(sizeof(size_t) == 8) {
++ mib[0] = CTL_HW;
++ mib[1] = HW_PHYSMEM64;
++ }
++ /* assume 32-bit datatype */
++ else {
++ mib[0] = CTL_HW;
++ mib[1] = HW_PHYSMEM;
++ }
+ len = sizeof(MTotal);
+ sysctl(mib, ARRLEN(mib), &MTotal, &len, NULL, 0);
+ MTotal >>= 10;
+@@ -395,7 +405,17 @@
+
+ #define ARRLEN(X) (sizeof(X)/sizeof(X[0]))
+ {
+- static int mib[]={ CTL_HW, HW_PHYSMEM };
++ static int mib[2];
++ /* 64-bit datatype */
++ if(sizeof(size_t) == 8) {
++ mib[0] = CTL_HW;
++ mib[1] = HW_PHYSMEM64;
++ }
++ /* assume 32-bit datatype */
++ else {
++ mib[0] = CTL_HW;
++ mib[1] = HW_PHYSMEM;
++ }
+ len = sizeof(MTotal);
+ sysctl(mib, ARRLEN(mib), &MTotal, &len, NULL, 0);
+ MTotal >>= 10;
Home |
Main Index |
Thread Index |
Old Index