[packages/wdiff] Rel 2
arekm
arekm at pld-linux.org
Sat Mar 14 12:00:41 CET 2026
commit 32f63bb5cd6001fa306a75dc7594fba84308ec3c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 14 12:00:13 2026 +0100
Rel 2
wdiff-c23.patch | 11 +++++++++++
wdiff.spec | 8 +++++---
2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/wdiff.spec b/wdiff.spec
index 5f977c2..4a3752e 100644
--- a/wdiff.spec
+++ b/wdiff.spec
@@ -1,12 +1,13 @@
Summary: Word-based diff front end
Name: wdiff
Version: 1.2.2
-Release: 1
-License: GPL v2+
+Release: 2
+License: GPL v3+
Group: Applications/Text
Source0: http://ftp.gnu.org/gnu/wdiff/%{name}-%{version}.tar.gz
# Source0-md5: 1c6ddd1f3106139ff9fe00e934df715f
-URL: http://www.gnu.org/software/wdiff/wdiff.html
+URL: https://www.gnu.org/software/wdiff/wdiff.html
+Patch0: wdiff-c23.patch
BuildRequires: ncurses-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +22,7 @@ display of word differences between the original files.
%prep
%setup -q
+%patch -P0 -p1
%build
%configure
diff --git a/wdiff-c23.patch b/wdiff-c23.patch
new file mode 100644
index 0000000..419ca32
--- /dev/null
+++ b/wdiff-c23.patch
@@ -0,0 +1,11 @@
+--- wdiff-1.2.2/src/mdiff.c.orig 2014-08-16 00:53:12.000000000 +0200
++++ wdiff-1.2.2/src/mdiff.c 2025-01-21 12:00:00.000000000 +0100
+@@ -53,8 +53,6 @@
+ #include <ctype.h>
+ #include <string.h>
+
+-char *strstr ();
+-
+ #if HAVE_TPUTS
+ # if HAVE_TERMCAP_H
+ # include <termcap.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wdiff.git/commitdiff/32f63bb5cd6001fa306a75dc7594fba84308ec3c
More information about the pld-cvs-commit
mailing list