summaryrefslogtreecommitdiff
path: root/user/lsof/utmps.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-09-12 19:09:22 -0400
committerMax Rees <maxcrees@me.com>2018-09-12 20:35:19 -0400
commit027b6fd1887a746f3b38741a8baa63f2f73face1 (patch)
tree6ec08054b480ba9b24c01329566aee0e5c09d792 /user/lsof/utmps.patch
parent02a2bd307242bf8520133412db3fdcc8d1062943 (diff)
downloadpackages-027b6fd1887a746f3b38741a8baa63f2f73face1.tar.gz
packages-027b6fd1887a746f3b38741a8baa63f2f73face1.tar.bz2
packages-027b6fd1887a746f3b38741a8baa63f2f73face1.tar.xz
packages-027b6fd1887a746f3b38741a8baa63f2f73face1.zip
user/lsof: new package
Diffstat (limited to 'user/lsof/utmps.patch')
-rw-r--r--user/lsof/utmps.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/lsof/utmps.patch b/user/lsof/utmps.patch
new file mode 100644
index 000000000..91324e28e
--- /dev/null
+++ b/user/lsof/utmps.patch
@@ -0,0 +1,15 @@
+--- lsof_4.91/lsof_4.91_src/Configure 2018-02-14 09:18:55.000000000 -0500
++++ lsof_4.91/lsof_4.91_src/Configure 2018-09-12 17:48:25.269577168 -0400
+@@ -2943,6 +2943,12 @@
+ LSOF_CFGF="$LSOF_CFGF -DHASIPv6"
+ fi # }
+
++ if test -r ${LSOF_INCLUDE}/utmpx.h # {
++ then
++ LSOF_CFGF="$LSOF_CFGF -DHASUTMPX"
++ LSOF_CFGL="$LSOF_CFGL -lutmps -lskarnet"
++ fi # }
++
+ # Test for <rpc/rpc.h>.
+
+ if ! test -r ${LSOF_INCLUDE}/rpc/rpc.h # {