Accepting request 930490 from GNOME:Next
- Update to version 3.1.1: + Work around GCC cast-align error/warning on some platforms. + Documentation improvements. - Drop patch fixed upstream: + harfbuzz-3.1.0-work-around-GCC-cast-align-error-warning.patch OBS-URL: https://build.opensuse.org/request/show/930490 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=198
This commit is contained in:
parent
c44297dadb
commit
9b95ad0aa0
@ -1,33 +0,0 @@
|
|||||||
From 07dc34bdaf977a3be97ab5a68455ed7a67f80a06 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Behdad Esfahbod <behdad@behdad.org>
|
|
||||||
Date: Fri, 5 Nov 2021 14:45:20 -0700
|
|
||||||
Subject: [PATCH] [mutex] Try work around GCC cast-align error/warning
|
|
||||||
|
|
||||||
Shouldn't be needed because of the alignas(). Oh well...
|
|
||||||
|
|
||||||
Might fix https://github.com/harfbuzz/harfbuzz/issues/3283
|
|
||||||
---
|
|
||||||
src/hb-mutex.hh | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/hb-mutex.hh b/src/hb-mutex.hh
|
|
||||||
index 4e135027f..6914b2245 100644
|
|
||||||
--- a/src/hb-mutex.hh
|
|
||||||
+++ b/src/hb-mutex.hh
|
|
||||||
@@ -97,10 +97,13 @@ struct hb_mutex_t
|
|
||||||
/* Create space for, but do not initialize m. */
|
|
||||||
alignas(hb_mutex_impl_t) char m[sizeof (hb_mutex_impl_t)];
|
|
||||||
|
|
||||||
+#pragma GCC diagnostic push
|
|
||||||
+#pragma GCC diagnostic ignored "-Wcast-align"
|
|
||||||
void init () { hb_mutex_impl_init ((hb_mutex_impl_t *) m); }
|
|
||||||
void lock () { hb_mutex_impl_lock ((hb_mutex_impl_t *) m); }
|
|
||||||
void unlock () { hb_mutex_impl_unlock ((hb_mutex_impl_t *) m); }
|
|
||||||
void fini () { hb_mutex_impl_finish ((hb_mutex_impl_t *) m); }
|
|
||||||
+#pragma GCC diagnostic pop
|
|
||||||
};
|
|
||||||
|
|
||||||
struct hb_lock_t
|
|
||||||
--
|
|
||||||
2.33.1
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2359390944a74a933d2b1bd214754a5b3f817916a09c6d4ca3d263473cf19b8e
|
|
||||||
size 13252932
|
|
3
harfbuzz-3.1.1.tar.xz
Normal file
3
harfbuzz-3.1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3f3247bdeabf36765acc237a5f651e651e4e9706582b9cc2cf6c9b8102dfa93
|
||||||
|
size 13256100
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 9 15:51:45 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.1.1:
|
||||||
|
+ Work around GCC cast-align error/warning on some platforms.
|
||||||
|
+ Documentation improvements.
|
||||||
|
- Drop patch fixed upstream:
|
||||||
|
+ harfbuzz-3.1.0-work-around-GCC-cast-align-error-warning.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 6 05:48:26 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Nov 6 05:48:26 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: harfbuzz
|
Name: harfbuzz
|
||||||
Version: 3.1.0
|
Version: 3.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An OpenType text shaping engine
|
Summary: An OpenType text shaping engine
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
||||||
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch0: harfbuzz-3.1.0-work-around-GCC-cast-align-error-warning.patch
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig >= 0.28
|
BuildRequires: pkgconfig >= 0.28
|
||||||
|
Loading…
Reference in New Issue
Block a user