Skip to content

Commit

Permalink
sci-physics/openmodelica: Update third party Minizip library to solve…
Browse files Browse the repository at this point in the history
… compilation error with GCC 14

Closes: https://bugs.gentoo.org/937038
Signed-off-by: Ivan Lloro <[email protected]>
  • Loading branch information
IvanLloro committed Aug 4, 2024
1 parent 42a52dc commit dddee38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sci-physics/openmodelica/openmodelica-1.23.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit dddee38

Please sign in to comment.