[packages/w3m] fix build by dropping no longer provided AM_LANGINFO_CODESET macro

atler atler at pld-linux.org
Tue Jan 12 21:08:28 CET 2021


commit 8ebe57a0705313ae0d53e32a2d539d85e63eecef
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 12 20:35:27 2021 +0100

    fix build by dropping no longer provided AM_LANGINFO_CODESET macro

 w3m-configure.patch | 16 ++++++++++++++++
 w3m.spec            |  2 ++
 2 files changed, 18 insertions(+)
---
diff --git a/w3m.spec b/w3m.spec
index 04a3dcd..8aca505 100644
--- a/w3m.spec
+++ b/w3m.spec
@@ -24,6 +24,7 @@ Patch4:		%{name}-gc.patch
 Patch5:		format-security.patch
 Patch6:		ac-gettext.patch
 Patch7:		openssl.patch
+Patch8:		%{name}-configure.patch
 URL:		http://w3m.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -98,6 +99,7 @@ na linuksowym framebufferze.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %{__sed} '/^AC_PROG_CXX$/d' -i configure.ac
 
diff --git a/w3m-configure.patch b/w3m-configure.patch
new file mode 100644
index 0000000..4d121bd
--- /dev/null
+++ b/w3m-configure.patch
@@ -0,0 +1,16 @@
+--- w3m-0.5.3/configure.ac.orig	2021-01-12 20:33:09.667706508 +0100
++++ w3m-0.5.3/configure.ac	2021-01-12 20:34:11.974071518 +0100
+@@ -154,13 +154,6 @@
+ AC_FUNC_STRFTIME
+ AC_FUNC_WAIT3
+ AC_FUNC_SETPGRP
+-case "$host_os" in
+-  *cygwin*)
+-    ;;
+-  *)
+-    AM_LANGINFO_CODESET
+-    ;;
+-esac
+ AC_W3M_SYS_ERRLIST
+ AC_W3M_SIGSETJMP
+ AC_W3M_SIGNAL
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/w3m.git/commitdiff/ebc32427717989b1d01a222ff7a795a3a7914b59



More information about the pld-cvs-commit mailing list