SHA256
1
0
forked from pool/dialog

Update to 1.3-20171209 as well as fix bug #1094836

OBS-URL: https://build.opensuse.org/package/show/Base:System/dialog?expand=0&rev=42
This commit is contained in:
Dr. Werner Fink 2018-05-29 09:03:22 +00:00 committed by Git OBS Bridge
parent 5609c7b4ad
commit 8bbfa4a68e
8 changed files with 44 additions and 15 deletions

View File

@ -2,7 +2,7 @@ Index: util.c
===================================================================
--- util.c.orig
+++ util.c
@@ -2136,8 +2136,10 @@ dlg_move_window(WINDOW *win, int height,
@@ -2115,8 +2115,10 @@ dlg_move_window(WINDOW *win, int height,
#ifdef HAVE_COLOR
if (p->shadow != 0) {
if (dialog_state.use_shadow) {

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ff1ba74c632b9d13a0d0d2c942295dd4e8909694eeeded7908a467d0bcd4756
size 509135

View File

@ -1,8 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: See http://invisible-island.net/public/public.html for info
iEYEABECAAYFAlkSVr8ACgkQcCNT4PfkjtvcdQCdGuvvov5SQEiQFR4RV8eyHOUr
XrsAniAnbRI4jv4TEqBVfprwfJpDZM5h
=nmSO
-----END PGP SIGNATURE-----

3
dialog-1.3-20171209.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20139442119e2eff5c35236e8e5e313c901539008d9cccf8c8ab3851b41267e6
size 511503

View File

@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: See http://invisible-island.net/public/public.html for info
iEYEABECAAYFAlosSKMACgkQcCNT4Pfkjts3/ACguSHYHDsxJh1rkG0FGPbWmCmu
ib4An29irI0PskrpTxJUSxdjCqkGNar4
=e91d
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 29 08:59:07 UTC 2018 - werner@suse.de
- Update to version 1.3-20171209
+ update ftp url in test-packages.
+ modify test-packages to use recommended compiler/linker flags.
+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
CF__INTL_BODY.
+ update config.guess, config.sub
- Add patch textbox-file_size.patch to fix bug bsc#1094836
-------------------------------------------------------------------
Tue Jun 6 14:06:01 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dialog
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,13 +16,13 @@
#
%define src_date 20170509
%define src_date 20171209
%define somajor 14
Name: dialog
Version: 1.3
Release: 0
Summary: Menus and Input Boxes for Shell Scripts
License: LGPL-2.1
License: LGPL-2.1-only
Group: Development/Tools/Other
Url: http://invisible-island.net/dialog/
Source0: ftp://invisible-island.net/dialog/%{name}-%{version}-%{src_date}.tgz
@ -32,6 +32,7 @@ Source3: dialog.rc
Source4: dialog.ko.po.bz2
# PATCH-FIX-OPENSUSE : fix shadow during resizing terminal
Patch0: dialog-1.2-20121230.dif
Patch1: textbox-file_size.patch
Patch2: dialog-gcc-warnings.patch
BuildRequires: libtool
BuildRequires: ncurses-devel
@ -73,6 +74,7 @@ Examples of using menus and dialog boxes in shell scripts.
%setup -q -n %{name}-%{version}-%{src_date}
bzcat %{SOURCE4} > po/ko.po
%patch0
%patch1
%patch2 -p1
%build

15
textbox-file_size.patch Normal file
View File

@ -0,0 +1,15 @@
---
textbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- textbox.c
+++ textbox.c 2018-05-29 08:53:10.083934467 +0000
@@ -92,7 +92,7 @@ lseek_end(MY_OBJ * obj, long offset)
{
long actual = lseek_obj(obj, offset, SEEK_END);
- if (actual > offset) {
+ if (offset == 0L && actual > offset) {
obj->file_size = actual;
}
}