void-packages/srcpkgs/lifelines/patches/fix-musl.patch

16 lines
365 B
Diff

diff --git a/src/gedlib/locales.c b/src/gedlib/locales.c
index fb3badca27..c6a73b3fc7 100644
--- a/src/gedlib/locales.c
+++ b/src/gedlib/locales.c
@@ -414,8 +414,10 @@ notify_gettext_language_changed (void)
#if WIN32_INTL_SHIM
gt_notify_language_change();
#else
+#ifdef __GLIBC__
extern int _nl_msg_cat_cntr;
++_nl_msg_cat_cntr;
+#endif
#endif
#endif
}