mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sys-devel/binutils-apple: remove unused patch
Thanks mm1ke Closes: https://github.com/gentoo/gentoo/pull/31821 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
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) */
|
||||
Reference in New Issue
Block a user