From 5a740db226099d101f79d1be2b85f42fe761b959 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 11 May 2024 02:13:46 +0200 Subject: [PATCH] make Elf2Mac write non-empty data forks, to unbreak some configure scripts (fixes #233) --- Elf2Mac/Object.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Elf2Mac/Object.cc b/Elf2Mac/Object.cc index 7feba0a40b..197d23aa03 100644 --- a/Elf2Mac/Object.cc +++ b/Elf2Mac/Object.cc @@ -219,6 +219,8 @@ void Object::SingleSegmentApp(string output) file.creator = ResType("????"); file.type = ResType("APPL"); + file.data = "Built using Retro68."; + file.write(output); } @@ -402,5 +404,7 @@ void Object::MultiSegmentApp(string output, SegmentMap& segmentMap) file.creator = ResType("????"); file.type = ResType("APPL"); + file.data = "Built using Retro68,"; + file.write(output); }