diff options
author | 2021-09-07 21:49:32 +0100 | |
---|---|---|
committer | 2021-09-07 20:03:13 -0400 | |
commit | f18190f1c6a974bb606e30c3b0d0f71dd041f391 (patch) | |
tree | 647c82e96ad4a2859f760bcb9e2200b3d2bd914c /games-engines/scummvm-tools/files | |
parent | games-engines/scummvm: sync live ebuild (diff) | |
download | gentoo-f18190f1c6a974bb606e30c3b0d0f71dd041f391.tar.gz gentoo-f18190f1c6a974bb606e30c3b0d0f71dd041f391.tar.bz2 gentoo-f18190f1c6a974bb606e30c3b0d0f71dd041f391.zip |
games-engines/scummvm-tools: Fix build without native symlinks
Closes: https://bugs.gentoo.org/744424
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22228
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-engines/scummvm-tools/files')
-rw-r--r-- | games-engines/scummvm-tools/files/scummvm-tools-2.2.0-strings.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games-engines/scummvm-tools/files/scummvm-tools-2.2.0-strings.patch b/games-engines/scummvm-tools/files/scummvm-tools-2.2.0-strings.patch new file mode 100644 index 000000000000..1bd3f9f399dc --- /dev/null +++ b/games-engines/scummvm-tools/files/scummvm-tools-2.2.0-strings.patch @@ -0,0 +1,17 @@ +Fix build without native symlinks +https://bugs.gentoo.org/744424 + +--- a/configure ++++ b/configure +@@ -1026,9 +1026,9 @@ void _ebcdic() { char* s = (char*) ebcdi + int main() { _ascii (); _ebcdic (); return 0; } + EOF + $CXX $CXXFLAGS -c -o $TMPO.o tmp_endianness_check.cpp +-if strings $TMPO.o | grep BIGenDianSyS >/dev/null; then ++if ${STRINGS} $TMPO.o | grep BIGenDianSyS >/dev/null; then + _endian=big +-elif strings $TMPO.o | grep LiTTleEnDian >/dev/null; then ++elif ${STRINGS} $TMPO.o | grep LiTTleEnDian >/dev/null; then + _endian=little + fi + echo $_endian; |