pkgsrc/www/epiphany/patches/patch-lib_contrib_gnome-languages.c
nia 850fe127da epiphany: Update to 3.35.2
Updated to gtk 3 / GNOME 3 version / recentish webkit.

This is one minor version away from the latest version, but nevertheless
a large improvement - we need a small webkit-gtk bump (ping leot :)).
2020-01-21 15:02:07 +00:00

17 lines
422 B
C

$NetBSD: patch-lib_contrib_gnome-languages.c,v 1.1 2020/01/21 15:02:08 nia Exp $
NetBSD does not have uselocale yet.
--- lib/contrib/gnome-languages.c.orig 2019-11-22 21:24:16.000000000 +0000
+++ lib/contrib/gnome-languages.c
@@ -51,6 +51,10 @@
#include "default-input-sources.h"
#endif
+#ifdef __NetBSD__
+#define uselocale(v) (NULL)
+#endif
+
typedef struct _GnomeLocale {
char *id;
char *name;