File fix_exception_when_reading_from_timezone_file.patch of Package mono-core

From 45c3685e3b360ecc8c5a78ee10c298d6b584a302 Mon Sep 17 00:00:00 2001
From: Bill Seurer <seurer@linux.vnet.ibm.com>
Date: Thu, 10 Sep 2015 13:34:27 -0500
Subject: [PATCH] [ppc] Fix exception when reading from timezone file. See
 https://bugzilla.xamarin.com/show_bug.cgi?id=30360


---
 mcs/class/corlib/System/TimeZoneInfo.cs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: mono-4.2.1/mcs/class/corlib/System/TimeZoneInfo.cs
===================================================================
--- mono-4.2.1.orig/mcs/class/corlib/System/TimeZoneInfo.cs
+++ mono-4.2.1/mcs/class/corlib/System/TimeZoneInfo.cs
@@ -1175,7 +1175,7 @@ namespace System
 			return (((i >> 24) & 0xff)
 				| ((i >> 8) & 0xff00)
 				| ((i << 8) & 0xff0000)
-				| ((i << 24)));
+				| (((i & 0xff) << 24)));
 		}
 
 		static int ReadBigEndianInt32 (byte [] buffer, int start)