git: b9994ae18767 - main - devel/samurai: Update to latest commit.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 00:38:14 UTC
The branch main has been updated by adamw:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b9994ae18767f1dcfc34c7e0a2fb3e2508c26baf
commit b9994ae18767f1dcfc34c7e0a2fb3e2508c26baf
Author: Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2024-09-05 00:34:00 +0000
Commit: Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2024-09-05 00:38:08 +0000
devel/samurai: Update to latest commit.
While here, re-enable load-based scheduling. It was turned off by
default upstream because, per the commit message disabling it:
Many platforms don't have getloadavg or hide it behind platform-
specific defines. Rather than try to work around it with an ifdef
maze, disable it by default.
FreeBSD's getloadavg works as advertised, and frankly load-based
scheduling is one of the main reasons one might choose samurai over
ninja.
---
devel/samurai/Makefile | 4 ++--
devel/samurai/distinfo | 6 +++---
devel/samurai/files/patch-Makefile | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/devel/samurai/Makefile b/devel/samurai/Makefile
index ba018aff2102..dffcd1a72e58 100644
--- a/devel/samurai/Makefile
+++ b/devel/samurai/Makefile
@@ -1,5 +1,5 @@
PORTNAME= samurai
-DISTVERSION= 1.2-17
+DISTVERSION= 1.2-2024.09.04
DISTVERSIONSUFFIX= -${GH_TAGNAME}
CATEGORIES= devel
@@ -17,7 +17,7 @@ CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
GH_ACCOUNT= michaelforney
-GH_TAGNAME= 217059f
+GH_TAGNAME= 1890235
ALL_TARGET= samu
PLIST_FILES= bin/samu \
diff --git a/devel/samurai/distinfo b/devel/samurai/distinfo
index 3b80a7c37df9..5300b4612aad 100644
--- a/devel/samurai/distinfo
+++ b/devel/samurai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688826100
-SHA256 (michaelforney-samurai-1.2-17-217059f-217059f_GH0.tar.gz) = 6c0c512c5647cdac88eabf483269cf491d816cac94ebdb861647059763c1185e
-SIZE (michaelforney-samurai-1.2-17-217059f-217059f_GH0.tar.gz) = 32697
+TIMESTAMP = 1725496083
+SHA256 (michaelforney-samurai-1.2-2024.09.04-1890235-1890235_GH0.tar.gz) = 7f2cb469e78cb00c31bdb40c128d67c67673d296d3283eb8f6a0b348a7e54d6d
+SIZE (michaelforney-samurai-1.2-2024.09.04-1890235-1890235_GH0.tar.gz) = 32717
diff --git a/devel/samurai/files/patch-Makefile b/devel/samurai/files/patch-Makefile
index 9a0e6e677882..ac3c4ad1bfb5 100644
--- a/devel/samurai/files/patch-Makefile
+++ b/devel/samurai/files/patch-Makefile
@@ -9,7 +9,7 @@
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wno-unused-parameter
-+ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wno-unused-parameter
++ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wno-unused-parameter -DHAVE_GETLOADAVG
OBJ=\
build.o\
deps.o\