diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-01-13 03:28:58 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-01-13 03:28:58 +0000 |
commit | 879ad2d48d764c93b477c79ad7f5be582566f99d (patch) | |
tree | 04658b796f476414def4c71dd9fdb8cc140acf2d /sysutils | |
parent | ad0de595596623f22a092ee2cc3f1cf7c576042c (diff) | |
download | ports-879ad2d48d764c93b477c79ad7f5be582566f99d.tar.gz ports-879ad2d48d764c93b477c79ad7f5be582566f99d.zip |
MFH: r561434
sysutils/htop: fix build on GCC architectures
freebsd/FreeBSDProcessList.c: In function 'FreeBSDProcessList_readJailName':
freebsd/FreeBSDProcessList.c:422: error: #pragma GCC diagnostic not allowed inside functions
freebsd/FreeBSDProcessList.c:422: error: #pragma GCC diagnostic not allowed inside functions
freebsd/FreeBSDProcessList.c:425: warning: cast discards qualifiers from pointer target type
freebsd/FreeBSDProcessList.c:435: error: #pragma GCC diagnostic not allowed inside functions
Notes
Notes:
svn path=/branches/2021Q1/; revision=561435
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/htop/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 5a4a35e2b96b..327a5e36608c 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -11,7 +11,8 @@ COMMENT= Better top(1) - interactive process viewer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf libtool localbase ncurses pkgconfig python:build shebangfix +USES= autoreconf compiler:c11 libtool localbase ncurses pkgconfig \ + python:build shebangfix USE_GITHUB= yes GH_ACCOUNT= htop-dev |