Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lsof lsof: fix wrong conditional added in pat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29097d41a7d7
branches:  trunk
changeset: 431481:29097d41a7d7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed May 13 19:36:56 2020 +0000

description:
lsof: fix wrong conditional added in patch-af 1.20

machine/ptrace.h pulls in sys/module_hook.h after 2019-11-27 under _KERNEL
This corresponds to NetBSD 9.99.19.
sys/module_hook.h is not installed.
Ergo sys/ptrace.h must be included /without/ defining _KERNEL.

diffstat:

 sysutils/lsof/distinfo         |  4 ++--
 sysutils/lsof/patches/patch-af |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7cddc6823b99 -r 29097d41a7d7 sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo    Wed May 13 15:37:01 2020 +0000
+++ b/sysutils/lsof/distinfo    Wed May 13 19:36:56 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.95 2020/04/16 12:28:36 manu Exp $
+$NetBSD: distinfo,v 1.96 2020/05/13 19:36:56 tnn Exp $
 
 SHA1 (lsof_4.91.tar.bz2) = da6f9883d00f200671f6e47cf838bb9b6b9c6f01
 RMD160 (lsof_4.91.tar.bz2) = 5f7be9a860f30b66e247e0405657a69dd044e245
@@ -9,7 +9,7 @@
 SHA1 (patch-ac) = dac0fcdfee97d42c8f23684a4321519b9f8698d9
 SHA1 (patch-ad) = 7f639e8832c2da8e498c33a38ecbc7b3d3a7430a
 SHA1 (patch-ae) = 3f4a7ce54c0646941fd86400f91a2d17e9d2354a
-SHA1 (patch-af) = 5407ed91bb6459637054a6f84720f7ab3c19c8e8
+SHA1 (patch-af) = 300d8042078e1137deead7f82d7ab252bbdbbb43
 SHA1 (patch-ag) = ced30f63961268a6c76bcc1d22a2eb9e1f750480
 SHA1 (patch-ah) = 2de22b9a3733f958298af5e33b66c0653c320f59
 SHA1 (patch-dialects_n+obsd_dnode1.c) = dc8c766760aca4eb2e7d7af3944260dd49795c09
diff -r 7cddc6823b99 -r 29097d41a7d7 sysutils/lsof/patches/patch-af
--- a/sysutils/lsof/patches/patch-af    Wed May 13 15:37:01 2020 +0000
+++ b/sysutils/lsof/patches/patch-af    Wed May 13 19:36:56 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.20 2020/04/16 12:28:36 manu Exp $
+$NetBSD: patch-af,v 1.21 2020/05/13 19:36:56 tnn Exp $
 
 --- dialects/n+obsd/dlsof.h.orig       2006-03-28 23:54:15.000000000 +0200
 +++ dialects/n+obsd/dlsof.h    2020-04-16 14:25:29.349520955 +0200
@@ -7,7 +7,7 @@
  #include <signal.h>
  #include <string.h>
  #include <unistd.h>
-+#if (!defined(NETBSDV) || __NetBSD_Version__<900000000)
++#if (!defined(NETBSDV) || __NetBSD_Version__>=999001900)
 +#include <sys/ptrace.h> /* pulled in by procfs.h, but needs to be pulled in before _KERNEL is defined */
 +#endif
  



Home | Main Index | Thread Index | Old Index