mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gtkmm4: update to 4.12.0.
This commit is contained in:
parent
60eb0041a9
commit
95834d2c82
2 changed files with 19 additions and 2 deletions
17
srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch
Normal file
17
srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
passing std::setlocale output to std::locale segfaults,
|
||||||
|
get the locale with std::locale("") instead.
|
||||||
|
--
|
||||||
|
diff --git a/untracked/gtk/gtkmm/application.cc b/untracked/gtk/gtkmm/application.cc
|
||||||
|
index 0f8d7a0..22c1c8b 100644
|
||||||
|
--- a/untracked/gtk/gtkmm/application.cc
|
||||||
|
+++ b/untracked/gtk/gtkmm/application.cc
|
||||||
|
@@ -74,7 +74,8 @@ static void set_cxx_locale_to_c_locale()
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Make the C++ locale equal to the C locale.
|
||||||
|
- std::locale::global(std::locale(std::setlocale(LC_ALL, nullptr)));
|
||||||
|
+ // std::locale::global(std::locale(std::setlocale(LC_ALL, nullptr)));
|
||||||
|
+ std::locale::global(std::locale(""));
|
||||||
|
}
|
||||||
|
catch (const std::runtime_error& ex)
|
||||||
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gtkmm4'
|
# Template file for 'gtkmm4'
|
||||||
pkgname=gtkmm4
|
pkgname=gtkmm4
|
||||||
version=4.4.0
|
version=4.12.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="pkg-config mm-common glib-devel"
|
hostmakedepends="pkg-config mm-common glib-devel"
|
||||||
|
@ -12,7 +12,7 @@ license="LGPL-2.1-or-later"
|
||||||
homepage="https://gtkmm.org"
|
homepage="https://gtkmm.org"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/gtkmm/-/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/gtkmm/-/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-${version}.tar.xz"
|
||||||
checksum=2eb464326096e6a40c82e9cd074164d8103fb5e07865679c0a649e4174700dda
|
checksum=fbc3e7618123345c0148ef71abb6548d421f52bb224fbda34875b677dc032c92
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
xvfb-run ninja -C build test
|
xvfb-run ninja -C build test
|
||||||
|
|
Loading…
Add table
Reference in a new issue