diff --git a/x3270-fix-build.patch b/x3270-fix-build.patch new file mode 100644 index 0000000..7e7060b --- /dev/null +++ b/x3270-fix-build.patch @@ -0,0 +1,12 @@ +--- suite3270-3.5/Common/glue.c.xx 2019-09-05 13:50:52.022888065 +0200 ++++ suite3270-3.5/Common/glue.c 2019-09-05 13:50:59.174886673 +0200 +@@ -1470,7 +1470,9 @@ + + /* Replacements for functions in popups.c. */ + ++/* + bool error_popup_visible = false; ++*/ + + /* Pop up an error dialog. */ + void diff --git a/x3270.changes b/x3270.changes index 26de48d..84f5cbf 100644 --- a/x3270.changes +++ b/x3270.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 5 11:59:49 UTC 2019 - Marcus Meissner + +- x3270-fix-build.patch: fixed a bug triggered by LTO, commented + out incompat definition. + ------------------------------------------------------------------- Sat Jul 14 12:41:10 UTC 2018 - bwiedemann@suse.com diff --git a/x3270.spec b/x3270.spec index 66e9da4..37e973a 100644 --- a/x3270.spec +++ b/x3270.spec @@ -1,7 +1,7 @@ # # spec file for package x3270 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -36,6 +36,7 @@ Patch105: x3270-missing-include.patch Patch106: x3270-missing-file.patch Patch107: reproducible.patch Patch108: mkversion.patch +Patch109: x3270-fix-build.patch BuildRequires: bdftopcf BuildRequires: fdupes BuildRequires: fontpackages-devel @@ -108,6 +109,7 @@ x026 is a fun toy which emulates an x026 puncher. %patch105 -p1 %patch106 -p1 %patch107 -p1 +%patch109 -p1 for d in x3270 c3270 s3270 tcl3270 pr3287 ; do (cd $d %patch108 -p2