+++ /dev/null
-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)])
-
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
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
%build
%{__autoconf}