summaryrefslogtreecommitdiff
path: root/sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch')
-rw-r--r--sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch b/sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch
new file mode 100644
index 000000000000..fcbfeba410af
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.90-darwin-cppfix.patch
@@ -0,0 +1,12 @@
+diff -Naur a/dialects/darwin/libproc/dfile.c b/dialects/darwin/libproc/dfile.c
+--- a/dialects/darwin/libproc/dfile.c 2018-02-19 15:04:26.011578124 +0800
++++ b/dialects/darwin/libproc/dfile.c 2018-02-19 15:04:45.006502653 +0800
+@@ -43,7 +43,7 @@
+ #include "lsof.h"
+
+ #if defined(PROC_FP_GUARDED)
+-#extern struct pff_tab Pgf_tab[];
++extern struct pff_tab Pgf_tab[];
+ #endif /* defined(PROC_FP_GUARDED) */
+
+