commit:     0d6ccff4d73341474d6746167101b94d09ceb709
Author:     Solegaiter <meartzheast877 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 15 12:02:06 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Mar  5 18:12:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6ccff4

gui-libs/wpebackend-fdo: add 1.14.3 and fix to use C23.

This pull request bumps this package and fixes 'ipc.h:36:36: error:
uint32_t has not been declared' which made it impossible to compile the
program in gcc 15.

Closes: https://bugs.gentoo.org/938289
Signed-off-by: Solegaiter <meartzheast877 <AT> gmail.com>
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gui-libs/wpebackend-fdo/Manifest                            |  1 +
 .../files/wpebackend-fdo-1.14.2-c23-fix.patch               | 13 +++++++++++++
 gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild     |  6 +++++-
 ...nd-fdo-1.14.2-r1.ebuild => wpebackend-fdo-1.14.3.ebuild} |  8 ++++++--
 4 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/gui-libs/wpebackend-fdo/Manifest b/gui-libs/wpebackend-fdo/Manifest
index d59a415ba293..146f238ff51b 100644
--- a/gui-libs/wpebackend-fdo/Manifest
+++ b/gui-libs/wpebackend-fdo/Manifest
@@ -1 +1,2 @@
 DIST wpebackend-fdo-1.14.2.tar.xz 43332 BLAKE2B 
31d670140672a7234acfd8d98c01901039745739489c5b9e7fdcb47ac08c8202d782df8cb5c94a6ed0c38d788ecc087bc81799beff392be24b9b8e661fa7ef52
 SHA512 
4edc28221795b325977f9a5a79b7656b4f100129a6d1c15142180bab94cce1a8b06b42a71fbe985ddc1e02772f1cc03a92f73d2176edd16e791db799b831740c
+DIST wpebackend-fdo-1.14.3.tar.xz 43460 BLAKE2B 
cfda0f1a1092da8869ce3bc703bc292ce209291323b928e9980856f455697c922a5a2ff05639a6be43001b2431d2c9d3d82dc3a43e4696d5368f0bd3ed1d6f6a
 SHA512 
5a385508dc0d3b9fa031be6c53cb67bfc1d98c73eec9debd12fc27d966bc87866319276c209b4db8acdd0481ca028e1809d3d9df422f0c6e6a62d8f4ccae8e0e

diff --git a/gui-libs/wpebackend-fdo/files/wpebackend-fdo-1.14.2-c23-fix.patch 
b/gui-libs/wpebackend-fdo/files/wpebackend-fdo-1.14.2-c23-fix.patch
new file mode 100644
index 000000000000..65c98a7bba76
--- /dev/null
+++ b/gui-libs/wpebackend-fdo/files/wpebackend-fdo-1.14.2-c23-fix.patch
@@ -0,0 +1,13 @@
+# Original commit: 
https://github.com/Igalia/WPEBackend-fdo/commit/923ebd634949c11444fbdb6b1ee9ac62ac538ec7
+diff --git a/src/ipc.h b/src/ipc.h
+index c274529..f9945eb 100644
+--- a/src/ipc.h
++++ b/src/ipc.h
+@@ -26,6 +26,7 @@
+ #pragma once
+ 
+ #include <gio/gio.h>
++#include <stdint.h>
+ #include <memory>
+ 
+ namespace FdoIPC {

diff --git a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild 
b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild
index 653e83db9466..2fe8ea41bde3 100644
--- a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild
+++ b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,6 +26,10 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-c23-fix.patch
+)
+
 src_configure() {
        local emesonargs=(
                -Dbuild_docs=false # hotdoc not packaged

diff --git a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild 
b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.3.ebuild
similarity index 77%
copy from gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild
copy to gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.3.ebuild
index 653e83db9466..43442ccaf743 100644
--- a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.2-r1.ebuild
+++ b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.14.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://wpewebkit.org/releases/${P}.tar.xz";
 LICENSE="BSD-2"
 SLOT="1.0"
 
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
        media-libs/libepoxy[egl(+)]
@@ -26,6 +26,10 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.14.2-c23-fix.patch
+)
+
 src_configure() {
        local emesonargs=(
                -Dbuild_docs=false # hotdoc not packaged

Reply via email to