[packages/less] up to 692
atler
atler at pld-linux.org
Thu May 21 14:04:17 CEST 2026
commit 1cb8eda989cd64295666c571842964b54f07e729
Author: Jan Palus <atler at pld-linux.org>
Date: Thu May 21 14:04:00 2026 +0200
up to 692
less-shell.patch | 7 ++++---
less.spec | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/less.spec b/less.spec
index 7ec20a5..0898fb8 100644
--- a/less.spec
+++ b/less.spec
@@ -8,13 +8,13 @@ Summary(ru.UTF-8): Программа для просмотра текстовы
Summary(tr.UTF-8): Metin dosyası görüntüleyici - more benzeri
Summary(uk.UTF-8): Програма для перегляду текстових файлів схожа на more, але краща
Name: less
-Version: 685
+Version: 692
Release: 1
License: GPL v3+
Group: Applications/Text
#Source0Download: http://www.greenwoodsoftware.com/less/download.html
Source0: https://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
-# Source0-md5: 08bd7e4cd067ec19b755726ca4544d65
+# Source0-md5: 4efd31e34ecf7682a6c62a3c53007600
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 07bb76556307ab4cecba7abd3933bad2
Source2: %{name}echo.1
diff --git a/less-shell.patch b/less-shell.patch
index ae8b43a..bdce529 100644
--- a/less-shell.patch
+++ b/less-shell.patch
@@ -1,6 +1,6 @@
--- less-661/filename.c.orig 2024-08-24 20:24:56.143727073 +0200
+++ less-661/filename.c 2024-08-24 20:27:41.742829946 +0200
-@@ -550,37 +550,7 @@ static FILE * shellcmd(constant char *cm
+@@ -550,38 +550,7 @@ static FILE * shellcmd(constant char *cm
{
FILE *fd;
@@ -23,9 +23,10 @@
- fd = popen(cmd, "r");
- } else
- {
-- size_t len = strlen(shell) + strlen(esccmd) + 5;
+- constant char *copt = shell_coption();
+- size_t len = strlen(shell) + strlen(esccmd) + strlen(copt) + 3;
- scmd = (char *) ecalloc(len, sizeof(char));
-- SNPRINTF3(scmd, len, "%s %s %s", shell, shell_coption(), esccmd);
+- SNPRINTF3(scmd, len, "%s %s %s", shell, copt, esccmd);
- free(esccmd);
- fd = popen(scmd, "r");
- free(scmd);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/less.git/commitdiff/1cb8eda989cd64295666c571842964b54f07e729
More information about the pld-cvs-commit
mailing list