FreeBSD Bugzilla – Attachment 251095 Details for
Bug 278110
devel/root: Update to 6.30/06
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch of ROOT v. 6.30/06, port revision 3
devel_root05.diff (text/plain), 4.91 KB, created by
Erik Jensen
on 2024-05-30 17:00:05 UTC
(
hide
)
Description:
Patch of ROOT v. 6.30/06, port revision 3
Filename:
MIME Type:
Creator:
Erik Jensen
Created:
2024-05-30 17:00:05 UTC
Size:
4.91 KB
patch
obsolete
>diff --git a/devel/root/Makefile b/devel/root/Makefile >index e1782e634..ab6a83f65 100644 >--- a/devel/root/Makefile >+++ b/devel/root/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= root > DISTVERSION= 6.30.06 >+PORTREVISION= 3 > CATEGORIES= devel science math parallel python > MASTER_SITES= https://root.cern/download/ > DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} >@@ -11,6 +12,9 @@ WWW= https://root.cern/ > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt > >+# future-proofing w.r.t. next CURRENT release >+BROKEN_FreeBSD_16= fails to build: Patch for newest CURRENT release is missing >+ > BUILD_AND_RUN_DEPENDS= bash:shells/bash \ > nlohmann-json>=3:devel/nlohmann-json > BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} >@@ -56,7 +60,7 @@ python_OLD_CMD+= "/usr/bin/env @python@" > # Flags and environment variables for building > CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 > CMAKE_ON= gnuinstall soversion mathmore >-CMAKE_OFF= builtin_gtest clad >+CMAKE_OFF= builtin_davix builtin_gtest clad davix > CONFIGURE_WRKSRC?= ${WRKDIR}/.build > MAKE_ENV+= ROOTSYS=${CONFIGURE_WRKSRC} > >@@ -117,6 +121,9 @@ PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AA > PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX="" > .endif > >+.if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" && ${OSVERSION} > 1499999 >+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-interpreter_cling_lib_Interpreter_Interpreter.cpp.15aarch64 >+.endif > # std_config.pcm exclusive to FreeBSD 14 > .if ${OPSYS} == FreeBSD && (1400000 <= ${OSVERSION} && ${OSVERSION} < 1500000) > PLIST_SUB+= ONLY_INSTALLED_ON_FBSD14="" >diff --git a/devel/root/files/extra-patch-interpreter_cling_lib_Interpreter_Interpreter.cpp.15aarch64 b/devel/root/files/extra-patch-interpreter_cling_lib_Interpreter_Interpreter.cpp.15aarch64 >new file mode 100644 >index 000000000..7bb8ce171 >--- /dev/null >+++ b/devel/root/files/extra-patch-interpreter_cling_lib_Interpreter_Interpreter.cpp.15aarch64 >@@ -0,0 +1,20 @@ >+--- interpreter/cling/lib/Interpreter/Interpreter.cpp.orig 2024-05-19 10:35:56 UTC >++++ interpreter/cling/lib/Interpreter/Interpreter.cpp >+@@ -492,7 +492,7 @@ namespace cling { >+ Strm << "#define __dso_handle ((void*)" << ThisP << ")\n"; >+ >+ // C atexit, std::atexit >+- Strm << Linkage << " int atexit(void(*f)()) " << Attr; >++ Strm << Linkage << " int atexit(void(*f)()) throw () " << Attr; >+ if (EmitDefinitions) >+ Strm << " { return __cxa_atexit((void(*)(void*))f, 0, __dso_handle); }\n"; >+ else >+@@ -501,7 +501,7 @@ namespace cling { >+ >+ // C++ 11 at_quick_exit, std::at_quick_exit >+ if (LangOpts.CPlusPlus && LangOpts.CPlusPlus11) { >+- Strm << LinkageCxx << " int at_quick_exit(void(*f)()) " << Attr; >++ Strm << LinkageCxx << " int at_quick_exit(void(*f)()) throw () " << Attr; >+ if (EmitDefinitions) >+ Strm >+ << " { return __cxa_atexit((void(*)(void*))f, 0, __dso_handle); }\n"; >diff --git a/devel/root/files/interpreter-cling-include-cling-std__fbsd14.0.modulemap b/devel/root/files/interpreter-cling-include-cling-std__fbsd14.0.modulemap >index bfe10929e..c8510f954 100644 >--- a/devel/root/files/interpreter-cling-include-cling-std__fbsd14.0.modulemap >+++ b/devel/root/files/interpreter-cling-include-cling-std__fbsd14.0.modulemap >@@ -1,5 +1,5 @@ > // FreeBSD port maintainer note: >-// Taken from >+// Taken from > // https://github.com/freebsd/freebsd-src/blob/release/14.0.0/lib/libc%2B%2B/module.modulemap > // on 2024-05-15. > >diff --git a/devel/root/files/interpreter-cling-include-cling-std__fbsd15.0.modulemap b/devel/root/files/interpreter-cling-include-cling-std__fbsd15.0.modulemap >index a92ccd7a5..813b04a5b 100644 >--- a/devel/root/files/interpreter-cling-include-cling-std__fbsd15.0.modulemap >+++ b/devel/root/files/interpreter-cling-include-cling-std__fbsd15.0.modulemap >@@ -1,5 +1,5 @@ > // FreeBSD port maintainer note: >-// Taken from >+// Taken from > // https://github.com/freebsd/freebsd-src/blob/main/lib/libc%2B%2B/module.modulemap > // on 2024-05-15. > // Outer "module std [system] { }" block has been added. >diff --git a/devel/root/pkg-plist b/devel/root/pkg-plist >index 69c367b8b..788f4eb03 100644 >--- a/devel/root/pkg-plist >+++ b/devel/root/pkg-plist >@@ -3828,7 +3828,6 @@ lib/root/libMultiProc.so.%%SHLIB_VER%% > lib/root/libNet.so > lib/root/libNet.so.%%SHLIB_SHVER%% > lib/root/libNet.so.%%SHLIB_VER%% >-%%ONLY_INSTALLED_ON_AARCH64%%lib/root/libNetx.rootmap > %%ONLY_INSTALLED_ON_AARCH64%%lib/root/libNetxNG.rootmap > lib/root/libNetxNG.so > lib/root/libNetxNG.so.%%SHLIB_SHVER%% >@@ -4210,7 +4209,7 @@ lib/root/libvectorDict.so.%%SHLIB_SHVER%% > lib/root/libvectorDict.so.%%SHLIB_VER%% > %%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx > %%NOT_INSTALLED_ON_AARCH64%%lib/root/std.pcm >-%%ONLY_INSTALLED_ON_FBSD14%%lib/root/std_config.pcm >+%%ONLY_INSTALLED_ON_FBSD14%%%%NOT_INSTALLED_ON_AARCH64%%lib/root/std_config.pcm > %%PORTDOCS%%%%DOCSDIR%%/CREDITS > %%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md > %%PORTDOCS%%%%DOCSDIR%%/INSTALL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
erik
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 278110
:
249644
|
249667
|
250724
|
250832
|
250896
|
250934
| 251095