Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (92f0896fc218b02509f224029ed698441cf513a0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (92f0896fc218b02509f224029ed698441cf513a0)
  • Date: Fri, 9 Jun 2023 00:30:37 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

gnome2-libs/pango/DETAILS | 1
gnome2-libs/pango/HISTORY | 5 +
gnome2-libs/pango/PRE_BUILD | 4 +
gnome2-libs/pango/patches/0001-Drop-Werror-araay-bounds.patch | 37
++++++++++
4 files changed, 47 insertions(+)

New commits:
commit 92f0896fc218b02509f224029ed698441cf513a0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

gnome2-libs/pango: added patch to fix out of bounds warning raised to
error

diff --git a/gnome2-libs/pango/DETAILS b/gnome2-libs/pango/DETAILS
index 677564a..098dd62 100755
--- a/gnome2-libs/pango/DETAILS
+++ b/gnome2-libs/pango/DETAILS
@@ -5,6 +5,7 @@
SOURCE="${SPELL}-${VERSION}.tar.xz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
SOURCE_URL[0]="${GNOME_URL}/sources/${SPELL}/${VERSION%.*}/${SOURCE}"
+# Watch: https://gitlab.gnome.org/GNOME/pango/-/tags pango-([0-9.]+)[.]tar
LICENSE[0]="LGPL"
WEB_SITE="http://www.pango.org/";
ENTERED=20020314
diff --git a/gnome2-libs/pango/HISTORY b/gnome2-libs/pango/HISTORY
index b2aa87a..b480e13 100644
--- a/gnome2-libs/pango/HISTORY
+++ b/gnome2-libs/pango/HISTORY
@@ -1,3 +1,8 @@
+2023-06-08 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: introduced Watch line
+ * PRE_BUILD, patches/0001-Drop-Werror-araay-bounds.patch: added patch
to fix
+ out of bounds warning raised to error
+
2023-03-03 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.50.14

diff --git a/gnome2-libs/pango/PRE_BUILD b/gnome2-libs/pango/PRE_BUILD
new file mode 100755
index 0000000..005bf6d
--- /dev/null
+++ b/gnome2-libs/pango/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir patches
diff --git a/gnome2-libs/pango/patches/0001-Drop-Werror-araay-bounds.patch
b/gnome2-libs/pango/patches/0001-Drop-Werror-araay-bounds.patch
new file mode 100644
index 0000000..40a2269
--- /dev/null
+++ b/gnome2-libs/pango/patches/0001-Drop-Werror-araay-bounds.patch
@@ -0,0 +1,37 @@
+From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001
+From: Matthias Clasen <mclasen AT redhat.com>
+Date: Mon, 1 May 2023 23:27:52 -0400
+Subject: [PATCH] Drop -Werror=array-bounds
+
+gcc has strange issues with this and produces false
+positives that recently started breaking the build of
+pango as a subproject in gtk.
+
+See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
+---
+ meson.build | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 930f41082..2d30c0141 100644
+--- a/meson.build
++++ b/meson.build
+@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
+ '-Wuninitialized',
+ '-Wunused',
+ '-Werror=address',
+- '-Werror=array-bounds',
+ '-Werror=empty-body',
+ '-Werror=implicit',
+ '-Werror=implicit-fallthrough',
+@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
+ '-Werror=sequence-point',
+ '-Werror=return-type',
+ '-Werror=trigraphs',
+- '-Werror=array-bounds',
+ '-Werror=write-strings',
+ '-Werror=address',
+ '-Werror=int-to-pointer-cast',
+--
+GitLab
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (92f0896fc218b02509f224029ed698441cf513a0), Pavel Vinogradov, 06/08/2023

Archive powered by MHonArc 2.6.24.

Top of Page