Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2024 01:18:14 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3b5bca003cad - main - multimedia/kew: update 2.5.0 =?utf-8?Q?=E2=86=92?= 2.5.1
Message-ID:  <202407040118.4641IEbQ054025@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 3b5bca003cad7d272df814ef646a9b5f04f35951
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-04 01:17:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-04 01:18:07 +0000

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

diff --git a/multimedia/kew/Makefile b/multimedia/kew/Makefile
index 0cd3dfb20d15..a72ed4e160d0 100644
--- a/multimedia/kew/Makefile
+++ b/multimedia/kew/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kew
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.5.0
+DISTVERSION=	2.5.1
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/multimedia/kew/distinfo b/multimedia/kew/distinfo
index 904c4ba16cc2..3d3b72745f4b 100644
--- a/multimedia/kew/distinfo
+++ b/multimedia/kew/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718597031
-SHA256 (ravachol-kew-v2.5.0_GH0.tar.gz) = de3475a9d361d0ffa0f8e7b9d2968d2069addef748ced5be57e4bd084e9b07ff
-SIZE (ravachol-kew-v2.5.0_GH0.tar.gz) = 994440
+TIMESTAMP = 1720051738
+SHA256 (ravachol-kew-v2.5.1_GH0.tar.gz) = dd5d67c6f216e55c54e3a3b258d3892e83494eca4ec35e1675710745524d1a81
+SIZE (ravachol-kew-v2.5.1_GH0.tar.gz) = 994661
diff --git a/multimedia/kew/files/patch-src_file.c b/multimedia/kew/files/patch-src_file.c
new file mode 100644
index 000000000000..e4f83ed70cdd
--- /dev/null
+++ b/multimedia/kew/files/patch-src_file.c
@@ -0,0 +1,32 @@
+--- 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407040118.4641IEbQ054025>