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

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Jan 13 03:28:58 2021
New Revision: 561435
URL: https://svnweb.freebsd.org/changeset/ports/561435

Log:
  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

Modified:
  branches/2021Q1/sysutils/htop/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/sysutils/htop/Makefile
==============================================================================
--- branches/2021Q1/sysutils/htop/Makefile	Wed Jan 13 03:28:16 2021	(r561434)
+++ branches/2021Q1/sysutils/htop/Makefile	Wed Jan 13 03:28:58 2021	(r561435)
@@ -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.10D3Sw5M026073>