1 From 55b2a5fcc38eb62f53e155bd8c741481690f1c73 Mon Sep 17 00:00:00 2001
2 From: Randy Eckenrode <randy@largeandhighquality.com>
3 Date: Wed, 10 Apr 2024 19:08:39 -0400
4 Subject: [PATCH 1/6] Fix build issues with misc/redo_prebinding.c
6 - Add missing headers; and
7 - Add missing arguments to `writeout`.
9 misc/redo_prebinding.c | 7 ++++---
10 1 file changed, 4 insertions(+), 3 deletions(-)
12 diff --git a/misc/redo_prebinding.c b/misc/redo_prebinding.c
13 index a5a3c81..9d0f4c8 100644
14 --- a/misc/redo_prebinding.c
15 +++ b/misc/redo_prebinding.c
17 #include <mach-o/redo_prebinding.h>
18 #endif /* defined(LIBRARY_API) */
25 #import <stuff/hppa.h>
26 #import <stuff/execute.h>
27 #import <stuff/guess_short_name.h>
28 -//#import <stuff/seg_addr_table.h>
29 +#import <stuff/seg_addr_table.h>
30 #import <stuff/macosx_deployment_target.h>
32 #include <mach-o/dyld.h>
33 @@ -918,7 +919,7 @@ char *envp[])
36 writeout(archs, narchs, output_file, mode, TRUE, FALSE, FALSE,
38 + FALSE, FALSE, NULL);
40 if(write_to_stdout == FALSE)
42 @@ -928,7 +929,7 @@ char *envp[])
44 output_file = makestr(input_file, ".redo_prebinding", NULL);
45 writeout(archs, narchs, output_file, mode, TRUE, FALSE, FALSE,
47 + FALSE, FALSE, NULL);