diff options
author | Daniel Lange <DLange@git.local> | 2021-01-20 09:00:24 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-20 09:07:41 +0100 |
commit | 74161a1ac61365760db1c01fb4f7121650bde78e (patch) | |
tree | 6fa1e5d496addc84d4e469f5627814db2d117740 /debian/patches/0004-fix-kfreebsd-build.patch | |
parent | 520f53ae811a43b77c5515147786ce81099a7352 (diff) | |
download | debian_htop-74161a1ac61365760db1c01fb4f7121650bde78e.tar.gz debian_htop-74161a1ac61365760db1c01fb4f7121650bde78e.tar.bz2 debian_htop-74161a1ac61365760db1c01fb4f7121650bde78e.zip |
Backport fix for kFreeBSD compiler warnings
Diffstat (limited to 'debian/patches/0004-fix-kfreebsd-build.patch')
-rw-r--r-- | debian/patches/0004-fix-kfreebsd-build.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0004-fix-kfreebsd-build.patch b/debian/patches/0004-fix-kfreebsd-build.patch new file mode 100644 index 0000000..b81be10 --- /dev/null +++ b/debian/patches/0004-fix-kfreebsd-build.patch @@ -0,0 +1,25 @@ +Backport of upstream commits 47cebaf and 78b993d + +Fix kfreeBSD build warnings +--- a/freebsd/FreeBSDProcessList.c ++++ b/freebsd/FreeBSDProcessList.c +@@ -5,6 +5,8 @@ + in the source distribution for its full text. + */ + ++#include "config.h" // IWYU pragma: keep ++ + #include "FreeBSDProcessList.h" + + #include <assert.h> +--- a/freebsd/Platform.c ++++ b/freebsd/Platform.c +@@ -5,6 +5,8 @@ + in the source distribution for its full text. + */ + ++#include "config.h" // IWYU pragma: keep ++ + #include "Platform.h" + + #include <devstat.h> |