diff --git a/Fix-build-empty-struct-definition.patch b/Fix-build-empty-struct-definition.patch new file mode 100644 index 0000000000000000000000000000000000000000..8b36d0405300e1c62cdc2e5735f59f042cfbdb2b --- /dev/null +++ b/Fix-build-empty-struct-definition.patch @@ -0,0 +1,25 @@ +From 54af62f798f946c19f9614b852c2c5c172e7182b Mon Sep 17 00:00:00 2001 +From: chen-jan +Date: Mon, 8 Nov 2021 01:49:06 +0000 +Subject: [PATCH] test + +--- + bindings/vala/app.vala | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/bindings/vala/app.vala b/bindings/vala/app.vala +index 3b73106..61b8ec8 100644 +--- a/bindings/vala/app.vala ++++ b/bindings/vala/app.vala +@@ -827,6 +827,8 @@ class App : Gtk.Application + + public struct Options + { ++ //FIXME Merge this struct into App class ++ public int dummy; + public static bool audible = false; + public static string? command = null; + private static string? cjk_ambiguous_width_string = null; +-- +2.30.0 + diff --git a/vte291.spec b/vte291.spec index 30c9318562c971969b5e654f2475774f328ecdcf..f74f90e8cc65beeacf3fcb3af64b15388fdb0814 100644 --- a/vte291.spec +++ b/vte291.spec @@ -1,12 +1,13 @@ Name: vte291 Version: 0.54.1 -Release: 4 +Release: 5 Summary: Virtual terminal widget License: LGPLv2+ and GPLv3+ URL: http://www.gnome.org/ Source0: http://download.gnome.org/sources/vte/0.54/vte-%{version}.tar.xz Patch0000: vte291-Fix-the-build-with-GCC-8.1.1.patch Patch0001: vte291-command-notify-scroll-speed.patch +Patch0002: Fix-build-empty-struct-definition.patch BuildRequires: gcc-c++ gettext pkgconfig(gnutls) >= 3.2.7 BuildRequires: gobject-introspection-devel gperf pkgconfig(gtk+-3.0) >= 3.8.0 @@ -62,5 +63,8 @@ LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now -pie" \ %{_datadir}/vala/ %changelog +* Mon Nov 08 2021 chenchen - 0.54.1-5 +- Fix build empty struct definition + * Mon Oct 21 2019 Lijin Yang - 0.54.1-4 - Package init