internlm/SWE-Fixer-Train-110K huggingface dataset:
Repository: conan-io/conan-center-index

Issue:
[package] qt/5.15.2: qt5 winextras needs to link dwmapi.lib
I am using qt 5.15.2 with the winextras option enabled

```
    def requirements(self):
        self.requires("qt/5.15.2")

    def configure(self):
        self.options["qt"].qtwinextras = True
```

In CMake I am doing a 
```
find_package(Qt5 COMPONENTS
  WinExtras
)

#...

 target_link_libraries (${PROJECT_NAME}
   Qt5::WinExtras
  )
```

However the build fails with a ton of linker errors:
```
error LNK2019: unresolved external symbol __imp_DwmGetColorizationColor referenced in function "class QColor __cdecl QtWin::colorizationColor(bool *)" (?colorizationColor@QtWin@@YA?AVQColor@@PEA_N@Z)
```

Adding `dwmapi.lib` for the linker resolves the problem.
I guess this needs to be modelled in the recipe.


Discussion:

Resolving patch:
diff --git a/recipes/qt/5.x.x/conanfile.py b/recipes/qt/5.x.x/conanfile.py
--- a/recipes/qt/5.x.x/conanfile.py
+++ b/recipes/qt/5.x.x/conanfile.py
@@ -1090,6 +1090,9 @@ def _create_plugin(pluginname, libname, type, requires):
                 self.cpp_info.components["qtCore"].system_libs.append("ws2_32")  # qtcore requires "WSAStartup " which is in "Ws2_32.Lib" library
                 self.cpp_info.components["qtNetwork"].system_libs.append("dnsapi")  # qtnetwork from qtbase requires "DnsFree" which is in "Dnsapi.lib" library
                 self.cpp_info.components["qtNetwork"].system_libs.append("iphlpapi")
+                if self.options.qtwinextras:
+                    self.cpp_info.components["qtWinExtras"].system_libs.append("dwmapi")  # qtwinextras requires "DwmGetColorizationColor" which is in "dwmapi.lib" library
+
 
             if self.settings.os == "Macos":
                 self.cpp_info.components["qtCore"].frameworks.append("IOKit")     # qtcore requires "_IORegistryEntryCreateCFProperty", "_IOServiceGetMatchingService" and much more which are in "IOKit" framework


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] <openssl>/<1.1.1l>
### Package Details
  * Package Name/Version: openssl/1.1.1l
  * Changelog: https://www.openssl.org/news/openssl-1.1.1-notes.html


The above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/openssl/1.x.x/conanfile.py b/recipes/openssl/1.x.x/conanfile.py
--- a/recipes/openssl/1.x.x/conanfile.py
+++ b/recipes/openssl/1.x.x/conanfile.py
@@ -180,7 +180,7 @@ def build_requirements(self):
                 self.build_requires("nasm/2.15.05")
         if self._win_bash:
             if "CONAN_BASH_PATH" not in os.environ:
-                self.build_requires("msys2/20200517")
+                self.build_requires("msys2/cci.latest")
 
     @property
     def _is_msvc(self):


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] rapidcheck/20210702
### Package Details
  * Package Name/Version: **rapidcheck/20210702**

The above-mentioned version solves issue #5205 and is not yet available as a recipe. Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/rapidcheck/all/conanfile.py b/recipes/rapidcheck/all/conanfile.py
--- a/recipes/rapidcheck/all/conanfile.py
+++ b/recipes/rapidcheck/all/conanfile.py
@@ -51,6 +51,9 @@ def validate(self):
         if self.settings.compiler == "Visual Studio" and self.options.shared:
             raise ConanInvalidConfiguration("shared is not supported using Visual Studio")
 
+        if 'cci' not in self.version:
+            self.output.warn("This version has been deprecated in favor of '{}/cci.{}'".format(self.name, self.version))
+
     def source(self):
         tools.get(**self.conan_data["sources"][self.version],
                   destination=self._source_subfolder, strip_root=True)
