Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 03:28:16 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561434 - head/sysutils/htop
Message-ID:  <202101130328.10D3SG9b025919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101130328.10D3SG9b025919>