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
This commit is contained in:
Yuri Victorovich 2024-12-22 15:58:24 -08:00
parent 7e3e9bdb9a
commit c5e5e7e16d
2 changed files with 5 additions and 4 deletions

View file

@ -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++ # '

View file

@ -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