diff options
-rw-r--r-- | media-gfx/geeqie/files/geeqie-2.1-locale.patch | 22 | ||||
-rw-r--r-- | media-gfx/geeqie/geeqie-2.1-r1.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/geeqie/files/geeqie-2.1-locale.patch b/media-gfx/geeqie/files/geeqie-2.1-locale.patch new file mode 100644 index 000000000000..10ae6b0169c5 --- /dev/null +++ b/media-gfx/geeqie/files/geeqie-2.1-locale.patch @@ -0,0 +1,22 @@ +From 01d8762d45a2f3871cfd09176edbccdbe73a6767 Mon Sep 17 00:00:00 2001 +From: Thomas Klausner <wiz@gatalith.at> +Date: Sat, 17 Jun 2023 18:47:28 +0200 +Subject: [PATCH] Add missing header for setlocale(). + +--- + src/misc.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/misc.cc b/src/misc.cc +index 9942605ce..a2ad3eb69 100644 +--- a/src/misc.cc ++++ b/src/misc.cc +@@ -18,6 +18,8 @@ + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + ++#include <locale.h> ++ + #include "main.h" + #include "misc.h" + diff --git a/media-gfx/geeqie/geeqie-2.1-r1.ebuild b/media-gfx/geeqie/geeqie-2.1-r1.ebuild index 9acadcda8fe6..e19752f02bbd 100644 --- a/media-gfx/geeqie/geeqie-2.1-r1.ebuild +++ b/media-gfx/geeqie/geeqie-2.1-r1.ebuild @@ -46,6 +46,7 @@ BDEPEND=" REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" PATCHES=( + "${FILESDIR}"/${P}-locale.patch "${FILESDIR}"/${P}-lua_hpp.patch "${FILESDIR}"/${P}-exiv2-0.28.0.patch ) |