summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/lsof/dfile.patch
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
commit59b5bbeae91109007e36a269a94cccc865dc5175 (patch)
tree1ee3d18aedace6d66034ea72fea571d20d8d0fee /pkgs/development/tools/misc/lsof/dfile.patch
parentDo not use old stdenv version in faust wrap functions. (-8 alias, -15 unpatch... (diff)
parentMerge pull request #19675 from edwtjo/dictd-touchup (diff)
downloadnixpkgs-gitlab.intr/security-updates.tar.gz
Merge branch master into security-updatesorigin/security-updatesgitlab.intr/security-updates
This merge mostly take the changes made to the master branch. Some conflict happen in top-level/default.nix due to a reformating of the code of which is computing the fix-point. This merge fixes these issues by adding the pkgsIndex argument, needed to re-evaluate the fix-point with another set of packages, and also re-add the second fix-point made to support the dependencies.
Diffstat (limited to 'pkgs/development/tools/misc/lsof/dfile.patch')
-rw-r--r--pkgs/development/tools/misc/lsof/dfile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/lsof/dfile.patch b/pkgs/development/tools/misc/lsof/dfile.patch
new file mode 100644
index 000000000000..47202d5ebeab
--- /dev/null
+++ b/pkgs/development/tools/misc/lsof/dfile.patch
@@ -0,0 +1,18 @@
+--- lsof_4.89_src/dialects/darwin/libproc/dfile.c 2014-10-30 12:39:46.000000000 +0100
++++ lsof_4.89_src/dialects/darwin/libproc/dfile_new.c 2016-10-04 13:44:58.000000000 +0200
+@@ -286,13 +286,13 @@
+
+ #if defined(PROC_FP_GUARDED)
+ if (extra > 1)
+- putchar(`,');
++ putchar(',');
+ if (lf->guardflags) {
+ struct pff_tab *tp;
+ long gf;
+
+ (void) printf("guard=");
+- tp = Pgf_tab;
++ tp = Pff_tab;
+ gf = lf->guardflags;
+ while (gf && !FsvFlagX) {
+ while (tp->nm) {