mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 12:08:43 -04:00
media-video/megapixels: fix build with GCC 15
Closes: https://bugs.gentoo.org/932831 Closes: https://bugs.gentoo.org/945308 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
4b738d34d7
commit
e36fb57526
14
media-video/megapixels/files/megapixels-1.4.3-gcc15.patch
Normal file
14
media-video/megapixels/files/megapixels-1.4.3-gcc15.patch
Normal file
@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/945308
|
||||
https://gitlab.com/megapixels-org/Megapixels/-/merge_requests/34
|
||||
Fix build with GCC 15.
|
||||
--- a/src/process_pipeline.c
|
||||
+++ b/src/process_pipeline.c
|
||||
@@ -693,7 +693,7 @@ mp_process_pipeline_process_image(MPBuffer buffer)
|
||||
}
|
||||
|
||||
static void
|
||||
-capture()
|
||||
+capture(struct _MPPipeline *, const void *)
|
||||
{
|
||||
char template[] = "/tmp/megapixels.XXXXXX";
|
||||
char *tempdir;
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="A GTK3 camera application that knows how to deal with the media request api"
|
||||
DESCRIPTION="GTK4 camera application that knows how to deal with the media request api"
|
||||
HOMEPAGE="https://git.sr.ht/~martijnbraam/megapixels"
|
||||
SRC_URI="https://gitlab.com/postmarketOS/megapixels/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
@ -14,17 +14,22 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
DEPEND="
|
||||
gui-libs/gtk
|
||||
x11-libs/gtk+:3
|
||||
media-libs/tiff
|
||||
dev-libs/glib:2
|
||||
gui-libs/gtk:4
|
||||
media-gfx/zbar
|
||||
media-libs/libepoxy
|
||||
media-libs/libraw
|
||||
media-libs/tiff:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-gfx/dcraw
|
||||
media-gfx/imagemagick
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
PATCHES=(
|
||||
# bug #945308
|
||||
"${FILESDIR}/${P}-gcc15.patch"
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
Loading…
x
Reference in New Issue
Block a user