git: a0f00719c5ea - main - devel/mold: Update to 2.31.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 May 2024 16:07:26 UTC
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0f00719c5ea4767841ca5f2b9dc6e47e2ab2ce1 commit a0f00719c5ea4767841ca5f2b9dc6e47e2ab2ce1 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2024-05-03 15:42:32 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2024-05-03 16:06:51 +0000 devel/mold: Update to 2.31.0 - Add a patch to fix building on FreeBSD, submitted upstream at https://github.com/rui314/mold/pull/1251 --- devel/mold/Makefile | 3 +-- devel/mold/distinfo | 6 +++--- devel/mold/files/patch-common_filepath.cc | 13 +++++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/devel/mold/Makefile b/devel/mold/Makefile index 51e14745d304..c97cab8c9f86 100644 --- a/devel/mold/Makefile +++ b/devel/mold/Makefile @@ -1,7 +1,6 @@ PORTNAME= mold DISTVERSIONPREFIX= v -DISTVERSION= 2.30.0 -PORTREVISION= 1 +DISTVERSION= 2.31.0 CATEGORIES= devel MAINTAINER= ashish@FreeBSD.org diff --git a/devel/mold/distinfo b/devel/mold/distinfo index ec0437f8b951..31ffd1797b6e 100644 --- a/devel/mold/distinfo +++ b/devel/mold/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710587725 -SHA256 (rui314-mold-v2.30.0_GH0.tar.gz) = 6e5178ccafe828fdb4ba0dd841d083ff6004d3cb41e56485143eb64c716345fd -SIZE (rui314-mold-v2.30.0_GH0.tar.gz) = 9957539 +TIMESTAMP = 1714749682 +SHA256 (rui314-mold-v2.31.0_GH0.tar.gz) = 3dc3af83a5d22a4b29971bfad17261851d426961c665480e2ca294e5c74aa1e5 +SIZE (rui314-mold-v2.31.0_GH0.tar.gz) = 10031469 diff --git a/devel/mold/files/patch-common_filepath.cc b/devel/mold/files/patch-common_filepath.cc new file mode 100644 index 000000000000..12d71a2034c8 --- /dev/null +++ b/devel/mold/files/patch-common_filepath.cc @@ -0,0 +1,13 @@ +--- common/filepath.cc.orig 2024-05-03 15:37:12 UTC ++++ common/filepath.cc +@@ -3,6 +3,10 @@ + #include <filesystem> + #include <sys/stat.h> + ++#ifdef __FreeBSD__ ++# include <sys/sysctl.h> ++#endif ++ + #ifdef __APPLE__ + # include <mach-o/dyld.h> + #endif