diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
commit | 45392c898b8ba163e95028bd98896e77f0c73806 (patch) | |
tree | bf6b64dd472acc2960a5c24b26dd0ac036b47d0d /dev-scheme | |
parent | 2916cf6049cf9d3092021e247d56c580df6029a7 (diff) |
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/Manifest.gz | bin | 9808 -> 9812 bytes | |||
-rw-r--r-- | dev-scheme/racket/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/racket/files/racket-8.14-compiler-elf.patch | 29 | ||||
-rw-r--r-- | dev-scheme/racket/racket-8.14-r1.ebuild (renamed from dev-scheme/racket/racket-8.14.ebuild) | 4 |
4 files changed, 35 insertions, 1 deletions
diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz Binary files differindex 68b96d64c9da..51b0cd736b1c 100644 --- a/dev-scheme/Manifest.gz +++ b/dev-scheme/Manifest.gz diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest index 9c0e56559dad..473fd81df39d 100644 --- a/dev-scheme/racket/Manifest +++ b/dev-scheme/racket/Manifest @@ -1,4 +1,5 @@ +AUX racket-8.14-compiler-elf.patch 1294 BLAKE2B 0d70496751906726f07b4966b14a5c10a872eb4b9000beeb8d20f9c5d1605c205933dccddfdc62d60549a2d8f2dac8fd0d2bf7ef9853a5b75b7b87160742613d SHA512 e80785c8aa306e7a92b8cd4be94f1b513e123f33b2d9fb49f3ba5808fb1ab93de7ad1708349ce933acf54db5622316a15d739de2d59538369ec1eafbee79b7b5 DIST racket-8.14-src-builtpkgs.tgz 157264256 BLAKE2B a6b5e61785abd8869db7800f5a5b5113e8462a8c887a8d1c7d9ed2af0c54ff37865d79a27a132bf9e50d0a4d2f4f58769707e9076591fdb6958c40e380df74d6 SHA512 b5eca5050aa1eab880ba0d1571c12577c80c9cd8e945caf8d07ae81864e964899f547b58e9d901444bb09575ace2c422b61fc1fc62d8c7df5b51a425b874c176 DIST racket-minimal-8.14-src-builtpkgs.tgz 23391100 BLAKE2B 4b95b98c142d49c6f9ab5c7a654cd854183f2f088b8e8fc841ee2aaa65192ee5230634ca36caa26ffbc9bff5b1591f524ca84a4a13512249afc005998c97bd49 SHA512 f84a50be0d8a401d47d7517e6dc4b8a730b85ad80d1786edaa95b5cf86f4979e69d0f958a99de79631ed5885c4daf6092f39f1ac791f35422fe6d587e4d81465 -EBUILD racket-8.14.ebuild 5386 BLAKE2B 77f2cb6e1088f8622fddebac7f4225d8598022c0b9cb813c64693c1452209c93068ff88b8f939b8932dce3ef17d0109b07a94eccf0a24c2ea132aaf656d282ea SHA512 83e8a346291f3c365408358964c6ef7af924108a72620fa9aead2952cb522b67b6a4ba99a72989d589e8faf7925dd095e9608202a70a3c3491d11f8e38140913 +EBUILD racket-8.14-r1.ebuild 5463 BLAKE2B 54f71b306025a69f74169ed15b5079e3ef97e1e92c2a0281f6c09e657b5f34362173908d70b62b2106f69ff1192440dd3d187672de6918c706f8e048fc529a80 SHA512 366b64cc4b02bc76c4ea3f753f26a8f221cc9db103f089ab3610e25e86f90d82b19c28bf790f75f8e1c1e0194e01be57cb7d39f26427e8ac79923d24e937838f MISC metadata.xml 1885 BLAKE2B 0a77f8dc3d86ee5c4f12919b05893ad43c03f1eb21ace376552de1f0aaf071ddd15f27c59ef008f85cdb362e3ed316fbcb3a17ac2a3d4f18a38ad954df7bb338 SHA512 9510e5f9797419fb3da8799487c7dfc808eb9fc1fccfbbd8c225d04f617e00acd0e5b7a14ab6e05dc59b8cbc035a2d35a37dfe9459a42e5347d7ee499894fb5b diff --git a/dev-scheme/racket/files/racket-8.14-compiler-elf.patch b/dev-scheme/racket/files/racket-8.14-compiler-elf.patch new file mode 100644 index 000000000000..3ba22ffca38e --- /dev/null +++ b/dev-scheme/racket/files/racket-8.14-compiler-elf.patch @@ -0,0 +1,29 @@ +This was modified to make it apply for distribution tarball. + +From bf288da1171e884537760d2f5723ceb03840de98 Mon Sep 17 00:00:00 2001 +From: Matthew Flatt <mflatt@racket-lang.org> +Date: Mon, 26 Aug 2024 07:42:26 -0600 +Subject: [PATCH] raco exe: repair ELF update to add a section + +When a NOBITS section is misinterpreted as taking up space in the +file, and when that space would overlap with the string-constant +update, then an incorrect update to the virtual-memory size of the +section was planned. That adjustment, in turn, could trigger +disallowed virtual-address shifts to PROGBITS sections that are later +in memory, leading to a "cannot move SHT_PROGBITS section" error. +--- + racket/collects/compiler/private/elf.rkt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/racket/collects/compiler/private/elf.rkt b/racket/collects/compiler/private/elf.rkt +index c3009727cfd..a0fbef331db 100644 +--- a/collects/compiler/private/elf.rkt ++++ b/collects/compiler/private/elf.rkt +@@ -256,6 +256,7 @@ + (define (find-section-by-offset offset sections) + (for/or ([s (in-list sections)]) + (and (section-alloc? s) ++ (not (= SHT_NOBITS (section-type s))) + (offset . >= . (section-offset s)) + (offset . < . (+ (section-offset s) + (section-size s))) diff --git a/dev-scheme/racket/racket-8.14.ebuild b/dev-scheme/racket/racket-8.14-r1.ebuild index 925ecc23c2f1..368267e3d50e 100644 --- a/dev-scheme/racket/racket-8.14.ebuild +++ b/dev-scheme/racket/racket-8.14-r1.ebuild @@ -66,6 +66,10 @@ src_prepare() { # Remove bundled libffi. rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi" + + cd "${WORKDIR}/${P}" || die + + eapply "${FILESDIR}/${P}-compiler-elf.patch" } src_configure() { |