diff --git a/screen.changes b/screen.changes index 9a8de9a..24aa451 100644 --- a/screen.changes +++ b/screen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 9 07:47:52 UTC 2012 - lnt-sysadmin@lists.lrz.de + +- add use_locale.diff to fix --enable-use-locale configure option + ------------------------------------------------------------------- Thu Sep 13 13:52:04 CEST 2012 - mls@suse.de diff --git a/screen.spec b/screen.spec index ac66e7e..4982644 100644 --- a/screen.spec +++ b/screen.spec @@ -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 diff --git a/use_locale.diff b/use_locale.diff new file mode 100644 index 0000000..6d07a37 --- /dev/null +++ b/use_locale.diff @@ -0,0 +1,24 @@ +diff -Pdpru a/configure b/configure +--- a/configure 2012-09-19 14:44:09.593017471 +0200 ++++ b/configure 2012-09-19 15:20:44.406073384 +0200 +@@ -1338,7 +1339,7 @@ Optional Features: + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-socket-dir disable system wide socket-dir and use ~/.screen instead + --enable-pam enable PAM support +- --enable-locale use localized month/day names ++ --enable-use-locale use localized month/day names + --enable-telnet enable builtin telnet + --enable-colors256 enable support for 256 colors + --enable-rxvt_osc enable support for rxvt OSC codes +diff -Pdpru a/configure.in b/configure.in +--- a/configure.in 2012-09-19 14:44:09.592017464 +0200 ++++ b/configure.in 2012-09-19 15:21:45.555515336 +0200 +@@ -1265,7 +1276,7 @@ if test "$enable_pam" = "yes"; then + AC_MSG_RESULT(no);LIBS="$oldlibs") + fi + +-AC_ARG_ENABLE(use_locale, [ --enable-locale use localized month/day names]) ++AC_ARG_ENABLE(use_locale, [ --enable-use-locale use localized month/day names]) + if test "$enable_use_locale" = "yes"; then + AC_DEFINE(USE_LOCALE) + fi