Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:GNOME:apps
giggle
giggle-Fix-build-failure-with-gcc-10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File giggle-Fix-build-failure-with-gcc-10.patch of Package giggle
From d1ecd44b709bba965b5cae00e3e76b3f74564e7f Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Date: Thu, 23 Apr 2020 19:18:37 +0100 Subject: [PATCH] Fix build failure with gcc-10 It fails to build while building with gcc-10 with the error: multiple definition of `giggle_diff_style' giggle_diff_style is passed to g_enum_register_static() register the static enumeration type with the given name and it should be done as a typedef. Bug-Link: https://bugs.debian.org/bug=957269 Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> --- src/giggle-diff-view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/giggle-diff-view.h b/src/giggle-diff-view.h index 28266e3..3cba760 100644 --- a/src/giggle-diff-view.h +++ b/src/giggle-diff-view.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS #define GIGGLE_IS_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIGGLE_TYPE_DIFF_VIEW)) #define GIGGLE_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIGGLE_TYPE_DIFF_VIEW, GiggleDiffViewClass)) -enum { +typedef enum { STYLE_CHUNK, STYLE_FILE, STYLE_ALL, -- 2.11.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor