pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/tload Fix build on non-NetBSD. From Jonathan ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e834b58f60a
branches: trunk
changeset: 461883:3e834b58f60a
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 23 08:47:17 2003 +0000
description:
Fix build on non-NetBSD. From Jonathan Perkin in PR 22903.
diffstat:
sysutils/tload/distinfo | 4 ++--
sysutils/tload/patches/patch-aa | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 724f5637fdb9 -r 3e834b58f60a sysutils/tload/distinfo
--- a/sysutils/tload/distinfo Tue Sep 23 08:46:45 2003 +0000
+++ b/sysutils/tload/distinfo Tue Sep 23 08:47:17 2003 +0000
@@ -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 -r 724f5637fdb9 -r 3e834b58f60a sysutils/tload/patches/patch-aa
--- a/sysutils/tload/patches/patch-aa Tue Sep 23 08:46:45 2003 +0000
+++ b/sysutils/tload/patches/patch-aa Tue Sep 23 08:47:17 2003 +0000
@@ -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 @@
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");
+}
+
+
Home |
Main Index |
Thread Index |
Old Index