forked from mirrors/nixpkgs
Merge pull request #195903 from wegank/zod-wxgtk
zod: fix build on aarch64-linux
This commit is contained in:
commit
dfb28590f7
|
@ -7,7 +7,7 @@
|
||||||
, SDL_ttf
|
, SDL_ttf
|
||||||
, SDL_mixer
|
, SDL_mixer
|
||||||
, libmysqlclient
|
, libmysqlclient
|
||||||
, wxGTK
|
, wxGTK32
|
||||||
, symlinkJoin
|
, symlinkJoin
|
||||||
, runCommandLocal
|
, runCommandLocal
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
@ -31,7 +31,7 @@ let
|
||||||
SDL_ttf
|
SDL_ttf
|
||||||
SDL_mixer
|
SDL_mixer
|
||||||
libmysqlclient
|
libmysqlclient
|
||||||
wxGTK
|
wxGTK32
|
||||||
coreutils
|
coreutils
|
||||||
];
|
];
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
@ -74,7 +74,8 @@ let
|
||||||
];
|
];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
|
substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
|
||||||
--replace 'message = wxT("./zod");' 'message = wxT("zod");'
|
--replace 'message = wxT("./zod");' 'message = wxT("zod");' \
|
||||||
|
--replace "check.replace(i,1,1,'_');" "check.replace(i,1,1,(wxUniChar)'_');"
|
||||||
'';
|
'';
|
||||||
preBuild = "cd zod_launcher_src";
|
preBuild = "cd zod_launcher_src";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -106,5 +107,6 @@ in
|
||||||
homepage = "http://zod.sourceforge.net/";
|
homepage = "http://zod.sourceforge.net/";
|
||||||
maintainers = with maintainers; [ zeri ];
|
maintainers = with maintainers; [ zeri ];
|
||||||
license = licenses.gpl3Plus; /* Says the website */
|
license = licenses.gpl3Plus; /* Says the website */
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue