From 9f327cfa5cdc38c612b99fca9d3ba125d40f58d0 Mon Sep 17 00:00:00 2001
From: Ian Douglas Scott <ian@iandouglasscott.com>
Date: Thu, 8 Mar 2018 17:09:05 -0800
Subject: [PATCH] Include "Redox" in netsurf user agent

---
 recipes/netsurf/01_redox.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes/netsurf/01_redox.patch b/recipes/netsurf/01_redox.patch
index 92ca70882..c51bb1992 100644
--- a/recipes/netsurf/01_redox.patch
+++ b/recipes/netsurf/01_redox.patch
@@ -357,7 +357,7 @@ diff -rupNw source-original/netsurf/utils/log.c source/netsurf/utils/log.c
 diff -rupNw source-original/netsurf/utils/useragent.c source/netsurf/utils/useragent.c
 --- source-original/netsurf/utils/useragent.c	2017-10-16 12:09:36.000000000 +0200
 +++ source/netsurf/utils/useragent.c	2018-03-04 20:43:18.252957604 +0100
-@@ -44,9 +44,9 @@ user_agent_build_string(void)
+@@ -44,9 +44,10 @@ user_agent_build_string(void)
          char *ua_string;
          int len;
  
@@ -367,6 +367,7 @@ diff -rupNw source-original/netsurf/utils/useragent.c source/netsurf/utils/usera
 +        //if (uname(&un) >= 0) {
 +        //        sysname = un.sysname;
 +        //}
++        sysname = "Redox";
  
          len = snprintf(NULL, 0, NETSURF_UA_FORMAT_STRING,
                         netsurf_version_major,
-- 
GitLab