Merge pull request #263371 from scvalex/fix-mytetra

mytetra: fix build
This commit is contained in:
Peder Bergebakken Sundt 2023-10-27 19:56:55 +02:00 committed by GitHub
commit 3e8e178218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,10 @@ mkDerivation rec {
substituteInPlace app/src/views/mainWindow/MainWindow.cpp \
--replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
# https://github.com/xintrea/mytetra_dev/issues/164
substituteInPlace thirdParty/mimetex/mimetex.c \
--replace "const char *strcasestr" "char *strcasestr"
'';
postFixup = ''