SHA256
6
0
forked from pool/screen

Accepting request 137554 from home:lnt-sysadmin:branches:Base:System

The currently used "--enable-locale" is not correct, it should be "--enable-use-locale" instead, as the configure code is testing: 
-------- 
if test "$enable_use_locale" = "yes"; then 
... 
-------- 
Hence, using "--enable-locale" will result in a warning about an unknown option.

Changelog updated and bug reported upstream here: https://savannah.gnu.org/bugs/index.php?37528

OBS-URL: https://build.opensuse.org/request/show/137554
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=37
This commit is contained in:
Ismail Dönmez
2012-10-09 13:15:30 +00:00
committed by Git OBS Bridge
parent f516d617e1
commit 603a97f8a3
3 changed files with 33 additions and 1 deletions

View File

@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Url: http://www.gnu.org/software/screen/
Name: screen
@@ -44,6 +45,7 @@ Patch5: sort_command.patch
Patch6: libtinfo.diff
Patch7: mappedcmd.diff
Patch8: styroptcrash.diff
Patch9: use_locale.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -64,6 +66,7 @@ Documentation: man page
%patch6
%patch7 -p2
%patch8 -p2
%patch9 -p1
%build
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \
@@ -71,7 +74,7 @@ CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_info
--with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
--with-sys-screenrc=/etc/screenrc \
--with-pty-group=5 \
--enable-locale \
--enable-use-locale \
--enable-telnet \
--enable-colors256 \
--verbose