summaryrefslogtreecommitdiff
path: root/sysutils/tload
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-23 08:47:17 +0000
committerwiz <wiz@pkgsrc.org>2003-09-23 08:47:17 +0000
commit34d8b54208423bfd10072516c31448e7bf4e6ebb (patch)
tree944d5c4db87478af78720741d75ebb93713a3ea3 /sysutils/tload
parentfb1b311411710c56dbad233cf8ce028dc98213db (diff)
downloadpkgsrc-34d8b54208423bfd10072516c31448e7bf4e6ebb.tar.gz
Fix build on non-NetBSD. From Jonathan Perkin in PR 22903.
Diffstat (limited to 'sysutils/tload')
-rw-r--r--sysutils/tload/distinfo4
-rw-r--r--sysutils/tload/patches/patch-aa6
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/tload/distinfo b/sysutils/tload/distinfo
index 39ee26d8a46..6b8cd262ddf 100644
--- a/sysutils/tload/distinfo
+++ b/sysutils/tload/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2001/05/22 02:59:25 hubertf Exp $
+$NetBSD: distinfo,v 1.4 2003/09/23 08:47:17 wiz Exp $
SHA1 (procps-2.0.6.tar.gz) = 8006cbc096922c53d340cdfe1e8dd9504cd2e203
Size (procps-2.0.6.tar.gz) = 188674 bytes
-SHA1 (patch-aa) = 955d3d9d425a7264cb1a5aea450694a3634a136c
+SHA1 (patch-aa) = bad2c06427292e4c4ff6276d451de34f2ce5a6ca
diff --git a/sysutils/tload/patches/patch-aa b/sysutils/tload/patches/patch-aa
index 499fe834053..1f595ed497d 100644
--- a/sysutils/tload/patches/patch-aa
+++ b/sysutils/tload/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/05/22 02:59:25 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2003/09/23 08:47:18 wiz Exp $
--- tload.c.orig Tue Sep 2 18:02:19 1997
+++ tload.c
@@ -6,11 +6,11 @@ $NetBSD: patch-aa,v 1.2 2001/05/22 02:59:25 hubertf Exp $
extern int optind;
extern char *optarg;
-+#ifdef __NetBSD__
++#ifndef linux
+void
+display_version(void)
+{
-+ printf("procps 2.0.6, NetBSD port\n");
++ printf("procps 2.0.6, pkgsrc port\n");
+}
+
+