mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/geeqie: fix musl compilation again
Closes: https://bugs.gentoo.org/927682 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
11
media-gfx/geeqie/files/geeqie-2.3-locale.patch
Normal file
11
media-gfx/geeqie/files/geeqie-2.3-locale.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Naur geeqie-2.3.orig/src/misc.cc geeqie-2.3/src/misc.cc
|
||||
--- geeqie-2.3.orig/src/misc.cc 2024-03-06 16:56:22.000000000 +0100
|
||||
+++ geeqie-2.3/src/misc.cc 2024-03-25 21:03:18.655779225 +0100
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#include <clocale>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
@@ -49,7 +49,9 @@ BDEPEND="
|
||||
|
||||
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.3-test-ancillary.patch )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.3-test-ancillary.patch
|
||||
"${FILESDIR}"/${P}-locale.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Do not require setting LUA_SINGLE_TARGET if lua is not used
|
||||
|
||||
Reference in New Issue
Block a user