We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[package] make/4.2.1: not building for Linux Clang 9
The recipe for `make/4.2.1` does not build under Linux Clang 9.

After generating all the index packages for Clang 9, the ones for this library failed to compile. In this case it doesn't matter that much as this is packaging a tool to be used as a build requirement.

Related to #211 

### Package and Environment Details (include every applicable attribute)
  * Package Name/Version: **make/4.2.1**
  * Operating System+version: **Linux Ubuntu 18.04**
  * Compiler+version: **Clang 9**
  * Conan version: **conan 1.21.0**
  * Python version: **Python 3.7.4**

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `recipes/make/all/conanfile.py`
Content:
```
1 from conans import ConanFile, tools, AutoToolsBuildEnvironment
2 import os
3 
4 
5 class MakeConan(ConanFile):
6     name = "make"
7     description = "GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files"
8     topics = ("conan", "make", "build", "makefile")
9     url = "https://github.com/conan-io/conan-center-index"
10     homepage = "https://www.gnu.org/software/make/"
11     license = "GPL-3.0-or-later"
12     settings = "os_build", "arch_build", "compiler"
13     _source_subfolder = "source_subfolder"
14 
15     def source(self):
16         tools.get(**self.conan_data["sources"][self.version])
17         extracted_dir = "make-" + self.version
18         os.rename(extracted_dir, self._source_subfolder)
19 
20     def configure(self):
21         del self.settings.compiler.libcxx
22         del self.settings.compiler.cppstd
23 
24     def build(self):
25         with tools.chdir(self._source_subfolder):
26             # README.W32
27             if self.settings.os_build == "Windows":
28                 if self.settings.compiler == "Visual Studio":
29                     command = "build_w32.bat --without-guile"
30                 else:
31                     command = "build_w32.bat --without-guile gcc"
32             else:
33                 env_build = AutoToolsBuildEnvironment(self)
34                 env_build.configure()
35                 command = "./build.sh"
36             with tools.vcvars(self.settings) if self.settings.compiler == "Visual Studio" else tools.no_op():
37                 self.run(command)
38 
39     def package(self):
40         self.copy(pattern="COPYING", dst="licenses", src=self._source_subfolder)
41         self.copy(pattern="make", dst="bin", src=self._source_subfolder, keep_path=False)
42         self.copy(pattern="*gnumake.exe", dst="bin", src=self._source_subfolder, keep_path=False)
43 
44     def package_info(self):
45         make = "gnumake.exe" if self.settings.os_build == "Windows" else "make"
46         make = os.path.join(self.package_folder, "bin", make)
47         self.output.info('Creating CONAN_MAKE_PROGRAM environment variable: %s' % make)
48         self.env_info.CONAN_MAKE_PROGRAM = make
49 
50     def package_id(self):
51         del self.info.settings.compiler
52
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/recipes/make/all/conanfile.py b/recipes/make/all/conanfile.py
--- a/recipes/make/all/conanfile.py
+++ b/recipes/make/all/conanfile.py
@@ -10,6 +10,7 @@
     homepage = "https://www.gnu.org/software/make/"
     license = "GPL-3.0-or-later"
     settings = "os_build", "arch_build", "compiler"
+    exports_sources = ["patches/*"]
     _source_subfolder = "source_subfolder"
 
     def source(self):
@@ -22,6 +23,9 @@
         del self.settings.compiler.cppstd
 
     def build(self):
+        for patch in self.conan_data["patches"][self.version]:
+            tools.patch(**patch)
+
         with tools.chdir(self._source_subfolder):
             # README.W32
             if self.settings.os_build == "Windows":

{"golden_diff": "diff --git a/recipes/make/all/conanfile.py b/recipes/make/all/conanfile.py\n--- a/recipes/make/all/conanfile.py\n+++ b/recipes/make/all/conanfile.py\n@@ -10,6 +10,7 @@\n     homepage = \"https://www.gnu.org/software/make/\"\n     license = \"GPL-3.0-or-later\"\n     settings = \"os_build\", \"arch_build\", \"compiler\"\n+    exports_sources = [\"patches/*\"]\n     _source_subfolder = \"source_subfolder\"\n \n     def source(self):\n@@ -22,6 +23,9 @@\n         del self.settings.compiler.cppstd\n \n     def build(self):\n+        for patch in self.conan_data[\"patches\"][self.version]:\n+            tools.patch(**patch)\n+\n         with tools.chdir(self._source_subfolder):\n             # README.W32\n             if self.settings.os_build == \"Windows\":\n", "issue": "[package] make/4.2.1: not building for Linux Clang 9\nThe recipe for `make/4.2.1` does not build under Linux Clang 9.\r\n\r\nAfter generating all the index packages for Clang 9, the ones for this library failed to compile. In this case it doesn't matter that much as this is packaging a tool to be used as a build requirement.\r\n\r\nRelated to #211 \r\n\r\n### Package and Environment Details (include every applicable attribute)\r\n  * Package Name/Version: **make/4.2.1**\r\n  * Operating System+version: **Linux Ubuntu 18.04**\r\n  * Compiler+version: **Clang 9**\r\n  * Conan version: **conan 1.21.0**\r\n  * Python version: **Python 3.7.4**\n", "before_files": [{"content": "from conans import ConanFile, tools, AutoToolsBuildEnvironment\nimport os\n\n\nclass MakeConan(ConanFile):\n    name = \"make\"\n    description = \"GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files\"\n    topics = (\"conan\", \"make\", \"build\", \"makefile\")\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://www.gnu.org/software/make/\"\n    license = \"GPL-3.0-or-later\"\n    settings = \"os_build\", \"arch_build\", \"compiler\"\n    _source_subfolder = \"source_subfolder\"\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = \"make-\" + self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def configure(self):\n        del self.settings.compiler.libcxx\n        del self.settings.compiler.cppstd\n\n    def build(self):\n        with tools.chdir(self._source_subfolder):\n            # README.W32\n            if self.settings.os_build == \"Windows\":\n                if self.settings.compiler == \"Visual Studio\":\n                    command = \"build_w32.bat --without-guile\"\n                else:\n                    command = \"build_w32.bat --without-guile gcc\"\n            else:\n                env_build = AutoToolsBuildEnvironment(self)\n                env_build.configure()\n                command = \"./build.sh\"\n            with tools.vcvars(self.settings) if self.settings.compiler == \"Visual Studio\" else tools.no_op():\n                self.run(command)\n\n    def package(self):\n        self.copy(pattern=\"COPYING\", dst=\"licenses\", src=self._source_subfolder)\n        self.copy(pattern=\"make\", dst=\"bin\", src=self._source_subfolder, keep_path=False)\n        self.copy(pattern=\"*gnumake.exe\", dst=\"bin\", src=self._source_subfolder, keep_path=False)\n\n    def package_info(self):\n        make = \"gnumake.exe\" if self.settings.os_build == \"Windows\" else \"make\"\n        make = os.path.join(self.package_folder, \"bin\", make)\n        self.output.info('Creating CONAN_MAKE_PROGRAM environment variable: %s' % make)\n        self.env_info.CONAN_MAKE_PROGRAM = make\n\n    def package_id(self):\n        del self.info.settings.compiler\n", "path": "recipes/make/all/conanfile.py"}], "after_files": [{"content": "from conans import ConanFile, tools, AutoToolsBuildEnvironment\nimport os\n\n\nclass MakeConan(ConanFile):\n    name = \"make\"\n    description = \"GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files\"\n    topics = (\"conan\", \"make\", \"build\", \"makefile\")\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://www.gnu.org/software/make/\"\n    license = \"GPL-3.0-or-later\"\n    settings = \"os_build\", \"arch_build\", \"compiler\"\n    exports_sources = [\"patches/*\"]\n    _source_subfolder = \"source_subfolder\"\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = \"make-\" + self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def configure(self):\n        del self.settings.compiler.libcxx\n        del self.settings.compiler.cppstd\n\n    def build(self):\n        for patch in self.conan_data[\"patches\"][self.version]:\n            tools.patch(**patch)\n\n        with tools.chdir(self._source_subfolder):\n            # README.W32\n            if self.settings.os_build == \"Windows\":\n                if self.settings.compiler == \"Visual Studio\":\n                    command = \"build_w32.bat --without-guile\"\n                else:\n                    command = \"build_w32.bat --without-guile gcc\"\n            else:\n                env_build = AutoToolsBuildEnvironment(self)\n                env_build.configure()\n                command = \"./build.sh\"\n            with tools.vcvars(self.settings) if self.settings.compiler == \"Visual Studio\" else tools.no_op():\n                self.run(command)\n\n    def package(self):\n        self.copy(pattern=\"COPYING\", dst=\"licenses\", src=self._source_subfolder)\n        self.copy(pattern=\"make\", dst=\"bin\", src=self._source_subfolder, keep_path=False)\n        self.copy(pattern=\"*gnumake.exe\", dst=\"bin\", src=self._source_subfolder, keep_path=False)\n\n    def package_info(self):\n        make = \"gnumake.exe\" if self.settings.os_build == \"Windows\" else \"make\"\n        make = os.path.join(self.package_folder, \"bin\", make)\n        self.output.info('Creating CONAN_MAKE_PROGRAM environment variable: %s' % make)\n        self.env_info.CONAN_MAKE_PROGRAM = make\n\n    def package_id(self):\n        del self.info.settings.compiler\n", "path": "recipes/make/all/conanfile.py"}]}