commit d4f4612a3028e2a5b5e81f29b9aab1d11ccfb3c9 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Wed Jun 7 18:39:49 2023 +0200
- updated to 633 less-procfs.patch | 24 ------------------------ less.spec | 8 +++----- 2 files changed, 3 insertions(+), 29 deletions(-) --- diff --git a/less.spec b/less.spec index 1190ac8..00e678b 100644 --- a/less.spec +++ b/less.spec @@ -8,20 +8,19 @@ Summary(ru.UTF-8): Программа для просмотра текстовы Summary(tr.UTF-8): Metin dosyası görüntüleyici - more benzeri Summary(uk.UTF-8): Програма для перегляду текстових файлів схожа на more, але краща Name: less -Version: 608 -Release: 2 +Version: 633 +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: 1cdec714569d830a68f4cff11203cdba +# Source0-md5: 35cc7734e9e6224388ab7b9a214da4da 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 Patch0: %{name}-shell.patch Patch1: %{name}-multilib.patch Patch2: %{name}-libtinfo.patch -Patch3: %{name}-procfs.patch URL: http://www.greenwoodsoftware.com/less/ BuildRequires: autoconf >= 2.50 BuildRequires: ncurses-devel >= 5.0 @@ -78,7 +77,6 @@ sağlar. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build %{__autoconf} diff --git a/less-procfs.patch b/less-procfs.patch deleted file mode 100644 index c58b9af..0000000 --- a/less-procfs.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruNp less-608.orig/ch.c less-608/ch.c ---- less-608.orig/ch.c 2022-07-22 21:26:24.000000000 +0200 -+++ less-608/ch.c 2023-02-12 02:22:29.484707848 +0100 -@@ -28,6 +28,7 @@ extern ino_t curr_ino; - - #if HAVE_PROCFS - #include <sys/statfs.h> -+#include <linux/magic.h> - #endif - - typedef POSITION BLOCKNUM; -diff -ruNp less-608.orig/configure.ac less-608/configure.ac ---- less-608.orig/configure.ac 2022-07-22 21:26:24.000000000 +0200 -+++ less-608/configure.ac 2023-02-12 02:22:29.484707848 +0100 -@@ -271,7 +271,8 @@ AC_TRY_COMPILE([#include <sys/types.h> - [struct stat s; dev_t dev = s.st_dev; ino_t ino = s.st_ino;], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_STAT_INO)], [AC_MSG_RESULT(no)]) - AC_MSG_CHECKING(for procfs) --AC_TRY_COMPILE([#include <sys/statfs.h>], -+AC_TRY_COMPILE([#include <sys/statfs.h> -+#include <linux/magic.h>], - [struct statfs s; s.f_type = PROC_SUPER_MAGIC; (void) fstatfs(0,&s); ], - [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_PROCFS)], [AC_MSG_RESULT(no)]) - ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/less.git/commitdiff/d4f4612a3028e2a5b5e81f29b9aab1d11ccfb3c9 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit