svn commit: r561434 - head/sysutils/htop

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 13 03:28:17 UTC 2021


Author: pkubaj
Date: Wed Jan 13 03:28:16 2021
New Revision: 561434
URL: https://svnweb.freebsd.org/changeset/ports/561434

Log:
  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
  
  MFH:		2021Q1

Modified:
  head/sysutils/htop/Makefile

Modified: head/sysutils/htop/Makefile
==============================================================================
--- head/sysutils/htop/Makefile	Wed Jan 13 03:20:49 2021	(r561433)
+++ head/sysutils/htop/Makefile	Wed Jan 13 03:28:16 2021	(r561434)
@@ -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


More information about the svn-ports-all mailing list