SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
Fix -fno-common by moving fsck_data, from Gentoo
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-fno-common-gcc10.patch
Index: libhfsp/src/fscheck.h
--- libhfsp/src/fscheck.h.orig
+++ libhfsp/src/fscheck.h
@@ -100,10 +100,11 @@ int fscheck_btree(btree *bt);
int fscheck_files(volume* vol);
/** global data used during fsck */
-struct {
+struct fsck_data_t {
UInt32 maxCnid;
UInt32 macNow; // current date in mac-offset
int verbose;
int ignoreErr;
-} fsck_data;
+};
+extern struct fsck_data_t fsck_data;