|
2 | 2 | * |
3 | 3 | * DO NOT EDIT THIS FILE (fixincl.x) |
4 | 4 | * |
5 | | - * It has been AutoGen-ed January 18, 2023 at 07:54:50 PM by AutoGen 5.18.7 |
| 5 | + * It has been AutoGen-ed January 18, 2023 at 09:06:47 PM by AutoGen 5.18.7 |
6 | 6 | * From the definitions inclhack.def |
7 | 7 | * and the template file fixincl |
8 | 8 | */ |
9 | | -/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Jan 18 19:54:50 GMT 2023 |
| 9 | +/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Jan 18 21:06:47 GMT 2023 |
10 | 10 | * |
11 | 11 | * You must regenerate it. Use the ./genfixes script. |
12 | 12 | * |
|
15 | 15 | * certain ANSI-incompatible system header files which are fixed to work |
16 | 16 | * correctly with ANSI C and placed in a directory that GNU C will search. |
17 | 17 | * |
18 | | - * This file contains 273 fixup descriptions. |
| 18 | + * This file contains 274 fixup descriptions. |
19 | 19 | * |
20 | 20 | * See README for more information. |
21 | 21 | * |
@@ -3084,6 +3084,53 @@ static const char* apzDarwin_Os_Trace_2Patch[] = { |
3084 | 3084 | #endif", |
3085 | 3085 | (char*)NULL }; |
3086 | 3086 |
|
| 3087 | +/* * * * * * * * * * * * * * * * * * * * * * * * * * |
| 3088 | + * |
| 3089 | + * Description of Darwin_Objc_Runtime_1 fix |
| 3090 | + */ |
| 3091 | +tSCC zDarwin_Objc_Runtime_1Name[] = |
| 3092 | + "darwin_objc_runtime_1"; |
| 3093 | + |
| 3094 | +/* |
| 3095 | + * File name selection pattern |
| 3096 | + */ |
| 3097 | +tSCC zDarwin_Objc_Runtime_1List[] = |
| 3098 | + "objc/runtime.h\0"; |
| 3099 | +/* |
| 3100 | + * Machine/OS name selection pattern |
| 3101 | + */ |
| 3102 | +tSCC* apzDarwin_Objc_Runtime_1Machs[] = { |
| 3103 | + "*-*-darwin2*", |
| 3104 | + (const char*)NULL }; |
| 3105 | + |
| 3106 | +/* |
| 3107 | + * content selection pattern - do fix if pattern found |
| 3108 | + */ |
| 3109 | +tSCC zDarwin_Objc_Runtime_1Select0[] = |
| 3110 | + "OBJC_EXPORT void.*\n\ |
| 3111 | +objc_enumerateClasses.*\n\ |
| 3112 | +.*\n\ |
| 3113 | +.*\n\ |
| 3114 | +.*\n\ |
| 3115 | +.*void \\(\\^ _Nonnull block.*\n\ |
| 3116 | +.*\n\ |
| 3117 | +.*\n\ |
| 3118 | +.*OBJC_REFINED_FOR_SWIFT.*"; |
| 3119 | + |
| 3120 | +#define DARWIN_OBJC_RUNTIME_1_TEST_CT 1 |
| 3121 | +static tTestDesc aDarwin_Objc_Runtime_1Tests[] = { |
| 3122 | + { TT_EGREP, zDarwin_Objc_Runtime_1Select0, (regex_t*)NULL }, }; |
| 3123 | + |
| 3124 | +/* |
| 3125 | + * Fix Command Arguments for Darwin_Objc_Runtime_1 |
| 3126 | + */ |
| 3127 | +static const char* apzDarwin_Objc_Runtime_1Patch[] = { |
| 3128 | + "format", |
| 3129 | + "#if __BLOCKS__\n\ |
| 3130 | +%0\n\ |
| 3131 | +#endif", |
| 3132 | + (char*)NULL }; |
| 3133 | + |
3087 | 3134 | /* * * * * * * * * * * * * * * * * * * * * * * * * * |
3088 | 3135 | * |
3089 | 3136 | * Description of Darwin_Os_Trace_3 fix |
@@ -11115,9 +11162,9 @@ static const char* apzX11_SprintfPatch[] = { |
11115 | 11162 | * |
11116 | 11163 | * List of all fixes |
11117 | 11164 | */ |
11118 | | -#define REGEX_COUNT 311 |
| 11165 | +#define REGEX_COUNT 312 |
11119 | 11166 | #define MACH_LIST_SIZE_LIMIT 187 |
11120 | | -#define FIX_COUNT 273 |
| 11167 | +#define FIX_COUNT 274 |
11121 | 11168 |
|
11122 | 11169 | /* |
11123 | 11170 | * Enumerate the fixes |
@@ -11196,6 +11243,7 @@ typedef enum { |
11196 | 11243 | DARWIN_LONGJMP_NORETURN_FIXIDX, |
11197 | 11244 | DARWIN_OS_TRACE_1_FIXIDX, |
11198 | 11245 | DARWIN_OS_TRACE_2_FIXIDX, |
| 11246 | + DARWIN_OBJC_RUNTIME_1_FIXIDX, |
11199 | 11247 | DARWIN_OS_TRACE_3_FIXIDX, |
11200 | 11248 | DARWIN_OS_BASE_1_FIXIDX, |
11201 | 11249 | DARWIN_DISPATCH_OBJECT_1_FIXIDX, |
@@ -11764,6 +11812,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { |
11764 | 11812 | DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
11765 | 11813 | aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 }, |
11766 | 11814 |
|
| 11815 | + { zDarwin_Objc_Runtime_1Name, zDarwin_Objc_Runtime_1List, |
| 11816 | + apzDarwin_Objc_Runtime_1Machs, |
| 11817 | + DARWIN_OBJC_RUNTIME_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
| 11818 | + aDarwin_Objc_Runtime_1Tests, apzDarwin_Objc_Runtime_1Patch, 0 }, |
| 11819 | + |
11767 | 11820 | { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List, |
11768 | 11821 | apzDarwin_Os_Trace_3Machs, |
11769 | 11822 | DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
|
0 commit comments