prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <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**
  
  </issue>
  <code>
  [start of recipes/make/all/conanfile.py]
  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 of recipes/make/all/conanfile.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: 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":
  
verification_info: {"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"}]}