commit 0a7985c8a73179ef0675c0d89591773418fb9de2
Author: Jakub Bogusz <[email protected]>
Date:   Wed Aug 26 19:17:07 2020 +0200

    - added glibc patch (fix build without sys_errlist symbol obsoleted in 
glibc 2.32)
    - release 27 (rebuild without libnsl dependency in -hyperestraier)

 tomoe-glibc.patch | 11 +++++++++++
 tomoe.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tomoe.spec b/tomoe.spec
index c405f8c..31e0fa8 100644
--- a/tomoe.spec
+++ b/tomoe.spec
@@ -8,7 +8,7 @@ Summary:        Handwritten input system for Japanese and 
Chinese
 Summary(pl.UTF-8):     System wprowadzania pisma ręcznego dla japońskiego i 
chińskiego
 Name:          tomoe
 Version:       0.6.0
-Release:       26
+Release:       27
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/tomoe/%{name}-%{version}.tar.gz
@@ -20,6 +20,7 @@ Patch3:               %{name}-glib2.32.patch
 Patch4:                %{name}-ruby.patch
 Patch5:                %{name}-format.patch
 Patch6:                am.patch
+Patch7:                %{name}-glibc.patch
 URL:           http://tomoe.sourceforge.jp/
 BuildRequires: apr-util-devel
 BuildRequires: autoconf >= 2.57
@@ -180,6 +181,7 @@ Plik nagłówkowy biblioteki Ruby/Tomoe.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %{__sed} -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' data/xml2est.rb
 
diff --git a/tomoe-glibc.patch b/tomoe-glibc.patch
new file mode 100644
index 0000000..2687bdd
--- /dev/null
+++ b/tomoe-glibc.patch
@@ -0,0 +1,11 @@
+--- tomoe-0.6.0/lib/tomoe-xml-parser.c.orig    2020-08-26 16:45:28.030391010 
+0200
++++ tomoe-0.6.0/lib/tomoe-xml-parser.c 2020-08-26 17:23:07.704815970 +0200
+@@ -441,7 +441,7 @@
+     f = fopen (filename, "rb");
+     if (!f) {
+         g_warning ("failed to open dictionary file %s: %s", filename,
+-                   sys_errlist[errno]);
++                   g_strerror(errno));
+     }
+     g_return_val_if_fail (f, FALSE);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomoe.git/commitdiff/0a7985c8a73179ef0675c0d89591773418fb9de2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to