git: c5e5e7e16df7 - main - misc/llama-cpp: Fix regression in run-time

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 23 Dec 2024 00:01:26 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5e5e7e16df7c86c8e9f0091cfdfcf87e73571a5

commit c5e5e7e16df7c86c8e9f0091cfdfcf87e73571a5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-22 23:58:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-23 00:01:24 +0000

    misc/llama-cpp: Fix regression in run-time
    
    ... caused by missing code to retrieve path
    to the currently running executable.
    
    PR:             283470
    Reported by:    mord0d@firemail.cc
    modified:   distinfo
---
 misc/llama-cpp/Makefile | 3 ++-
 misc/llama-cpp/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile
index a31c484ccf05..5effe760899b 100644
--- a/misc/llama-cpp/Makefile
+++ b/misc/llama-cpp/Makefile
@@ -1,10 +1,11 @@
 PORTNAME=	llama-cpp
 DISTVERSIONPREFIX=	b
 DISTVERSION=	4372
+PORTREVISION=	1
 CATEGORIES=	misc # machine-learning
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	121f915a09c1117d34aff6e8faf6d252aaf11027.patch:-p1 # Add missing pthread includes: https://github.com/ggerganov/llama.cpp/pull/9258
+PATCHFILES=	a68c7eeec527b505e7c9226817e374e53e6cedb1.patch:-p1 # Fix run-time on FreeBSD in get_executable_path(): https://github.com/ggerganov/llama.cpp/pull/10948
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Facebook's LLaMA model in C/C++ # '
diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo
index a3a8ce5520eb..a9b2dbda376b 100644
--- a/misc/llama-cpp/distinfo
+++ b/misc/llama-cpp/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1734757115
+TIMESTAMP = 1734911761
 SHA256 (ggerganov-llama.cpp-b4372_GH0.tar.gz) = 9f3615c26da4a0f25123093d2d1a7822331777ba6bacea1de07e52a866901a49
 SIZE (ggerganov-llama.cpp-b4372_GH0.tar.gz) = 20594935
 SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc
 SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496
-SHA256 (121f915a09c1117d34aff6e8faf6d252aaf11027.patch) = 9a0c47ae3cb7dd51b6ce19187dafd48578210f69558f7c8044ee480471f1fd33
-SIZE (121f915a09c1117d34aff6e8faf6d252aaf11027.patch) = 591
+SHA256 (a68c7eeec527b505e7c9226817e374e53e6cedb1.patch) = fd70161607513e10d95bb021c4413e47f5524c49897e56747235c4c4b5795202
+SIZE (a68c7eeec527b505e7c9226817e374e53e6cedb1.patch) = 1191