From a0f00719c5ea4767841ca5f2b9dc6e47e2ab2ce1 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Fri, 3 May 2024 15:42:32 +0000 Subject: [PATCH] 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(-) create mode 100644 devel/mold/files/patch-common_filepath.cc diff --git a/devel/mold/Makefile b/devel/mold/Makefile index 51e14745d304f..c97cab8c9f869 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 ec0437f8b9517..31ffd1797b6e2 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 0000000000000..12d71a2034c88 --- /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 + #include + ++#ifdef __FreeBSD__ ++# include ++#endif ++ + #ifdef __APPLE__ + # include + #endif