!9 Fix build empty struct definition

From: @chen-jan
Reviewed-by: @t_feng
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-11-20 09:23:18 +00:00 committed by Gitee
commit 4aa8335e2d
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 54af62f798f946c19f9614b852c2c5c172e7182b Mon Sep 17 00:00:00 2001
From: chen-jan <chen_aka_jan@163.com>
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

View File

@ -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 <chen_aka_jan@163.com> - 0.54.1-5
- Fix build empty struct definition
* Mon Oct 21 2019 Lijin Yang <yanglijin@huawei.com> - 0.54.1-4
- Package init