Script 'mail_helper' called by obssrc
Hello community,

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

Package is "libxkbcommon"

Thu Apr 22 18:03:13 2021 rev:35 rq:885297 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libxkbcommon/libxkbcommon.changes        
2021-04-08 21:02:15.569906727 +0200
+++ /work/SRC/openSUSE:Factory/.libxkbcommon.new.12324/libxkbcommon.changes     
2021-04-22 18:03:20.202448344 +0200
@@ -1,0 +2,9 @@
+Wed Apr 14 09:16:40 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Update to release 1.2.1 [boo#1184688]
+  * Fix `xkb_x11_keymap_new_from_device()` failing when the
+    keymap contains key types with missing level names, like the
+    one used by the `numpad:mac` option in xkeyboard-config.
+    (Regressed in 1.2.0.)
+
+-------------------------------------------------------------------

Old:
----
  libxkbcommon-1.2.0.tar.xz

New:
----
  libxkbcommon-1.2.1.tar.xz

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

Other differences:
------------------
++++++ libxkbcommon.spec ++++++
--- /var/tmp/diff_new_pack.mHlE0j/_old  2021-04-22 18:03:20.586448938 +0200
+++ /var/tmp/diff_new_pack.mHlE0j/_new  2021-04-22 18:03:20.590448944 +0200
@@ -23,7 +23,7 @@
 %endif
 
 Name:           libxkbcommon
-Version:        1.2.0
+Version:        1.2.1
 Release:        0
 Summary:        Library for handling xkb descriptions
 License:        MIT

++++++ libxkbcommon-1.2.0.tar.xz -> libxkbcommon-1.2.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libxkbcommon-1.2.0/NEWS new/libxkbcommon-1.2.1/NEWS
--- old/libxkbcommon-1.2.0/NEWS 2021-04-03 13:13:06.190036800 +0200
+++ new/libxkbcommon-1.2.1/NEWS 2021-04-07 18:27:51.043500400 +0200
@@ -1,3 +1,10 @@
+libxkbcommon 1.2.1 - 2021-04-07
+==================
+
+- Fix `xkb_x11_keymap_new_from_device()` failing when the keymap contains key
+  types with missing level names, like the one used by the `numpad:mac` option
+  in xkeyboard-config. Regressed in 1.2.0.
+
 libxkbcommon 1.2.0 - 2021-04-03
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libxkbcommon-1.2.0/meson.build 
new/libxkbcommon-1.2.1/meson.build
--- old/libxkbcommon-1.2.0/meson.build  2021-04-03 13:13:06.693379600 +0200
+++ new/libxkbcommon-1.2.1/meson.build  2021-04-07 18:27:51.046833800 +0200
@@ -1,7 +1,7 @@
 project(
     'libxkbcommon',
     'c',
-    version: '1.2.0',
+    version: '1.2.1',
     default_options: [
         'c_std=c11',
         'warning_level=2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libxkbcommon-1.2.0/src/x11/util.c 
new/libxkbcommon-1.2.1/src/x11/util.c
--- old/libxkbcommon-1.2.0/src/x11/util.c       2021-04-03 13:13:07.173388700 
+0200
+++ new/libxkbcommon-1.2.1/src/x11/util.c       2021-04-07 18:27:51.053500400 
+0200
@@ -169,7 +169,10 @@
 x11_atom_interner_adopt_atom(struct x11_atom_interner *interner,
                              const xcb_atom_t atom, xkb_atom_t *out)
 {
-    *out = 0;
+    *out = XKB_ATOM_NONE;
+
+    if (atom == XCB_ATOM_NONE)
+        return;
 
     /* Can be NULL in case the malloc failed. */
     struct x11_atom_cache *cache = get_cache(interner->ctx, interner->conn);

Reply via email to