@@ -107,7 +110,11 @@ def package_info(self):
         self.cpp_info.build_modules["cmake_find_package"] = [self._module_file_rel_path]
         self.cpp_info.build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
         self.cpp_info.libs = ["rapidcheck"]
-        if tools.Version(self.version) < "20201218":
+        # Remove after 9473 is merged.
+        version = self.version
+        if version.startswith("cci."):
+            version = version[4:]
+        if version < "20201218":
             if self.options.enable_rtti:
                 self.cpp_info.defines.append("RC_USE_RTTI")
         else:


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] cpputest/4.0: Request support for `--disable-memory-leak-detection`
Request support for `--disable-memory-leak-detection` option

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **cpputest/4.0**



### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
`--disable-memory-leak-detection` is an option available on the `cpputest` package but is not yet available in the Conan recipe



Discussion:

Resolving patch:
diff --git a/recipes/cpputest/all/conanfile.py b/recipes/cpputest/all/conanfile.py
--- a/recipes/cpputest/all/conanfile.py
+++ b/recipes/cpputest/all/conanfile.py
@@ -18,10 +18,12 @@ class CppUTestConan(ConanFile):
     options = {
         "fPIC": [True, False],
         "with_extensions": [True, False],
+        "with_leak_detection": [True, False],
     }
     default_options = {
         "fPIC": True,
         "with_extensions": True,
+        "with_leak_detection": True,
     }
 
     _cmake = None
@@ -53,7 +55,7 @@ def _configure_cmake(self):
         self._cmake.definitions["STD_C"] = "ON"
         self._cmake.definitions["STD_CPP"] = "ON"
         self._cmake.definitions["C++11"] = "ON"
-        self._cmake.definitions["MEMORY_LEAK_DETECTION"] = "ON"
+        self._cmake.definitions["MEMORY_LEAK_DETECTION"] = self.options.with_leak_detection
         self._cmake.definitions["EXTENSIONS"] = self.options.with_extensions
         self._cmake.definitions["LONGLONG"] = "ON"
         self._cmake.definitions["COVERAGE"] = "OFF"


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] aws-c-event-stream/0.2.7: conflicting openssl versions
```
ERROR: Conflict in s2n/1.0.11:
    's2n/1.0.11' requires 'openssl/1.1.1k' while 'aws-c-cal/0.5.11' requires 'openssl/1.1.1l'.
    To fix this conflict you need to override the package 'openssl' in your root package.
```

seems like it was introduced by #7260 

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **aws-c-event-stream/0.2.7**
  * Conan version: **conan 1.39.0**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=7
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)
conan install --build missing aws-c-event-stream/0.2.7@


Discussion:

Resolving patch:
diff --git a/recipes/s2n/all/conanfile.py b/recipes/s2n/all/conanfile.py
--- a/recipes/s2n/all/conanfile.py
+++ b/recipes/s2n/all/conanfile.py
@@ -36,7 +36,7 @@ def configure(self):
         del self.settings.compiler.libcxx
 
     def requirements(self):
-        self.requires("openssl/1.1.1k")
+        self.requires("openssl/1.1.1l")
 
     def source(self):
         tools.get(**self.conan_data["sources"][self.version],


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] imguizmo/1.83
### Package Details
  * Package Name/Version: **imguizmo/1.83**
  * Changelog: **https://github.com/CedricGuillemet/ImGuizmo/releases/tag/1.83**

The above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.


Discussion:

Resolving patch:
diff --git a/recipes/imguizmo/all/conanfile.py b/recipes/imguizmo/all/conanfile.py
--- a/recipes/imguizmo/all/conanfile.py
+++ b/recipes/imguizmo/all/conanfile.py
@@ -14,7 +14,6 @@ class ImGuizmoConan(ConanFile):
 
     exports_sources = ["CMakeLists.txt"]
     generators = "cmake"
