Skip to content

Commit

Permalink
devel/mold: Update to 2.31.0
Browse files Browse the repository at this point in the history
- Add a patch to fix building on FreeBSD, submitted upstream
  at rui314/mold#1251
  • Loading branch information
wahjava committed May 3, 2024
1 parent ac9e42c commit a0f0071
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
3 changes: 1 addition & 2 deletions devel/mold/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
PORTNAME= mold
DISTVERSIONPREFIX= v
DISTVERSION= 2.30.0
PORTREVISION= 1
DISTVERSION= 2.31.0
CATEGORIES= devel

MAINTAINER= ashish@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions devel/mold/distinfo
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions devel/mold/files/patch-common_filepath.cc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a0f0071

Please sign in to comment.