[Scummvm-git-logs] scummvm master -> b4e8c450b9447088e4ed97fb04bda6068dd3b79b

dwatteau noreply at scummvm.org
Sat May 2 07:20:37 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
b4e8c450b9 BUILD: MACOS: (Hopefully) Fix UTF-8 BOM for OSX 10.4/10.5 .dmg file


Commit: b4e8c450b9447088e4ed97fb04bda6068dd3b79b
    https://github.com/scummvm/scummvm/commit/b4e8c450b9447088e4ed97fb04bda6068dd3b79b
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2026-05-02T09:05:43+02:00

Commit Message:
BUILD: MACOS: (Hopefully) Fix UTF-8 BOM for OSX 10.4/10.5 .dmg file

Changed paths:
    ports.mk


diff --git a/ports.mk b/ports.mk
index 3090fbce975..81bda2e9da4 100644
--- a/ports.mk
+++ b/ports.mk
@@ -663,7 +663,7 @@ osxsnap: bundle
 	mkdir ScummVM-snapshot/doc/sv
 	cp $(DIST_FILES_DOCS_se) ./ScummVM-snapshot/doc/sv/
 ifdef MACOSX_LEOPARD_OR_BELOW
-	perl -pi -e 'print "\xEF\xBB\xBF" if $$. == 1 && !/^\xEF\xBB\xBF/' ./ScummVM-snapshot/doc/*/*
+	perl -pi -e 'print "\xEF\xBB\xBF" if $$. == 1 && substr($$_, 0, 3) ne "\xEF\xBB\xBF"; close ARGV if eof' ./ScummVM-snapshot/doc/*/*
 else
 	xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/*/*
 endif




More information about the Scummvm-git-logs mailing list