git: a0223eae1ea7 - main - multimedia/kew: update 2.5.1 → 2.6.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 04 Jul 2024 16:18:48 UTC
The branch main has been updated by yuri:

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

commit a0223eae1ea74f1043f25d861ef4e31ab5386fd6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-04 15:42:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-04 16:18:43 +0000

    multimedia/kew: update 2.5.1 → 2.6.0
---
 multimedia/kew/Makefile               |  2 +-
 multimedia/kew/distinfo               |  6 +++---
 multimedia/kew/files/patch-src_file.c | 32 --------------------------------
 3 files changed, 4 insertions(+), 36 deletions(-)

diff --git a/multimedia/kew/Makefile b/multimedia/kew/Makefile
index a72ed4e160d0..4c9b3e27fab0 100644
--- a/multimedia/kew/Makefile
+++ b/multimedia/kew/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kew
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.5.1
+DISTVERSION=	2.6.0
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/multimedia/kew/distinfo b/multimedia/kew/distinfo
index 3d3b72745f4b..824b11fdd812 100644
--- a/multimedia/kew/distinfo
+++ b/multimedia/kew/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720051738
-SHA256 (ravachol-kew-v2.5.1_GH0.tar.gz) = dd5d67c6f216e55c54e3a3b258d3892e83494eca4ec35e1675710745524d1a81
-SIZE (ravachol-kew-v2.5.1_GH0.tar.gz) = 994661
+TIMESTAMP = 1720107559
+SHA256 (ravachol-kew-v2.6.0_GH0.tar.gz) = a2f53dbdc1bf677bdbdda020ecef69eee28aa70507ea24f9af5f0d0cf8463f29
+SIZE (ravachol-kew-v2.6.0_GH0.tar.gz) = 995535
diff --git a/multimedia/kew/files/patch-src_file.c b/multimedia/kew/files/patch-src_file.c
deleted file mode 100644
index e4f83ed70cdd..000000000000
--- a/multimedia/kew/files/patch-src_file.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- src/file.c.orig	2024-07-04 00:23:14 UTC
-+++ src/file.c
-@@ -127,7 +127,8 @@ int walker(const char *startPath, const char *searchin
-                 }
- 
-                 char entryPath[MAXPATHLEN];
--                char *currentDir = get_current_dir_name();
-+		char buf[PATH_MAX];
-+                char *currentDir = getcwd(buf, PATH_MAX);
-                 snprintf(entryPath, sizeof(entryPath), "%s/%s", currentDir, dir->d_name);
-                 free(currentDir);
- 
-@@ -141,7 +142,8 @@ int walker(const char *startPath, const char *searchin
-                         if (((exactSearch && (strcasecmp(dir->d_name, searching) == 0)) || (!exactSearch && c_strcasestr(dir->d_name, searching) != NULL)) &&
-                             (searchType != FileOnly) && (searchType != SearchPlayList))
-                         {
--                                char *curDir = get_current_dir_name();
-+				char buf[PATH_MAX];
-+                                char *curDir = getcwd(buf, PATH_MAX);
-                                 snprintf(result, MAXPATHLEN, "%s/%s", curDir, dir->d_name);
-                                 free(curDir);
-                                 copyresult = true;
-@@ -187,7 +189,8 @@ int walker(const char *startPath, const char *searchin
- 
-                         if ((exactSearch && (strcasecmp(dir->d_name, searching) == 0)) || (!exactSearch && c_strcasestr(dir->d_name, searching) != NULL))
-                         {
--                                char *curDir = get_current_dir_name();
-+				char buf[PATH_MAX];
-+                                char *curDir = getcwd(buf, PATH_MAX);
-                                 snprintf(result, MAXPATHLEN, "%s/%s", curDir, dir->d_name);
-                                 copyresult = true;
-                                 free(curDir);