aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorGraham Inggs <ginggs@debian.org>2020-12-11 21:26:58 +0200
committerGraham Inggs <ginggs@debian.org>2020-12-11 21:26:58 +0200
commit02af5ad97f5def09e95d41203432816f50022534 (patch)
tree665f308b38e709bbc7ce4d055d3f7016f898cf37 /debian/patches
parentcdb702fe5a9835245c5182050b4232ddaeb5ac73 (diff)
downloaddebian_htop-02af5ad97f5def09e95d41203432816f50022534.tar.gz
debian_htop-02af5ad97f5def09e95d41203432816f50022534.tar.bz2
debian_htop-02af5ad97f5def09e95d41203432816f50022534.zip
Fix kFreeBSD build
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0003-Fix-kfreebsd-build.patch16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0003-Fix-kfreebsd-build.patch b/debian/patches/0003-Fix-kfreebsd-build.patch
new file mode 100644
index 0000000..2e4a630
--- /dev/null
+++ b/debian/patches/0003-Fix-kfreebsd-build.patch
@@ -0,0 +1,16 @@
+Description: Fix kFreeBSD build
+ Drop redundant sys/dirent.h include
+Forwarded: https://github.com/htop-dev/htop/pull/386
+Author: Graham Inggs <ginggs@debian.org>
+Last-Update: 2020-12-11
+
+--- a/freebsd/FreeBSDProcessList.c
++++ b/freebsd/FreeBSDProcessList.c
+@@ -14,7 +14,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/_iovec.h>
+-#include <sys/dirent.h>
+ #include <sys/errno.h>
+ #include <sys/param.h> // needs to be included before <sys/jail.h> for MAXPATHLEN
+ #include <sys/jail.h>
diff --git a/debian/patches/series b/debian/patches/series
index c5991a0..57977ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Fix-broken-tree-display.patch
0002-Fix-paussing-in-tree-mode.patch
+0003-Fix-kfreebsd-build.patch

© 2014-2024 Faster IT GmbH | imprint | privacy policy