A patch by Bill Nottingham <notting@redhat.com> (#174761)

This commit is contained in:
praszyk 2005-12-02 12:09:23 +00:00
parent 29e96bf528
commit 2b9c9eb748
2 changed files with 22 additions and 1 deletions

14
slang-LANG.patch Normal file
View File

@ -0,0 +1,14 @@
--- slang-2.0.5/src/slsmg.c.rasold 2005-12-02 12:54:03.000000000 +0100
+++ slang-2.0.5/src/slsmg.c 2005-12-02 12:57:49.000000000 +0100
@@ -1500,8 +1500,10 @@
if (Smg_Inited)
SLsmg_reset_smg ();
- if (UTF8_Mode == -1)
+ if (UTF8_Mode == -1){
+ SLutf8_enable (-1);
UTF8_Mode = _pSLutf8_mode;
+ }
if (-1 == (*tt_init_video) ())
{

View File

@ -3,12 +3,13 @@
Summary: The shared library for the S-Lang extension language.
Name: slang
Version: 2.0.5
Release: 4
Release: 5
License: GPL
Group: System Environment/Libraries
Source: ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.0/slang-%{version}.tar.bz2
Patch1: slang-makefile.patch
Patch2: slang-nointerlibc2.patch
Patch3: slang-LANG.patch
Url: http://www.s-lang.org/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libtool, libtermcap-devel
@ -41,6 +42,7 @@ based on the S-Lang extension language.
%setup -n slang-%{version} -q
%patch1 -p1 -b .makefile
%patch2 -p1 -b .nointerlibc2
%patch3 -p1 -b .LANG
%build
@ -85,6 +87,11 @@ rm -rf ${RPM_BUILD_ROOT}
%{_includedir}/slang
%changelog
* Fri Dec 2 2005 Petr Raszyk <praszyk@redhat.com> - 2.0.5-5
- A patch by Bill Nottingham <notting@redhat.com>
(#174761). slang-LANG.patch
slang reads automatically sh-env-variable LANG.
* Mon Nov 21 2005 Petr Raszyk <praszyk@redhat.com> - 2.0.5-3
- Rebuild.