git: c983a807cafc - main - devel/libowfat: Fix depending ports build with -fno-common
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Feb 2023 18:07:59 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=c983a807cafca5e32628dfa1b5808207b0292b91 commit c983a807cafca5e32628dfa1b5808207b0292b91 Author: Marco Steinbach <coco@executive-computing.de> AuthorDate: 2023-02-20 18:05:18 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-02-20 18:05:18 +0000 devel/libowfat: Fix depending ports build with -fno-common This small patch, the idea for which I have blatantly stolen from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libowfat/files/libowfat-0.32-gcc10.patch tries to fix that. PR: 260184 --- devel/libowfat/Makefile | 1 + devel/libowfat/files/patch-io_internal.h | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/devel/libowfat/Makefile b/devel/libowfat/Makefile index c10da4af7947..98fa33d62fea 100644 --- a/devel/libowfat/Makefile +++ b/devel/libowfat/Makefile @@ -1,5 +1,6 @@ PORTNAME= libowfat PORTVERSION= 0.32 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://www.fefe.de/libowfat/ diff --git a/devel/libowfat/files/patch-io_internal.h b/devel/libowfat/files/patch-io_internal.h new file mode 100644 index 000000000000..30d70f2eaf13 --- /dev/null +++ b/devel/libowfat/files/patch-io_internal.h @@ -0,0 +1,11 @@ +--- io_internal.h.orig 2021-12-03 03:57:20.158865000 +0100 ++++ io_internal.h 2021-12-03 03:57:28.438206000 +0100 +@@ -83,7 +83,7 @@ + my_extern long first_readable; + my_extern long first_writeable; + +-my_extern long first_deferred; ++extern long first_deferred; + + my_extern enum __io_waitmode { + UNDECIDED,