summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xosview/patches')
-rw-r--r--sysutils/xosview/patches/patch-aa20
-rw-r--r--sysutils/xosview/patches/patch-ab15
-rw-r--r--sysutils/xosview/patches/patch-am15
-rw-r--r--sysutils/xosview/patches/patch-bc17
-rw-r--r--sysutils/xosview/patches/patch-bd41
-rw-r--r--sysutils/xosview/patches/patch-be19
-rw-r--r--sysutils/xosview/patches/patch-bf17
-rw-r--r--sysutils/xosview/patches/patch-bg18
8 files changed, 0 insertions, 162 deletions
diff --git a/sysutils/xosview/patches/patch-aa b/sysutils/xosview/patches/patch-aa
deleted file mode 100644
index 93cba94c406..00000000000
--- a/sysutils/xosview/patches/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.11 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
---- bsd/kernel.cc.orig 2003-10-13 21:53:17.000000000 -0400
-+++ bsd/kernel.cc 2004-04-15 10:16:49.000000000 -0400
-@@ -817,11 +817,11 @@
- #if defined(NETBSD_1_6A)
- // Use the new sysctl to do this for us.
- int mib[3] = {CTL_HW, HW_DISKSTATS, sizeof(struct disk_sysctl)};
-- size_t sysctl_size = NetBSD_N_Drives * sizeof(struct disk_sysctl);
-+ size_t sysctl_sz = NetBSD_N_Drives * sizeof(struct disk_sysctl);
- struct disk_sysctl drive_stats[NetBSD_N_Drives];
-
- // Do the sysctl.
-- if (sysctl(mib, 3, drive_stats, &sysctl_size, NULL, 0) < 0) {
-+ if (sysctl(mib, 3, drive_stats, &sysctl_sz, NULL, 0) < 0) {
- err(1, "sysctl hw.diskstats failed");
- }
-
diff --git a/sysutils/xosview/patches/patch-ab b/sysutils/xosview/patches/patch-ab
deleted file mode 100644
index a4018c97d3f..00000000000
--- a/sysutils/xosview/patches/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.10 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
---- bsd/intratemeter.cc.orig 2003-10-09 00:20:06.000000000 -0400
-+++ bsd/intratemeter.cc 2004-04-21 14:32:07.000000000 -0400
-@@ -48,7 +48,7 @@
- dodecay_ = parent_->isResourceTrue("irqrateDecay");
- useGraph_ = parent_->isResourceTrue("irqrateGraph");
- SetUsedFormat (parent_->getResource("irqrateUsedFormat"));
-- total_ = 100;
-+ total_ = 2000;
-
- // Now, grab a sample. I don't know if this is needed here. BCG
- BSDGetIntrStats (lastirqs_);
diff --git a/sysutils/xosview/patches/patch-am b/sysutils/xosview/patches/patch-am
deleted file mode 100644
index 62a563037fd..00000000000
--- a/sysutils/xosview/patches/patch-am
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-am,v 1.6 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
---- Xrm.cc.orig 2003-10-09 05:25:25.000000000 +0200
-+++ Xrm.cc
-@@ -98,7 +98,7 @@ const char *Xrm::getResource(const char
- char fcn_lower[1024];
- strncpy(fcn_lower, className(), 1024);
- char* p = fcn_lower;
-- while (p && *p) *p++ = tolower(*p);
-+ while (p && *p) { *p = tolower(*p); p++; }
- snprintf(fcn, 1024, "%s.%s", fcn_lower, rname);
- XrmGetResource(_db, frn, fcn, &type, &val);
- }
diff --git a/sysutils/xosview/patches/patch-bc b/sysutils/xosview/patches/patch-bc
deleted file mode 100644
index 0060c11d9cd..00000000000
--- a/sysutils/xosview/patches/patch-bc
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-bc,v 1.2 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
-The Solaris SunPro compiler also has a bool type, not only gcc.
-
---- general.h.orig 2003-10-09 06:35:59.000000000 +0200
-+++ general.h 2005-02-22 14:16:47.160972300 +0100
-@@ -17,7 +17,7 @@
- includes but before any local includes. It should NOT be included
- by any .h files unless there is a REALLY good reason. */
-
--#ifndef __GNUC__
-+#if !defined(__GNUC__) && !defined(__sun)
- /* Every GNU system has _G_config.h, I believe, which tells us
- whether or not the bool define exists. However, for simplicity,
- let's just redefine them all. The following lines are directly
diff --git a/sysutils/xosview/patches/patch-bd b/sysutils/xosview/patches/patch-bd
deleted file mode 100644
index 8991f7d83d4..00000000000
--- a/sysutils/xosview/patches/patch-bd
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-bd,v 1.2 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
-The Solaris SunPro compiler does not know the old <strstream.h> header.
-I fixed it to use the new one. The #define is ugly, but I wanted to keep
-the patch short.
-
---- sunos5/cpumeter.cc.orig 1999-01-31 21:26:38.000000000 +0100
-+++ sunos5/cpumeter.cc 2005-02-22 14:44:47.640675500 +0100
-@@ -8,7 +8,10 @@
- #include <unistd.h>
- #include <ctype.h>
- #include <string.h>
--#include <strstream.h>
-+#include <sstream>
-+
-+#define ostrstream std::ostringstream
-+using std::ends;
-
- CPUMeter::CPUMeter(XOSView *parent, kstat_ctl_t *_kc, int cpuid)
- : FieldMeterGraph(parent, CPU_STATES, toUpper(cpuStr(cpuid)),
-@@ -91,15 +94,15 @@ const char *CPUMeter::toUpper(const char
-
- const char *CPUMeter::cpuStr(int num)
- {
-- static char buffer[32];
-- ostrstream str(buffer, 32);
-+ static std::string buffer;
-+ std::ostringstream str(buffer);
-
- str << "cpu";
- if (num != 0)
- str << (num - 1);
- str << ends;
-
-- return buffer;
-+ return buffer.c_str();
- }
-
- int CPUMeter::countCPUs(kstat_ctl_t *kc)
diff --git a/sysutils/xosview/patches/patch-be b/sysutils/xosview/patches/patch-be
deleted file mode 100644
index 894efd07c07..00000000000
--- a/sysutils/xosview/patches/patch-be
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-be,v 1.2 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
-There's some prototype conflict with SunPro, when the constructor is
-called. The "const int" is unnecessary, as ints are always passed by
-value.
-
---- sunos5/cpumeter.h.orig 1999-01-31 21:26:38.000000000 +0100
-+++ sunos5/cpumeter.h 2005-02-22 14:16:47.280965600 +0100
-@@ -12,7 +12,7 @@
-
- class CPUMeter : public FieldMeterGraph {
- public:
-- CPUMeter(XOSView *parent, kstat_ctl_t *kcp, const int cpuid = 0);
-+ CPUMeter(XOSView *parent, kstat_ctl_t *kcp, int cpuid = 0);
- ~CPUMeter(void);
-
- const char *name(void) const { return "CPUMeter"; }
diff --git a/sysutils/xosview/patches/patch-bf b/sysutils/xosview/patches/patch-bf
deleted file mode 100644
index f9799560225..00000000000
--- a/sysutils/xosview/patches/patch-bf
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-bf,v 1.2 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
-SunPro complains about an unknown variable cerr.
-
---- sunos5/loadmeter.cc.orig 1999-01-31 21:26:38.000000000 +0100
-+++ sunos5/loadmeter.cc 2005-02-22 14:20:47.410939700 +0100
-@@ -8,6 +8,8 @@
- #include <kstat.h>
- /*#include <sys/loadavg.h>*/
-
-+using std::cerr;
-+
- LoadMeter::LoadMeter(XOSView *parent, kstat_ctl_t *_kc)
- : FieldMeterGraph(parent, 2, "LOAD", "PROCS/MIN", 1, 1, 0)
- {
diff --git a/sysutils/xosview/patches/patch-bg b/sysutils/xosview/patches/patch-bg
deleted file mode 100644
index 568061295b2..00000000000
--- a/sysutils/xosview/patches/patch-bg
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-bg,v 1.2 2006/02/18 10:12:24 rillig Exp $
-
-Status: applied upstream.
-
-This patch fixes the MIN and MAX macros. To my knowledge, only gcc can
-handle ({...}) expressions, so let's express that.
-
---- xosview.cc.orig 2003-10-09 05:40:54.000000000 +0200
-+++ xosview.cc 2005-02-22 14:16:47.380960800 +0100
-@@ -22,7 +22,7 @@ static const char * const versionString
-
- static const char NAME[] = "xosview@";
-
--#ifdef sgi
-+#if !defined(__GNUC__)
-
- #define MIN(x,y) \
- ( \