  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 diff -rupN source-original/configure.in source/configure.in
 --- source-original/configure.in	2012-01-19 07:30:05.000000000 +0100
-+++ source/configure.in	2018-02-26 11:41:15.596206742 +0100
++++ source/configure.in	2018-02-26 19:43:01.954278409 +0100
 @@ -1646,6 +1646,19 @@ AC_HELP_STRING([--enable-video-dummy], [
      fi
  }

diff -rupN source-original/build-scripts/config.sub source/build-scripts/config.sub
--- source-original/build-scripts/config.sub	2012-01-19 07:30:05.000000000 +0100
+++ source/build-scripts/config.sub	2018-02-26 11:41:15.584206480 +0100
@@ -1276,7 +1276,7 @@ case $os in
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
 	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\

+	if ( this->hidden->buffer ) {
+		redox_funmap( this->hidden->buffer );
+		this->hidden->buffer = NULL;
+		this->screen->pixels = NULL;
+	}
+
+	if ( this->hidden->fd >= 0) {
+		close( this->hidden->fd );
+                this->hidden->fd = 0;
+	}
+}
diff -rupN source-original/src/video/orbital/SDL_orbitalvideo.h source/src/video/orbital/SDL_orbitalvideo.h
--- source-original/src/video/orbital/SDL_orbitalvideo.h	1970-01-01 01:00:00.000000000 +0100
+++ source/src/video/orbital/SDL_orbitalvideo.h	2018-02-26 19:43:02.002278865 +0100
@@ -0,0 +1,41 @@
+/*
+    SDL - Simple DirectMedia Layer
