From e68d558e96b363e6b4f8f7545e6e2783c9d9216648583656a9dc064f1981d155 Mon Sep 17 00:00:00 2001 From: Cliff Zhao Date: Wed, 18 Apr 2018 02:02:41 +0000 Subject: [PATCH] Accepting request 597545 from home:oholecek:branches:Base:System Revert revision 192 - https://bugzilla.suse.com/show_bug.cgi?id=1083695#c6 OBS-URL: https://build.opensuse.org/request/show/597545 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=193 --- 0001-Add-label-ft-plugin.patch | 8 ++++---- plymouth.spec | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/0001-Add-label-ft-plugin.patch b/0001-Add-label-ft-plugin.patch index a9f5831..9bf8078 100644 --- a/0001-Add-label-ft-plugin.patch +++ b/0001-Add-label-ft-plugin.patch @@ -316,8 +316,8 @@ index 0000000..06fe73e + label->area.height += (label->face->size->metrics.ascender - label->face->size->metrics.descender) >> 6; + + text = strchr (text, '\n'); -+ -+ if (*text == '\n') ++ /* skip newline character */ ++ if (text) + ++text; + } + @@ -460,8 +460,8 @@ index 0000000..06fe73e + + ++cur_c; + } -+ -+ if(*cur_c == '\n') ++ /* skip newline character */ ++ if (*cur_c) + ++cur_c; + + /* Next line */ diff --git a/plymouth.spec b/plymouth.spec index c49025b..9124b80 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -26,7 +26,7 @@ Release: 0 Summary: Graphical Boot Animation and Logger License: GPL-2.0-or-later Group: System/Base -Url: http://freedesktop.org/software/plymouth/releases +URL: http://freedesktop.org/software/plymouth/releases # Switched to git snapshot to ease bugfix inclusion Source0: %{name}-%{version}.tar.xz Source1: boot-duration