Skip to content
Snippets Groups Projects
01_redox.patch 1.24 KiB
Newer Older
Nagy Tibor's avatar
Nagy Tibor committed
diff -rupNw source-original/common/stream.cpp source/common/stream.cpp
--- source-original/common/stream.cpp	2017-12-08 23:21:10.000000000 +0100
+++ source/common/stream.cpp	2018-11-28 00:36:53.474637267 +0100
@@ -95,7 +95,7 @@ bool MemoryReadStream::seek(int32 offs,
 		break;
 	}
 	// Post-Condition
-	assert(_pos <= _size);
+	//assert(_pos <= _size);
 
 	// Reset end-of-stream flag on a successful seek
 	_eos = false;
diff -rupNw source-original/configure source/configure
--- source-original/configure	2017-12-08 23:21:13.000000000 +0100
+++ source/configure	2018-11-28 00:35:33.000000000 +0100
@@ -3610,7 +3610,7 @@ case $_host_os in
 	amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | n64 | ps2 | ps3 | psp2 | psp | wii | wince)
 		_posix=no
 		;;
-	3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | riscos | solaris* | sunos* | uclinux* | webos)
+	3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | riscos | redox* | solaris* | sunos* | uclinux* | webos)
 		_posix=yes
 		;;
 	os2-emx*)