pkgsrc/sysutils/psmisc/patches/patch-ac
jlam c8a1f86f28 Update psmisc to 20.1. Changes from version 19:
- command line -<num> put back in.
 - got rid of annoying "sending signal #" debug message
 - updated killall.1
 - updated killall usage
 - verbose now tells you what signal it is killing with.
 - New maintainer
 - Uses automake/autoconf to determine things
 - License changed to GPL
 - signames.h generated better (suggested by Grant Erickson)
 - uses getopt() for better command line stuff
 - makes less assumptions about process name, closes Debian Bug #53337
 - Doesn't use losetup for loop devices in fuser.
 - Better selection of process name (thanks to David desJardins)
2001-04-24 16:59:34 +00:00

22 lines
518 B
Text

$NetBSD: patch-ac,v 1.5 2001/04/24 16:59:35 jlam Exp $
--- src/comm.h.orig Wed Dec 13 18:43:10 2000
+++ src/comm.h
@@ -6,6 +6,10 @@
#ifndef COMM_H
#define COMM_H
+#include <sys/param.h>
+#ifdef MAXCOMLEN
+#define COMM_LEN MAXCOMLEN
+#else
#if 0 /* broken in 1.3.xx */
#include <linux/sched.h>
#define COMM_LEN sizeof(dummy.comm)
@@ -14,5 +18,6 @@
#define COMM_LEN 16 /* synchronize with size of comm in struct task_struct in
/usr/include/linux/sched.h */
#endif
+#endif /* MAXCOMLEN */
#endif