-    requires = "imgui/1.82"
 
     options = {
         "shared": [True, False],
@@ -44,6 +43,12 @@ def source(self):
         extracted_dir = glob.glob("ImGuizmo-*/")[0]
         os.rename(extracted_dir, self._source_subfolder)
 
+    def requirements(self):
+        if self.version == "cci.20210223":
+            self.requires("imgui/1.82")
+        else:
+            self.requires("imgui/1.83")
+
     def _configure_cmake(self):
         if self._cmake:
             return self._cmake


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] qt/5.15.2: Cannot open include file: 'qplatformdefs.h'
### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **qt/5.15.2**
  * Operating System+version: **Windows 21H1**
  * Compiler+version: **VS 16.11**
  * Conan version: **conan 1.40.3**
  * Python version: **Python 3.9.2**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[conf]
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)

```cpp

#include <qplatformdefs.h>

```

"Official" Qt5CoreConfig.cmake uses Qt5CoreConfigExtrasMkspecDir.cmake which contains extra QtCore module include directory where qplatformdefs.h is located. Some libraries use qplatformdefs.h (e.g. KArchive) and I think recipe should add this include directory too.



Discussion:

Resolving patch:
diff --git a/recipes/qt/5.x.x/conanfile.py b/recipes/qt/5.x.x/conanfile.py
--- a/recipes/qt/5.x.x/conanfile.py
+++ b/recipes/qt/5.x.x/conanfile.py
@@ -1189,6 +1189,15 @@ def _create_plugin(pluginname, libname, type, requires):
                 self.cpp_info.components[component_name].build_modules["cmake_find_package_multi"].append(module)
             self.cpp_info.components[component_name].builddirs.append(os.path.join("lib", "cmake", m))
 
+        qt5core_config_extras_mkspec_dir_cmake = tools.load(
+            os.path.join("lib", "cmake", "Qt5Core", "Qt5CoreConfigExtrasMkspecDir.cmake"))
+        mkspecs_dir_begin = qt5core_config_extras_mkspec_dir_cmake.find("mkspecs/")
+        mkspecs_dir_end = qt5core_config_extras_mkspec_dir_cmake.find("\"", mkspecs_dir_begin)
+        mkspecs_dir = qt5core_config_extras_mkspec_dir_cmake[mkspecs_dir_begin:mkspecs_dir_end].split('/')
+        mkspecs_path = os.path.join("bin", "archdatadir", *mkspecs_dir)
+        assert os.path.exists(mkspecs_path)
+        self.cpp_info.components["qtCore"].includedirs.append(mkspecs_path)
+
         objects_dirs = glob.glob(os.path.join(self.package_folder, "lib", "objects-*/"))
         for object_dir in objects_dirs:
             for m in os.listdir(object_dir):


Test patch:
diff --git a/recipes/qt/5.x.x/test_package/test_package.cpp b/recipes/qt/5.x.x/test_package/test_package.cpp
--- a/recipes/qt/5.x.x/test_package/test_package.cpp
+++ b/recipes/qt/5.x.x/test_package/test_package.cpp
@@ -10,6 +10,8 @@
 #include <QDomText>
 #include <QSqlDatabase>
 
