Loading projects/hfsplus-tools/build +1 −0 Changes for projects/hfsplus-tools/build: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ tar -xf diskdev_cmds-[% c("version") %].tar.gz cd diskdev_cmds-[% c("version") %] patch -p1 < $rootdir/newfs_hfs.diff patch -p1 < $rootdir/ignore-timezone.diff make -j[% c("num_procs") %] Loading projects/hfsplus-tools/config +3 −0 Changes for projects/hfsplus-tools/config: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,3 +21,6 @@ input_files: # exist on Linux (at that path) and is not required on Linux either, and make # the UUID deterministic. - filename: newfs_hfs.diff # Remove UTCToLocal conversion to avoid a different result when hwclock # is set to local time or utc time (tor-browser-build#40844) - filename: ignore-timezone.diff projects/hfsplus-tools/ignore-timezone.diff 0 → 100644 +13 −0 Changes for projects/hfsplus-tools/ignore-timezone.diff: 13 added lines, 0 removed lines. Original line number Diff line number Diff line diff -ru diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c diskdev_cmds-540.1.linux3.n/newfs_hfs.tproj/makehfs.c --- diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c 2012-02-02 23:36:59.000000000 +0100 +++ diskdev_cmds-540.1.linux3.n/newfs_hfs.tproj/makehfs.c 2023-04-17 13:59:41.993000000 +0200 @@ -463,8 +463,7 @@ } hp->lastMountedVersion = kHFSPlusMountVersion; - /* NOTE: create date is in local time, not GMT! */ - hp->createDate = UTCToLocal(defaults->createDate); + hp->createDate = defaults->createDate; hp->modifyDate = defaults->createDate; hp->backupDate = 0; hp->checkedDate = defaults->createDate; tools/signing/gatekeeper-bundling.sh +1 −1 Changes for tools/signing/gatekeeper-bundling.sh: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ test -f "$libdmg_file" || \ "You can build it with:" \ " ./rbm/rbm build --target no_containers libdmg-hfsplus" \ "See var/deps in projects/libdmg-hfsplus/config for the list of build dependencies" hfstools_file="$script_dir/../../out/hfsplus-tools/hfsplus-tools-540.1.linux3-66de66.tar.gz" hfstools_file="$script_dir/../../out/hfsplus-tools/hfsplus-tools-540.1.linux3-81ff5b.tar.gz" test -f "$hfstools_file" || \ exit_error "$hfstools_file is missing." \ "You can build it with:" \ Loading Loading
projects/hfsplus-tools/build +1 −0 Changes for projects/hfsplus-tools/build: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ tar -xf diskdev_cmds-[% c("version") %].tar.gz cd diskdev_cmds-[% c("version") %] patch -p1 < $rootdir/newfs_hfs.diff patch -p1 < $rootdir/ignore-timezone.diff make -j[% c("num_procs") %] Loading
projects/hfsplus-tools/config +3 −0 Changes for projects/hfsplus-tools/config: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,3 +21,6 @@ input_files: # exist on Linux (at that path) and is not required on Linux either, and make # the UUID deterministic. - filename: newfs_hfs.diff # Remove UTCToLocal conversion to avoid a different result when hwclock # is set to local time or utc time (tor-browser-build#40844) - filename: ignore-timezone.diff
projects/hfsplus-tools/ignore-timezone.diff 0 → 100644 +13 −0 Changes for projects/hfsplus-tools/ignore-timezone.diff: 13 added lines, 0 removed lines. Original line number Diff line number Diff line diff -ru diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c diskdev_cmds-540.1.linux3.n/newfs_hfs.tproj/makehfs.c --- diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c 2012-02-02 23:36:59.000000000 +0100 +++ diskdev_cmds-540.1.linux3.n/newfs_hfs.tproj/makehfs.c 2023-04-17 13:59:41.993000000 +0200 @@ -463,8 +463,7 @@ } hp->lastMountedVersion = kHFSPlusMountVersion; - /* NOTE: create date is in local time, not GMT! */ - hp->createDate = UTCToLocal(defaults->createDate); + hp->createDate = defaults->createDate; hp->modifyDate = defaults->createDate; hp->backupDate = 0; hp->checkedDate = defaults->createDate;
tools/signing/gatekeeper-bundling.sh +1 −1 Changes for tools/signing/gatekeeper-bundling.sh: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ test -f "$libdmg_file" || \ "You can build it with:" \ " ./rbm/rbm build --target no_containers libdmg-hfsplus" \ "See var/deps in projects/libdmg-hfsplus/config for the list of build dependencies" hfstools_file="$script_dir/../../out/hfsplus-tools/hfsplus-tools-540.1.linux3-66de66.tar.gz" hfstools_file="$script_dir/../../out/hfsplus-tools/hfsplus-tools-540.1.linux3-81ff5b.tar.gz" test -f "$hfstools_file" || \ exit_error "$hfstools_file is missing." \ "You can build it with:" \ Loading