7a1f829ebf
The bundled version of cereal is outdated and produces this build error:
In file included from /wrkdirs/usr/ports/emulators/ripes/work/Ripes-2.2.6/external/VSRTL/graphics/vsrtl_componentgraphic.cpp:14:
In file included from /wrkdirs/usr/ports/emulators/ripes/work/Ripes-2.2.6/external/VSRTL/external/cereal/include/cereal/archives/json.hpp:56:
/wrkdirs/usr/ports/emulators/ripes/work/Ripes-2.2.6/external/VSRTL/external/cereal/include/cereal/external/rapidjson/document.h:319:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int')
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~ ^
/wrkdirs/usr/ports/emulators/ripes/work/Ripes-2.2.6/external/VSRTL/external/cereal/include/cereal/external/rapidjson/document.h:325:20: note: non-static data member 'length' declared const here
325 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
1 error generated.
Unbundle devel/cereal to get an up to date version which does not
exhibit this issue and to follow our policy on unbundling.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
34 lines
983 B
Makefile
34 lines
983 B
Makefile
PORTNAME= ripes
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.2.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators
|
|
|
|
MAINTAINER= mclay@astate.edu
|
|
COMMENT= Graphical processor simulator and assembly editor for the RISC-V ISA
|
|
WWW= https://github.com/mortbopet/ripes
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/cereal/cereal.hpp:devel/cereal
|
|
|
|
USES= cmake qmake qt:5
|
|
|
|
USE_QT= buildtools:build charts concurrent core gui svg testlib widgets
|
|
|
|
CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mortbopet
|
|
GH_PROJECT= Ripes
|
|
GH_TUPLE= mortbopet:VSRTL:8fd0bce:VSRTL/external/VSRTL \
|
|
serge1:ELFIO:79fcd11:ELFIO/external/ELFIO \
|
|
mortbopet:libelfin:49d1653:libelfin/external/libelfin \
|
|
yhirose:cpp-mmaplib:c517af7:cpp_mmaplib/external/libelfin/external/cpp-mmaplib \
|
|
pbhogan:Signals:17881fb:Signals/external/VSRTL/external/Signals \
|
|
mortbopet:better-enums:52a694b:better_enums/external/VSRTL/external/better-enums
|
|
|
|
PORTSCOUT= ignore:continuous-master
|
|
|
|
.include <bsd.port.mk>
|