+#include <qplatformdefs.h>
+
 void f()
 {
     qDebug() << "inside f";
@@ -35,6 +37,8 @@ int main(int argc, char *argv[]){
     qDebug() << "Resource content:" << f.readAll();
     f.close();
 
+    qDebug() << W_OK;
+
     QNetworkAccessManager networkTester;
 
     QSqlDatabase sqlTester;
Repository: conan-io/conan-center-index

Issue:
[request] sigslot/1.2.1
### Package Details
  * Package Name/Version: **sigslot/1.2.1**
  * Changelog: **https://github.com/palacaze/sigslot/releases/tag/v1.2.1**


The above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/sigslot/all/conanfile.py b/recipes/sigslot/all/conanfile.py
--- a/recipes/sigslot/all/conanfile.py
+++ b/recipes/sigslot/all/conanfile.py
@@ -65,4 +65,4 @@ def package_info(self):
             self.cpp_info.components["_sigslot"].system_libs.append("pthread")
         if self.settings.os == "Windows":
             if self.settings.compiler in ("Visual Studio", "clang"):
-                self.cpp_info.components["_sigslot"].exelinkflags.append('/OPT:NOICF')
+                self.cpp_info.components["_sigslot"].exelinkflags.append('-OPT:NOICF')


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] sqlpp11/0.60: scripts are not in the package
sqlpp11 provides some scripts that can be used by the consumer: https://github.com/rbock/sqlpp11/tree/develop/scripts  
But these scripts are not in the conan package.


Discussion:
I will try to create a pull request

Resolving patch:
diff --git a/recipes/sqlpp11/all/conanfile.py b/recipes/sqlpp11/all/conanfile.py
--- a/recipes/sqlpp11/all/conanfile.py
+++ b/recipes/sqlpp11/all/conanfile.py
@@ -24,13 +24,21 @@ def package_id(self):
         self.info.header_only()
 
     def source(self):
-        tools.get(**self.conan_data["sources"][self.version],
-                  destination=self._source_subfolder, strip_root=True)
+        tools.get(
+            **self.conan_data["sources"][self.version],
+            destination=self._source_subfolder,
+            strip_root=True
+        )
 
     def package(self):
         self.copy("LICENSE", dst="licenses", src=self._source_subfolder)
         self.copy("*.h", dst="include", src=os.path.join(self._source_subfolder, "include"))
+        self.copy("*", dst="bin", src=os.path.join(self._source_subfolder, "scripts"))
 
     def package_info(self):
         self.cpp_info.filenames["cmake_find_package"] = "Sqlpp11"
         self.cpp_info.filenames["cmake_find_package_multi"] = "Sqlpp11"
+
+        bindir = os.path.join(self.package_folder, "bin")
+        self.output.info("Appending PATH environment variable: {}".format(bindir))
+        self.env_info.PATH.append(bindir)


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] grpc/1.42.0
### Package Details
  * Package Name/Version: **grpc/1.42.0**
  * Changelog: **https://github.com/grpc/grpc/releases/tag/v1.42.0**


The above mentioned version is newly released by the upstream project and not yet available as a recipe.

I'll gonna add this version :-) PR follows


Discussion:

Resolving patch:
diff --git a/recipes/grpc/all/conanfile.py b/recipes/grpc/all/conanfile.py
--- a/recipes/grpc/all/conanfile.py
+++ b/recipes/grpc/all/conanfile.py
@@ -80,14 +80,18 @@ def validate(self):
         if self.settings.compiler.get_safe("cppstd"):
             tools.check_min_cppstd(self, 11)
 
+        if tools.is_apple_os(self.settings.os) and "arm" in self.settings.arch:
+            raise ConanInvalidConfiguration("gRPC is not supported on M1 Mac due to limitations in protobuf support.")
+
     def source(self):
         tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True)
