View | Details | Raw Unified | Return to bug 278110 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/root/Makefile (-1 / +5 lines)
Lines 1-5 Link Here
1
PORTNAME=	root
1
PORTNAME=	root
2
DISTVERSION=	6.30.06
2
DISTVERSION=	6.30.06
3
PORTREVISION=	2
3
CATEGORIES=	devel science math parallel python
4
CATEGORIES=	devel science math parallel python
4
MASTER_SITES=	https://root.cern/download/
5
MASTER_SITES=	https://root.cern/download/
5
DISTFILES=	${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX}
6
DISTFILES=	${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX}
Lines 11-16 WWW= https://root.cern/ Link Here
11
LICENSE=	LGPL21
12
LICENSE=	LGPL21
12
LICENSE_FILE=	${WRKSRC}/LGPL2_1.txt
13
LICENSE_FILE=	${WRKSRC}/LGPL2_1.txt
13
14
15
# future-proofing w.r.t. next CURRENT release
16
BROKEN_FreeBSD_16=	fails to build: Patch for newest CURRENT release is missing
17
14
BUILD_AND_RUN_DEPENDS=	bash:shells/bash \
18
BUILD_AND_RUN_DEPENDS=	bash:shells/bash \
15
			nlohmann-json>=3:devel/nlohmann-json
19
			nlohmann-json>=3:devel/nlohmann-json
16
BUILD_DEPENDS=	${BUILD_AND_RUN_DEPENDS}
20
BUILD_DEPENDS=	${BUILD_AND_RUN_DEPENDS}
Lines 56-62 python_OLD_CMD+= "/usr/bin/env @python@" Link Here
56
# Flags and environment variables for building
60
# Flags and environment variables for building
57
CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17
61
CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17
58
CMAKE_ON=	gnuinstall soversion mathmore
62
CMAKE_ON=	gnuinstall soversion mathmore
59
CMAKE_OFF=	builtin_gtest clad
63
CMAKE_OFF=	builtin_davix builtin_gtest clad davix
60
CONFIGURE_WRKSRC?=	${WRKDIR}/.build
64
CONFIGURE_WRKSRC?=	${WRKDIR}/.build
61
MAKE_ENV+=		ROOTSYS=${CONFIGURE_WRKSRC}
65
MAKE_ENV+=		ROOTSYS=${CONFIGURE_WRKSRC}
62
66
(-)b/devel/root/files/interpreter-cling-include-cling-std__fbsd14.0.modulemap (-1 / +1 lines)
Lines 1-5 Link Here
1
// FreeBSD port maintainer note:
1
// FreeBSD port maintainer note:
2
// Taken from 
2
// Taken from
3
// https://github.com/freebsd/freebsd-src/blob/release/14.0.0/lib/libc%2B%2B/module.modulemap
3
// https://github.com/freebsd/freebsd-src/blob/release/14.0.0/lib/libc%2B%2B/module.modulemap
4
// on 2024-05-15.
4
// on 2024-05-15.
5
5
(-)b/devel/root/files/interpreter-cling-include-cling-std__fbsd15.0.modulemap (-1 / +1 lines)
Lines 1-5 Link Here
1
// FreeBSD port maintainer note:
1
// FreeBSD port maintainer note:
2
// Taken from 
2
// Taken from
3
// https://github.com/freebsd/freebsd-src/blob/main/lib/libc%2B%2B/module.modulemap
3
// https://github.com/freebsd/freebsd-src/blob/main/lib/libc%2B%2B/module.modulemap
4
// on 2024-05-15.
4
// on 2024-05-15.
5
// Outer "module std [system] { }" block has been added.
5
// Outer "module std [system] { }" block has been added.
(-)b/devel/root/files/patch-interpreter_cling_lib_Interpreter_Interpreter.cpp (-2 / +13 lines)
Lines 1-6 Link Here
1
--- interpreter/cling/lib/Interpreter/Interpreter.cpp.orig	2024-04-01 14:37:20 UTC
1
--- interpreter/cling/lib/Interpreter/Interpreter.cpp.orig	2024-05-24 20:57:59 UTC
2
+++ interpreter/cling/lib/Interpreter/Interpreter.cpp
2
+++ interpreter/cling/lib/Interpreter/Interpreter.cpp
3
@@ -876,8 +876,10 @@ namespace cling {
3
@@ -462,7 +462,10 @@ namespace cling {
4
 #else
5
     const char* LinkageCxx = Linkage;
6
     const char* Attr = "";
7
+#if defined(__FreeBSD__) && __FreeBSD_version > 1499999
8
+    Attr = " throw () ";
9
 #endif
10
+#endif
11
 
12
 #if defined(__GLIBCXX__)
13
     const char* cxa_atexit_is_noexcept = LangOpts.CPlusPlus ? " noexcept" : "";
14
@@ -876,8 +879,10 @@ namespace cling {
4
                                     /*AllowExtraSearch*/ true))
15
                                     /*AllowExtraSearch*/ true))
5
       return loadModule(M, complain);
16
       return loadModule(M, complain);
6
 
17
 
(-)b/devel/root/pkg-plist (-2 / +1 lines)
Lines 3828-3834 lib/root/libMultiProc.so.%%SHLIB_VER%% Link Here
3828
lib/root/libNet.so
3828
lib/root/libNet.so
3829
lib/root/libNet.so.%%SHLIB_SHVER%%
3829
lib/root/libNet.so.%%SHLIB_SHVER%%
3830
lib/root/libNet.so.%%SHLIB_VER%%
3830
lib/root/libNet.so.%%SHLIB_VER%%
3831
%%ONLY_INSTALLED_ON_AARCH64%%lib/root/libNetx.rootmap
3832
%%ONLY_INSTALLED_ON_AARCH64%%lib/root/libNetxNG.rootmap
3831
%%ONLY_INSTALLED_ON_AARCH64%%lib/root/libNetxNG.rootmap
3833
lib/root/libNetxNG.so
3832
lib/root/libNetxNG.so
3834
lib/root/libNetxNG.so.%%SHLIB_SHVER%%
3833
lib/root/libNetxNG.so.%%SHLIB_SHVER%%
Lines 4210-4216 lib/root/libvectorDict.so.%%SHLIB_SHVER%% Link Here
4210
lib/root/libvectorDict.so.%%SHLIB_VER%%
4209
lib/root/libvectorDict.so.%%SHLIB_VER%%
4211
%%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx
4210
%%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx
4212
%%NOT_INSTALLED_ON_AARCH64%%lib/root/std.pcm
4211
%%NOT_INSTALLED_ON_AARCH64%%lib/root/std.pcm
4213
%%ONLY_INSTALLED_ON_FBSD14%%lib/root/std_config.pcm
4212
%%ONLY_INSTALLED_ON_FBSD14%%%%NOT_INSTALLED_ON_AARCH64%%lib/root/std_config.pcm
4214
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
4213
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
4215
%%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md
4214
%%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md
4216
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
4215
%%PORTDOCS%%%%DOCSDIR%%/INSTALL

Return to bug 278110