Accepting request 630657 from GNOME:Next

New stable rel

OBS-URL: https://build.opensuse.org/request/show/630657
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pango?expand=0&rev=195
This commit is contained in:
Scott Reeves 2018-08-20 18:40:08 +00:00 committed by Git OBS Bridge
parent 4064fc42f6
commit 5c069eda7a
5 changed files with 13 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb3d875305d5143f02cde5c72fec3903e60dc35844759dc14b2df4955b5dde3a
size 833264

3
pango-1.42.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d
size 833876

View File

@ -1,17 +0,0 @@
Index: pango-1.42.3/pango/pango-emoji.c
===================================================================
--- pango-1.42.3.orig/pango/pango-emoji.c
+++ pango-1.42.3/pango/pango-emoji.c
@@ -253,6 +253,12 @@ _pango_emoji_iter_next (PangoEmojiIter *
if (iter->is_emoji == PANGO_EMOJI_TYPE_IS_EMOJI (current_emoji_type))
{
iter->is_emoji = !PANGO_EMOJI_TYPE_IS_EMOJI (current_emoji_type);
+
+ /* Make sure we make progress. Weird sequences, like a VC15 followed
+ * by VC16, can trick us into stalling otherwise. */
+ if (iter->start == iter->end)
+ iter->end = g_utf8_next_char (iter->end);
+
return TRUE;
}
}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Aug 20 18:18:25 UTC 2018 - bjorn.lie@gmail.com
- Update to version 1.42.4:
+ Prevent an assertion with invalid Unicode sequences.
+ Fix build failure in C89 mode.
+ Fix build failure on Mac OS X 10.5 and earlier.
- Drop pango-emoji-bsc1103877.patch: Fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 18 00:01:23 UTC 2018 - sreeves@suse.com Sat Aug 18 00:01:23 UTC 2018 - sreeves@suse.com

View File

@ -17,7 +17,7 @@
Name: pango Name: pango
Version: 1.42.3 Version: 1.42.4
Release: 0 Release: 0
Summary: Library for Layout and Rendering of Text Summary: Library for Layout and Rendering of Text
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -26,8 +26,6 @@ URL: http://www.pango.org/
Source0: https://download.gnome.org/sources/pango/1.42/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/pango/1.42/%{name}-%{version}.tar.xz
Source2: macros.pango Source2: macros.pango
Source99: baselibs.conf Source99: baselibs.conf
#PATCH-FIX-UPSTREAM pango-emoji-bsc1103877.patch sreeves@suse.com -- Fix CVE-2018-15120 denial of service parsing emoji
Patch0: pango-emoji-bsc1103877.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gtk-doc BuildRequires: gtk-doc
@ -121,7 +119,6 @@ to develop applications that require these.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%meson \ %meson \