-        # Fix the protoc search path for cross compiling
-        tools.replace_in_file(os.path.join(self._source_subfolder, "cmake", "protobuf.cmake"),
-                "find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc)",
-                "find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc PATHS ENV PATH NO_DEFAULT_PATH)"
-        )
-        if tools.Version(self.version) >= "1.39.0":
+        if tools.Version(self.version) < "1.42.0":
+            # Fix the protoc search path for cross compiling
+            tools.replace_in_file(os.path.join(self._source_subfolder, "cmake", "protobuf.cmake"),
+                    "find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc)",
+                    "find_program(_gRPC_PROTOBUF_PROTOC_EXECUTABLE protoc PATHS ENV PATH NO_DEFAULT_PATH)"
+            )
+        if tools.Version(self.version) >= "1.39.0" and tools.Version(self.version) <= "1.39.1":
             # Follow https://github.com/grpc/grpc/issues/26857, there is no reason to skip installation of
             #   executable when cross-building
             tools.replace_in_file(os.path.join(self._source_subfolder, "CMakeLists.txt"),
@@ -157,7 +161,7 @@ def package(self):
 
         self.copy(pattern="LICENSE", dst="licenses", src=self._source_subfolder)
         self.copy(pattern="*.cmake", dst=os.path.join("lib", "cmake"), src=os.path.join(self.source_folder, "cmake"))
-    
+
     def package_info(self):
         bindir = os.path.join(self.package_folder, "bin")
         self.output.info("Appending PATH environment variable: {}".format(bindir))


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] perfetto/v21.0
### Package Details
  * Package Name/Version: **perfetto/v21.0**
  * Changelog: **https://github.com/google/perfetto/releases/tag/v21.0**


The above mentioned version is newly released by the upstream project and not yet available as a recipe. PR follows



Discussion:

Resolving patch:
diff --git a/recipes/perfetto/all/conanfile.py b/recipes/perfetto/all/conanfile.py
--- a/recipes/perfetto/all/conanfile.py
+++ b/recipes/perfetto/all/conanfile.py
@@ -68,7 +68,6 @@ def package(self):
 
     def package_info(self):
         self.cpp_info.libs = ["perfetto"]
-        self.cpp_info.names["pkgconfig"] = "perfetto"
         if self.settings.os == "Linux":
             self.cpp_info.system_libs.append("pthread")
         if self.settings.os == "Windows":


Test patch:
diff --git a/recipes/perfetto/all/test_package/CMakeLists.txt b/recipes/perfetto/all/test_package/CMakeLists.txt
--- a/recipes/perfetto/all/test_package/CMakeLists.txt
+++ b/recipes/perfetto/all/test_package/CMakeLists.txt
@@ -1,13 +1,11 @@
-cmake_minimum_required(VERSION 3.4)
+cmake_minimum_required(VERSION 3.8)
 project(test_package CXX)
 
 include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
 conan_basic_setup(TARGETS)
 
-set(CMAKE_CXX_STANDARD 11)
-set(CMAKE_CXX_STANDARD_REQUIRED ON)
-
 find_package(perfetto REQUIRED CONFIG)
 
 add_executable(${PROJECT_NAME} test_package.cpp)
+target_compile_features(test_package PRIVATE cxx_std_11 cxx_constexpr)
 target_link_libraries(${PROJECT_NAME} perfetto::perfetto)
Repository: conan-io/conan-center-index

Issue:
[perfetto] perfetto/all: Windows build without logs fail
To reproduce set disable_logging=True

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **perfetto/all**
  * Operating System+version: **Windows all**
  * Compiler+version: **MSVC2019**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[conf]
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)
set disable_logging=True

### Logs (Include/Attach if Applicable)
![image](https://user-images.githubusercontent.com/11200321/146910817-df63648d-06d4-415c-aa08-65a8123807bf.png)




Discussion:

Resolving patch:
diff --git a/recipes/perfetto/all/conanfile.py b/recipes/perfetto/all/conanfile.py
--- a/recipes/perfetto/all/conanfile.py
+++ b/recipes/perfetto/all/conanfile.py
@@ -24,7 +24,6 @@ class PerfettoConan(ConanFile):
             "disable_logging": False,
     }
 
-    exports_sources = ["CMakeLists.txt"]
     generators = "cmake"
 
     _cmake = None
@@ -60,7 +59,17 @@ def _configure_cmake(self):
         self._cmake.configure()
         return self._cmake
 
