diff --git a/dialog-1.2-20121230.dif b/dialog-1.2-20121230.dif index b27e043..347861f 100644 --- a/dialog-1.2-20121230.dif +++ b/dialog-1.2-20121230.dif @@ -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) { diff --git a/dialog-1.3-20170509.tgz b/dialog-1.3-20170509.tgz deleted file mode 100644 index 79f491b..0000000 --- a/dialog-1.3-20170509.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ff1ba74c632b9d13a0d0d2c942295dd4e8909694eeeded7908a467d0bcd4756 -size 509135 diff --git a/dialog-1.3-20170509.tgz.asc b/dialog-1.3-20170509.tgz.asc deleted file mode 100644 index 2009782..0000000 --- a/dialog-1.3-20170509.tgz.asc +++ /dev/null @@ -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----- diff --git a/dialog-1.3-20171209.tgz b/dialog-1.3-20171209.tgz new file mode 100644 index 0000000..7138c75 --- /dev/null +++ b/dialog-1.3-20171209.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20139442119e2eff5c35236e8e5e313c901539008d9cccf8c8ab3851b41267e6 +size 511503 diff --git a/dialog-1.3-20171209.tgz.asc b/dialog-1.3-20171209.tgz.asc new file mode 100644 index 0000000..35e5529 --- /dev/null +++ b/dialog-1.3-20171209.tgz.asc @@ -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----- diff --git a/dialog.changes b/dialog.changes index 6cd39b3..3f3789d 100644 --- a/dialog.changes +++ b/dialog.changes @@ -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 diff --git a/dialog.spec b/dialog.spec index f6561ea..bd5595b 100644 --- a/dialog.spec +++ b/dialog.spec @@ -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 diff --git a/textbox-file_size.patch b/textbox-file_size.patch new file mode 100644 index 0000000..8afbf5d --- /dev/null +++ b/textbox-file_size.patch @@ -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; + } + }