From fdfd2228df9734771f20baba79e26ce14d518505 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 11 Feb 2015 01:43:03 -0200 Subject: p7zip-9.38-1.parabola1: updating version --- libre/p7zip/osversion.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libre/p7zip/osversion.patch (limited to 'libre/p7zip/osversion.patch') diff --git a/libre/p7zip/osversion.patch b/libre/p7zip/osversion.patch new file mode 100644 index 000000000..49e0653e4 --- /dev/null +++ b/libre/p7zip/osversion.patch @@ -0,0 +1,28 @@ +diff -Naur old/CPP/7zip/UI/FileManager/FM.cpp new/CPP/7zip/UI/FileManager/FM.cpp +--- old/CPP/7zip/UI/FileManager/FM.cpp 2015-01-18 08:59:09.000000000 -1000 ++++ new/CPP/7zip/UI/FileManager/FM.cpp 2015-02-09 11:39:55.575712452 -1000 +@@ -348,24 +348,7 @@ + + bool IsLargePageSupported() + { +- #ifdef _WIN64 + return true; +- #else +- OSVERSIONINFO versionInfo; +- versionInfo.dwOSVersionInfoSize = sizeof(versionInfo); +- if (!::GetVersionEx(&versionInfo)) +- return false; +- if (versionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || versionInfo.dwMajorVersion < 5) +- return false; +- if (versionInfo.dwMajorVersion > 5) +- return true; +- if (versionInfo.dwMinorVersion < 1) +- return false; +- if (versionInfo.dwMinorVersion > 1) +- return true; +- // return IsWow64(); +- return false; +- #endif + } + + #if 0 //#ifndef UNDER_CE -- cgit v1.2.3-54-g00ecf