aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2024-09-05 00:34:00 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2024-09-05 00:38:08 +0000
commitb9994ae18767f1dcfc34c7e0a2fb3e2508c26baf (patch)
tree16dde70fa064fb4b0c48a4810fcab5a03ac10c0a
parent5fe925dbc83522b734c3d594168aa6cae668212d (diff)
downloadports-b9994ae18767f1dcfc34c7e0a2fb3e2508c26baf.tar.gz
ports-b9994ae18767f1dcfc34c7e0a2fb3e2508c26baf.zip
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.
-rw-r--r--devel/samurai/Makefile4
-rw-r--r--devel/samurai/distinfo6
-rw-r--r--devel/samurai/files/patch-Makefile2
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\