Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gtksourceview4 for openSUSE:Factory 
checked in at 2021-04-24 23:07:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtksourceview4 (Old)
 and      /work/SRC/openSUSE:Factory/.gtksourceview4.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtksourceview4"

Sat Apr 24 23:07:03 2021 rev:21 rq:887557 version:4.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtksourceview4/gtksourceview4.changes    
2021-04-12 12:38:24.857442489 +0200
+++ /work/SRC/openSUSE:Factory/.gtksourceview4.new.12324/gtksourceview4.changes 
2021-04-24 23:07:21.691242795 +0200
@@ -1,0 +2,7 @@
+Thu Apr 22 11:36:46 UTC 2021 - Dominique Leuenberger <[email protected]>
+
+- Add d1ed58b2ab82bd5be55881088fc17ff1527511db.patch: build:
+  disable -Werror for incompatible-pointer-types. Works around
+  build failure with GCC 11.
+
+-------------------------------------------------------------------

New:
----
  d1ed58b2ab82bd5be55881088fc17ff1527511db.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtksourceview4.spec ++++++
--- /var/tmp/diff_new_pack.utMzFq/_old  2021-04-24 23:07:22.087243355 +0200
+++ /var/tmp/diff_new_pack.utMzFq/_new  2021-04-24 23:07:22.091243361 +0200
@@ -26,6 +26,8 @@
 URL:            https://wiki.gnome.org/Projects/GtkSourceView
 Source0:        
https://download.gnome.org/sources/gtksourceview/4.8/%{_name}-%{version}.tar.xz
 Source1:        changes.lang
+# PATCH-FIX-UPSTREAM d1ed58b2ab82bd5be55881088fc17ff1527511db.patch 
[email protected] -- build: disable -Werror for incompatible-pointer-types
+Patch0:         
https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/d1ed58b2ab82bd5be55881088fc17ff1527511db.patch
 
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
@@ -108,7 +110,7 @@
 %lang_package
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -n %{_name}-%{version} -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects

++++++ d1ed58b2ab82bd5be55881088fc17ff1527511db.patch ++++++
>From d1ed58b2ab82bd5be55881088fc17ff1527511db Mon Sep 17 00:00:00 2001
From: Christian Hergert <[email protected]>
Date: Thu, 15 Apr 2021 08:11:22 -0700
Subject: [PATCH] build: disable -Werror for incompatible-pointer-types

This causes an issue with volatile and GLib in some configurations, so
just keep it out for now. We will bring it back at some point going
forward.

We are already doing the same in 5.0.

Fixes #179
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 826a3121..6ff5b155 100644
--- a/meson.build
+++ b/meson.build
@@ -181,7 +181,8 @@ else
     '-Werror=empty-body',
     '-Werror=implicit',
     '-Werror=implicit-function-declaration',
-    '-Werror=incompatible-pointer-types',
+    # Disabled due to volatile changes in GLib
+    # '-Werror=incompatible-pointer-types',
     '-Werror=init-self',
     '-Werror=int-conversion',
     '-Werror=int-to-pointer-cast',
-- 
GitLab

Reply via email to