  			if (d != -1 && dup2(d, 1) != -1 && dup2(d, 2) != -1) {
  				execvp(this->params[0], this->params);
  			}
-diff -ruwN source/src/rev.cpp.in source-new/src/rev.cpp.in
---- source/src/rev.cpp.in	2018-12-29 07:28:59.167296226 -0700
-+++ source-new/src/rev.cpp.in	2018-12-29 10:11:42.314241804 -0700
-@@ -57,7 +57,7 @@
+diff -rupNw source/src/os/unix/unix.cpp source-new/src/os/unix/unix.cpp
+--- source/src/os/unix/unix.cpp	2019-03-04 21:01:49.915057051 +0100
++++ source-new/src/os/unix/unix.cpp	2019-03-04 20:20:35.800062835 +0100
+@@ -69,12 +69,12 @@ ULONG __stack = (1024*1024)*2; // maybe
+ 
+ bool FiosIsRoot(const char *path)
+ {
+-#if !defined(__MORPHOS__) && !defined(__AMIGAOS__)
++#if !defined(__redox__)
+ 	return path[1] == '\0';
+ #else
+-	/* On MorphOS or AmigaOS paths look like: "Volume:directory/subdirectory" */
++	/* On Redox paths look like: "scheme:/directory/subdirectory" */
+ 	const char *s = strchr(path, ':');
+-	return s != NULL && s[1] == '\0';
++	return (s != NULL) && (strlen(s) == 2) && (s[1] == '/') && (s[2] == '\0');
+ #endif
+ }
+ 
+@@ -106,10 +106,10 @@ bool FiosIsValidFile(const char *path, c
+ {
+ 	char filename[MAX_PATH];
+ 	int res;
+-#if defined(__MORPHOS__) || defined(__AMIGAOS__)
+-	/* On MorphOS or AmigaOS paths look like: "Volume:directory/subdirectory" */
++#if defined(__redox__)
++	/* On Redox paths look like: "scheme:/directory/subdirectory" */
+ 	if (FiosIsRoot(path)) {
+-		res = seprintf(filename, lastof(filename), "%s:%s", path, ent->d_name);
++		res = seprintf(filename, lastof(filename), "%s%s", path, ent->d_name);
+ 	} else // XXX - only next line!
+ #else
+ 	assert(path[strlen(path) - 1] == PATHSEPCHAR);
+@@ -370,7 +370,7 @@ void OSOpenBrowser(const char *url)
+ 	if (child_pid != 0) return;
+ 
+ 	const char *args[3];
+-	args[0] = "xdg-open";
++	args[0] = "netsurf-fb";
+ 	args[1] = url;
+ 	args[2] = NULL;
+ 	execvp(args[0], const_cast<char * const *>(args));
+diff -rupNw source/src/rev.cpp.in source-new/src/rev.cpp.in
+--- source/src/rev.cpp.in	2019-03-04 21:01:49.923057115 +0100
++++ source-new/src/rev.cpp.in	2019-03-04 21:00:15.922317739 +0100
+@@ -57,7 +57,7 @@ const char _openttd_build_date[] = __DAT
   * (compiling from sources without any version control software)
   * and 2 is for modified revision.
   */

 	# LDFLAGS used for HOST
 	LDFLAGS="$LDFLAGS"
 	# FEATURES for HOST (lto)
diff -ruwN source/src/music/extmidi.cpp source-new/src/music/extmidi.cpp
--- source/src/music/extmidi.cpp	2018-12-29 07:28:59.143295501 -0700
+++ source-new/src/music/extmidi.cpp	2018-12-29 10:14:06.637357598 -0700
@@ -115,7 +115,11 @@
 	switch (this->pid) {
 		case 0: {
 			close(0);

 #if defined(__APPLE__)
 	#include "os/macosx/osx_stdafx.h"
 #endif /* __APPLE__ */
diff -rupNw source/src/string.cpp source-new/src/string.cpp
--- source/src/string.cpp	2019-03-04 21:01:49.955057370 +0100
+++ source-new/src/string.cpp	2019-03-04 21:00:15.938317862 +0100
@@ -528,7 +528,7 @@ size_t Utf8TrimString(char *s, size_t ma
 	return length;
 }
 
