diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /app-emulation/ski/files | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'app-emulation/ski/files')
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch | 22 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-gcc-10.patch | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch b/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch new file mode 100644 index 000000000000..dcb3f6793fba --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch @@ -0,0 +1,22 @@ +diff --git a/src/linux/dwarf-linux.c b/src/linux/dwarf-linux.c +index 73be0e6..c4051a3 100644 +--- a/src/linux/dwarf-linux.c ++++ b/src/linux/dwarf-linux.c +@@ -116,14 +116,14 @@ find_in_section (bfd * bfd, asection * sect, PTR obj) + /* + * we're looking at loadable code only + */ +- if ((bfd_get_section_flags (bfd, sect) & (SEC_CODE | SEC_ALLOC)) == 0) ++ if ((bfd_section_flags (sect) & (SEC_CODE | SEC_ALLOC)) == 0) + return; + + /* + * check if address belongs to this section + */ +- vma = bfd_get_section_vma (bfd, sect); +- size = bfd_section_size (bfd, sect); ++ vma = bfd_section_vma (sect); ++ size = bfd_section_size (sect); + + offset = info->address - vma; + if (offset >= size) diff --git a/app-emulation/ski/files/ski-1.3.2-gcc-10.patch b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch new file mode 100644 index 000000000000..bfe5de33acbf --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch @@ -0,0 +1,22 @@ +--- a/src/linux/syscall-linux.c ++++ b/src/linux/syscall-linux.c +@@ -538,7 +538,7 @@ pid_t cons_pid = -1; + static int cfd = -1; + BOOL trace_syscalls; + char *consLog = NULL; +-extern BOOL noConsole; ++BOOL noConsole; + extern BOOL userint; + static struct termios sane_ttyIos; + +--- a/src/platform.c ++++ b/src/platform.c +@@ -29,7 +29,7 @@ + #include "platform.h" + #include "state.h" + +-BOOL autoAlloc, noConsole; ++extern BOOL autoAlloc, noConsole; + extern char *consLog; + extern unsigned va_len, pa_len, rid_len, key_len; + extern unsigned mips; |