[packages/WordNet] - adapterized and fixed patch fuzz

baggins baggins at pld-linux.org
Fri Jun 19 01:47:26 CEST 2026


commit cb41dd0f62dc41ce7fb14750b06a9c74e97ee1d8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jun 18 23:55:13 2026 +0200

    - adapterized and fixed patch fuzz

 WordNet-FHS.patch    |  2 +-
 WordNet-shared.patch |  2 +-
 WordNet.spec         | 14 +++++++-------
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/WordNet.spec b/WordNet.spec
index e471a46..0aabc64 100644
--- a/WordNet.spec
+++ b/WordNet.spec
@@ -87,10 +87,10 @@ Graficzny interfejs do sieciowej bazy danych słownika WordNet.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
 
 %build
 %{__libtoolize}
@@ -130,12 +130,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libWN.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libWN.so.0
+%{_libdir}/libWN.so.*.*.*
+%ghost %{_libdir}/libWN.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libWN.so
+%{_libdir}/libWN.so
 %{_libdir}/libWN.la
 %{_includedir}/wn.h
 %{_mandir}/man3/binsrch.3*
diff --git a/WordNet-FHS.patch b/WordNet-FHS.patch
index 399a88c..e7ff9ae 100644
--- a/WordNet-FHS.patch
+++ b/WordNet-FHS.patch
@@ -3,7 +3,7 @@
 @@ -1,2 +1,2 @@
 -dictdir = $(prefix)/dict
 +dictdir = $(datadir)/WordNet/dict
- dict_DATA = adj.exc adv.exc cntlist cntlist.rev data.adj data.adv data.noun data.verb frames.vrb index.adj index.adv index.noun index.sense index.verb log.grind.2.1 noun.exc sentidx.vrb sents.vrb verb.Framestext verb.exc
+ dict_DATA = adj.exc adv.exc cntlist cntlist.rev data.adj data.adv data.noun data.verb frames.vrb index.adj index.adv index.noun index.sense index.verb log.grind.3.0 noun.exc sentidx.vrb sents.vrb verb.Framestext verb.exc lexnames
 --- WordNet-2.1/include/wn.h~	2005-12-17 22:55:38.000000000 +0200
 +++ WordNet-2.1/include/wn.h	2005-12-17 22:55:40.000000000 +0200
 @@ -30,7 +30,7 @@
diff --git a/WordNet-shared.patch b/WordNet-shared.patch
index 80f3b27..0764586 100644
--- a/WordNet-shared.patch
+++ b/WordNet-shared.patch
@@ -7,7 +7,7 @@
 +lib_LTLIBRARIES = libWN.la
 +libWN_la_SOURCES = binsrch.c morph.c search.c wnglobal.c wnhelp.c wnrtl.c wnutil.c
 +libWN_la_CPPFLAGS = $(INCLUDES)
- INCLUDES = -I$(top_srcdir)/include
+ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include
  SUBDIRS = wnres
 --- WordNet-2.1/configure.ac~	2005-07-08 21:19:09.000000000 +0300
 +++ WordNet-2.1/configure.ac	2005-12-17 22:40:22.000000000 +0200
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/WordNet.git/commitdiff/cb41dd0f62dc41ce7fb14750b06a9c74e97ee1d8



More information about the pld-cvs-commit mailing list