diff --git a/srcpkgs/kdelibs/patches/musl-_nl_msg_cat_cntr.patch b/srcpkgs/kdelibs/patches/musl-_nl_msg_cat_cntr.patch new file mode 100644 index 0000000000..c34ec4e94a --- /dev/null +++ b/srcpkgs/kdelibs/patches/musl-_nl_msg_cat_cntr.patch @@ -0,0 +1,17 @@ +--- kdecore/localization/kcatalog.cpp ++++ kdecore/localization/kcatalog.cpp +@@ -193,12 +193,14 @@ void KCatalogPrivate::setupGettextEnv () + //kDebug() << "bindtextdomain" << name << localeDir; + bindtextdomain(name, localeDir); + ++#if defined(__GLIBC__) + // Magic to make sure Gettext doesn't use stale cached translation + // from previous language. + #ifndef _MSC_VER + extern int _nl_msg_cat_cntr; + #endif + ++_nl_msg_cat_cntr; ++#endif + } + } + diff --git a/srcpkgs/kdelibs/template b/srcpkgs/kdelibs/template index 0303aaffef..d00c3f4caf 100644 --- a/srcpkgs/kdelibs/template +++ b/srcpkgs/kdelibs/template @@ -1,10 +1,10 @@ # Template file for 'kdelibs' pkgname=kdelibs version=4.14.3 -revision=1 +revision=2 short_desc="KDE core libraries" maintainer="Juan RP " -license="GPL, LGPL, FDL" +license="GPL-2.0, LGPL-2.1, FDL" homepage="http://www.kde.org" distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz" checksum=f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e