aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lloro <ivan.lloro.boada@gmail.com>2024-08-04 21:50:48 +0200
committerIvan Lloro <ivan.lloro.boada@gmail.com>2024-08-04 21:51:34 +0200
commitdddee384e3b565220f190073acce350c770b4196 (patch)
tree253eaceaed4ea68a8b01d8ed8c91a01bb9607393 /sci-physics
parentgui-wm/cage: add 0.1.5_p20240227 (diff)
downloadguru-dddee384e3b565220f190073acce350c770b4196.tar.gz
guru-dddee384e3b565220f190073acce350c770b4196.tar.bz2
guru-dddee384e3b565220f190073acce350c770b4196.zip
sci-physics/openmodelica: Update third party Minizip library to solve compilation error with GCC 14
Closes: https://bugs.gentoo.org/937038 Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/openmodelica/openmodelica-1.23.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
index 2b40845d6..619aeb6ea 100644
--- a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
+++ b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
@@ -105,6 +105,10 @@ src_unpack() {
mv "${WORKDIR}/OMSimulator-3rdParty-ca418d7768c036ac15e9894d7f00d2118b3399a6" "${WORKDIR}/${P}/OMSimulator/3rdParty" || die
mv "OMBootstrapping-c289e97c41d00939a4a69fe504961b47283a6d8e" "${WORKDIR}/${P}/OMCompiler/Compiler/boot/bomc" || die
touch "${WORKDIR}/${P}/OMCompiler/Compiler/boot/bomc/sources.tar.gz" || die
+
+ # Solve https://bugs.gentoo.org/937038
+ rm -fr "${WORKDIR}/${P}/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip" || die
+ cp -a "${WORKDIR}/${P}/OMSimulator/3rdParty/fmi4c/3rdparty/minizip" "${WORKDIR}/${P}/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip" || die
}
src_configure() {