summaryrefslogtreecommitdiff
path: root/sys-devel/binutils-apple
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
commite9d044d4b9b71200a96adfa280848858c0f468c9 (patch)
tree1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /sys-devel/binutils-apple
parentfc2f1018fc323ef2c6572734a9b130427cba76a6 (diff)
gentoo resync : 13.11.2021
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r--sys-devel/binutils-apple/Manifest3
-rw-r--r--sys-devel/binutils-apple/binutils-apple-8.2.1-r101.ebuild4
-rw-r--r--sys-devel/binutils-apple/files/binutils-apple-8.2.1-macos-12.patch24
3 files changed, 30 insertions, 1 deletions
diff --git a/sys-devel/binutils-apple/Manifest b/sys-devel/binutils-apple/Manifest
index 5760437eaae5..2db70b768d27 100644
--- a/sys-devel/binutils-apple/Manifest
+++ b/sys-devel/binutils-apple/Manifest
@@ -1,3 +1,4 @@
+AUX binutils-apple-8.2.1-macos-12.patch 699 BLAKE2B 877fc19bcf884372138ed4cff6f49d67af1da793615decb25ca30ddf12d0c9831335b3608f8bd1523f3a01423450b5066f6a8d7ec3516791e5b1f508acdd715d SHA512 c2457e64c609d43b84003759b9dd9b85982e09fb2613354f7c47d73c30081958b9550f1d1fd5c25ad63979782902b33a8cbdd0dbf2a4aa761a1aea1f39b3f77a
DIST binutils-apple-patches-11.3-r1.tar.bz2 9041 BLAKE2B c881117e19e119173dd8c126859f8ebab5ff4024697c9650b8ba145c021aa6e251086d3678d80fec2672e78637a5beca795b71ae871692e832ba4e69a7a8e04c SHA512 eda63cd89f67674556dc75de719cd318f534544db50165d4faac454f67c557c9944e7e024c4443e640f987ed8c8826ccd578427743a86d7220c2ba90ed2206d4
DIST binutils-apple-patches-3.2.6-r0.tar.bz2 3500 BLAKE2B f10dcf71400ea5d4bf7efb8ad906240765cfb56743274b3e1684eeb4273a35171aa4202d475920cff2c5c39e89f9bd1d7e5b0d38ba6c2b4705b0a592ba47e063 SHA512 4ccb8ebd49ac8eac4dbd0c1f24ee1836f216efd2e9e15b13072cbc76d8f83fbf4f1f6b3b60736bf5d5482af3e49ec1eaedfce8dd0ce1e949f915faf9c92ee0ea
DIST binutils-apple-patches-4.3-r1.tar.bz2 37363 BLAKE2B a5ad04d4bf746a864f03a25d052197ed9a6ecada1f34460f4e38bea8cd87dfe2cb6c7f99f2096acac2231cd1e0c13c53757854b07f729a7a0c5a162a908fbe83 SHA512 f5d64ad182891c3af971e6aabd3c0c1b717b6a1cb471632339cba61b41a998d15880d18de09aafa1c3d059e528c888d6e8b914025c79bc21897d90a6d0e2ebf5
@@ -18,5 +19,5 @@ DIST libunwind-30.tar.gz 82811 BLAKE2B 26993d6afa6930931c01b579326964a66832ed7a6
EBUILD binutils-apple-11.3.1-r1.ebuild 12061 BLAKE2B 8ab50ea0ebec56f3fa9aa6ef3a2b550b870119054d0533a283faaf8acc34bdf50cf36538ce73e99ec799688f084a671ebeb893548f97061c9f5a08151535d705 SHA512 e55d96d015321a987b3825a0cc500c4a639dd9d540e4e7158c9767ee1e8428c4bf49dc62c752e787de4a04b53d7cccce0a1242a3e4bc46b15b6fe3ade2499bc1
EBUILD binutils-apple-3.2.6.ebuild 6926 BLAKE2B f21d41b62afb49a2aca002388c503797d61b3b92387098c8879982ef7eec9f77834ecdd99ff6e30c0fb9b2faad04edc67d484f5943d712f59578324e98334ed5 SHA512 048e828128b4436cdfe1df71ed01c686b5837327696533b455e38c28eab73cb395a1c40810e6d9c58e3224f6787275cbb32e569d13aa616be33833fda8124a9e
EBUILD binutils-apple-8.2.1-r1.ebuild 11356 BLAKE2B b643a55991068539cc7f2f90095418efcb24a15fd07697044582c8726e08eb123daa867b689d23ed4be4c96a28ad09b6b362628c8a3d9b1012ba4705c874dd26 SHA512 1dabd8e789c0b6537c66680ce1b7df278aeae7d92164395f9b02706f842ac584e418c0ffa89dd24bf4809dc976a9be1fb51e18b9a9c8799145efedeb115d5153
-EBUILD binutils-apple-8.2.1-r101.ebuild 3339 BLAKE2B d96d586837d22920ef55bdd1a3041da0d93f3333ecc6ddcf2e7d5f64ecd7059d6e4c4498a4dfa7ed32597e7fd03f3eeea28d282cb33f916c2bfa5e56fe46c7a0 SHA512 d8823924681aa645f8976dec196cb1b5bb0a5336ae9edffc1807b7af9ba0efaa5618316f6ab27e9a4f922d926bdac317dd040bebc8ed2e48b961b74f29af5e04
+EBUILD binutils-apple-8.2.1-r101.ebuild 3394 BLAKE2B b48c3da9facee397f0e1077345776b82f8948c3f2f14ba668d949fe526081296b8c7248596db34728c5bafea22fea900aa57270c4251a626eba2eac95f47f756 SHA512 d677931bb142f08a740f085762043972352507ee6327571f47d88bf38787d075b0fa898c82cf70c0e54d67116389475ffc16bd8b9a45c0c550aed9e82144ea83
MISC metadata.xml 502 BLAKE2B 97f4c34d1468f1fd675ec665c70fe04ec797130f6401e70978e7ad17fc7101d1f3de72c5b87f9c0a0e3307cf8e048ff7091b8107074ed6fb5e757be175c816ec SHA512 a10513a2d34e55b0326dcf4197bc949284836779660c8bd4c35658a3e22486f289d80aac8a31038607789e692e051914a3da39198955ec15c2d3a87b45ac73f4
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r101.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r101.ebuild
index dc08967e9583..091e4e5990b4 100644
--- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r101.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r101.ebuild
@@ -27,6 +27,10 @@ BDEPEND=""
S="${WORKDIR}/darwin-xtools-gentoo-${PVR}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-8.2.1-macos-12.patch
+)
+
src_configure() {
CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
diff --git a/sys-devel/binutils-apple/files/binutils-apple-8.2.1-macos-12.patch b/sys-devel/binutils-apple/files/binutils-apple-8.2.1-macos-12.patch
new file mode 100644
index 000000000000..b30f91d44cb5
--- /dev/null
+++ b/sys-devel/binutils-apple/files/binutils-apple-8.2.1-macos-12.patch
@@ -0,0 +1,24 @@
+Extracted from the patch in
+https://reviews.llvm.org/rG96d071cd0ccc53bbf94bcd6ed4b52c9006b17e15
+License is unclear.
+
+support macOS Monterey by providing definitions which formerly were
+provided
+
+--- a/cctools/otool/print_objc.c
++++ b/cctools/otool/print_objc.c
+@@ -75,6 +75,14 @@
+ uint32_t protocols; /* struct objc_protocol_list * (32-bit pointer) */
+ };
+
++#ifndef CLS_GETINFO
++# define CLS_GETINFO(cls, infomask) ((cls)->info & (infomask))
++// class is not a metaclass
++#define CLS_CLASS 0x1
++// class is a metaclass
++#define CLS_META 0x2
++#endif
++
+ struct objc_category_t {
+ uint32_t category_name; /* char * (32-bit pointer) */
+ uint32_t class_name; /* char * (32-bit pointer) */