Hello community,

here is the log from the commit of package audience for openSUSE:Factory 
checked in at 2018-10-18 15:38:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/audience (Old)
 and      /work/SRC/openSUSE:Factory/.audience.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "audience"

Thu Oct 18 15:38:19 2018 rev:10 rq:642699 version:0.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/audience/audience.changes        2018-01-13 
21:49:28.596958166 +0100
+++ /work/SRC/openSUSE:Factory/.audience.new/audience.changes   2018-10-18 
15:38:25.710154500 +0200
@@ -1,0 +2,5 @@
+Wed Oct 17 17:55:46 UTC 2018 - Alexei Podvalsky <avvi...@yandex.by>
+
+- Fix build with valac 0.42 (videos-0.2.5-vala-0.42.patch)
+
+-------------------------------------------------------------------

New:
----
  videos-0.2.5-vala-0.42.patch

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

Other differences:
------------------
++++++ audience.spec ++++++
--- /var/tmp/diff_new_pack.CBrk2V/_old  2018-10-18 15:38:26.682153391 +0200
+++ /var/tmp/diff_new_pack.CBrk2V/_new  2018-10-18 15:38:26.686153386 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Multimedia/Video/Players
 URL:            https://elementary.io
 Source:         
https://github.com/elementary/videos/archive/%{version}.tar.gz#/videos-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM -- Fix build with valac 0.42 
+Patch0:         videos-0.2.5-vala-0.42.patch
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
 BuildRequires:  elementary-icon-theme
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n videos-%{version}
+%patch0 -p2
 
 %build
 %cmake \

++++++ videos-0.2.5-vala-0.42.patch ++++++
diff -ruN videos-0.2.5.orig/videos-0.2.5/src/Window.vala 
videos-0.2.5/videos-0.2.5/src/Window.vala
--- videos-0.2.5.orig/videos-0.2.5/src/Window.vala      2018-01-08 
22:53:24.000000000 +0300
+++ videos-0.2.5/videos-0.2.5/src/Window.vala   2018-10-17 20:56:38.126588975 
+0300
@@ -220,7 +220,11 @@
 
     /** Returns true if the code parameter matches the keycode of the keyval 
parameter for
     * any keyboard group or level (in order to allow for non-QWERTY keyboards) 
**/
+#if VALA_0_42
+    public bool match_keycode (uint keyval, uint code) {
+#else
     public bool match_keycode (int keyval, uint code) {
+#endif
         Gdk.KeymapKey [] keys;
         Gdk.Keymap keymap = Gdk.Keymap.get_default ();
         if (keymap.get_entries_for_keyval (keyval, out keys)) {

Reply via email to