summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-04-20 21:48:47 +0000
committerdholland <dholland@pkgsrc.org>2013-04-20 21:48:47 +0000
commit0626e9faf5a43b9f60be34f0e2226ae2bf9bfd8e (patch)
tree5d5d5e910fe7212efc9a74cbc638c86880c832cc /sysutils/lsof
parentb68956a77e0672ae5c2fee358a47bfd48c98a2da (diff)
downloadpkgsrc-0626e9faf5a43b9f60be34f0e2226ae2bf9bfd8e.tar.gz
Fix broken build on netbsd-5.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/distinfo3
-rw-r--r--sysutils/lsof/patches/patch-dialects_n+obsd_dnode1.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 8f8ec109628..ab7ddfebc4a 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.82 2013/01/12 03:27:21 dholland Exp $
+$NetBSD: distinfo,v 1.83 2013/04/20 21:48:47 dholland Exp $
SHA1 (lsof_4.84.tar.bz2) = b4fd6011fc183c0602bbba2116b8335a0c57917b
RMD160 (lsof_4.84.tar.bz2) = c7df81cb9c83d4e03db395397912138953529510
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = 1d8c1c3baf9575631c23d3ced7b12fab1df95cd6
SHA1 (patch-af) = b52c15a507960ecf33a61a3cbd608a92ebac1188
SHA1 (patch-ag) = 5a48b4036d65af7cb6da0a1c89e06f02ae921ac6
SHA1 (patch-ah) = 2de22b9a3733f958298af5e33b66c0653c320f59
+SHA1 (patch-dialects_n+obsd_dnode1.c) = dc8c766760aca4eb2e7d7af3944260dd49795c09
diff --git a/sysutils/lsof/patches/patch-dialects_n+obsd_dnode1.c b/sysutils/lsof/patches/patch-dialects_n+obsd_dnode1.c
new file mode 100644
index 00000000000..04c72f62116
--- /dev/null
+++ b/sysutils/lsof/patches/patch-dialects_n+obsd_dnode1.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-dialects_n+obsd_dnode1.c,v 1.1 2013/04/20 21:48:48 dholland Exp $
+
+Remove some additional conflicting symbols that fail the build on
+NetBSD 5.1.
+
+--- dialects/n+obsd/dnode1.c~ 2005-08-08 19:53:33.000000000 +0000
++++ dialects/n+obsd/dnode1.c
+@@ -54,6 +54,9 @@ static char *rcsid = "$Id: dnode1.c,v 1.
+ #undef IN_LOCKED
+ #undef i_size
+ #undef IN_WANTED
++#undef i_endoff
++#undef i_diroff
++#undef i_offset
+
+
+ /*