+    def export_sources(self):
+        self.copy("CMakeLists.txt")
+        for patch in self.conan_data.get("patches", {}).get(self.version, []):
+            self.copy(patch["patch_file"])
+
+    def _patch_sources(self):
+        for patch in self.conan_data.get("patches", {}).get(self.version, []):
+            tools.patch(**patch)
+
     def build(self):
+        self._patch_sources()
         cmake = self._configure_cmake()
         cmake.build()
 


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] grpc/1.43.0
### Package Details
  * Package Name/Version: **grpc/1.43.0**
  * Changelog: **https://github.com/grpc/grpc/releases/tag/v1.43.0**

Due to problem in 1.42.0:
https://github.com/grpc/grpc/pull/28196

PR follows


Discussion:

Resolving patch:
diff --git a/recipes/grpc/all/conanfile.py b/recipes/grpc/all/conanfile.py
--- a/recipes/grpc/all/conanfile.py
+++ b/recipes/grpc/all/conanfile.py
@@ -11,7 +11,6 @@ class grpcConan(ConanFile):
     url = "https://github.com/conan-io/conan-center-index"
     homepage = "https://github.com/grpc/grpc"
     license = "Apache-2.0"
-    exports_sources = ["CMakeLists.txt", "cmake/*", "patches/**"]
     generators = "cmake", "cmake_find_package", "cmake_find_package_multi"
     short_paths = True
 
@@ -142,6 +141,12 @@ def _configure_cmake(self):
         self._cmake.configure(build_folder=self._build_subfolder)
         return self._cmake
 
+    def export_sources(self):
+        self.copy("CMakeLists.txt")
+        self.copy(pattern="cmake/*")
+        for patch in self.conan_data.get("patches", {}).get(self.version, []):
+            self.copy(patch["patch_file"])
+
     def _patch_sources(self):
         for patch in self.conan_data.get("patches", {}).get(self.version, []):
             tools.patch(**patch)


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] mpdecimal/2.5.x: win32 build failed
<!-- 
  Please don't forget to update the issue title.
  Include all applicable information to help us reproduce your problem.
-->

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **mpdecimal/2.5.x**
  * Operating System+version: **Windows 11**
  * Compiler+version: **Visual Studio 16**
  * Conan version: **conan 1.42.2**
  * Python version: **Python 3.10.0**


### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
```
[settings]
os=Windows
os_build=Windows
arch=x86
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[conf]
[build_requires]
[env]
```


### Steps to reproduce (Include if Applicable)
Just build mpdecimal package with specified profile. `conan create . 2.5.0@`


### Logs (Include/Attach if Applicable)
<details><summary>Click to expand log</summary>

![изображение](https://user-images.githubusercontent.com/42415176/147117876-514cd6fa-08bf-42b4-ac9e-742f6d949590.png)

</details>



Discussion:

Resolving patch:
diff --git a/recipes/mpdecimal/2.5.x/conanfile.py b/recipes/mpdecimal/2.5.x/conanfile.py
--- a/recipes/mpdecimal/2.5.x/conanfile.py
+++ b/recipes/mpdecimal/2.5.x/conanfile.py
@@ -98,7 +98,7 @@ def _build_msvc(self):
                 with tools.chdir(build_dir):
                     self.run("""nmake /nologo /f Makefile.vc {target} MACHINE={machine} DEBUG={debug} DLL={dll} CONAN_CFLAGS="{cflags}" CONAN_CXXFLAGS="{cxxflags}" CONAN_LDFLAGS="{ldflags}" """.format(
                         target=target,
-                        machine={"x86": "pro", "x86_64": "x64"}[str(self.settings.arch)],  # FIXME: else, use ansi32 and ansi64
+                        machine={"x86": "ppro", "x86_64": "x64"}[str(self.settings.arch)],  # FIXME: else, use ansi32 and ansi64
                         debug="1" if self.settings.build_type == "Debug" else "0",
                         dll="1" if self.options.shared else "0",
                         cflags=" ".join(autotools.flags + extra_flags),


Test patch: