svn commit: r561435 - branches/2021Q1/sysutils/htop

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


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


More information about the svn-ports-all mailing list