From a6578b7d63a801fd725466dedab55218292aa769 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Fri, 8 Mar 2019 15:44:44 +0100
Subject: [PATCH] contrib: gettext: disable package not usable on Winstore
 builds

uses GetLocaleInfo (which is now available)
uses EnumSystemLocales which is not available (but EnumSystemLocalesEx is)
uses EnumResourceLanguages which is not available
---
 contrib/src/gettext/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/gettext/rules.mak b/contrib/src/gettext/rules.mak
index 2684b8ff5efa..8e8dbbebaa6d 100644
--- a/contrib/src/gettext/rules.mak
+++ b/contrib/src/gettext/rules.mak
@@ -2,7 +2,9 @@
 GETTEXT_VERSION := 0.19.8.1
 GETTEXT_URL := $(GNU)/gettext/gettext-$(GETTEXT_VERSION).tar.gz
 
+ifndef HAVE_WINSTORE
 PKGS += gettext
+endif
 ifneq ($(filter gnu%,$(subst -, ,$(HOST))),)
 # GNU platform should have gettext (?)
 PKGS_FOUND += gettext
-- 
GitLab