prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <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.
  
  
  </issue>
  <code>
  [start of recipes/sigslot/all/conanfile.py]
  1 import os
  2 
  3 from conans import ConanFile, tools
  4 from conans.errors import ConanInvalidConfiguration
  5 
  6 
  7 class SigslotConan(ConanFile):
  8     name = "sigslot"
  9     description = "Sigslot is a header-only, thread safe implementation of signal-slots for C++."
  10     topics = ("signal", "slot", "c++14", "header-only")
  11     url = "https://github.com/conan-io/conan-center-index"
  12     homepage = "https://github.com/palacaze/sigslot"
  13     license = "MIT"
  14     settings = "compiler", "os"
  15     no_copy_source = True
  16 
  17     @property
  18     def _source_subfolder(self):
  19         return "source_subfolder"
  20 
  21     def configure(self):
  22         minimal_cpp_standard = "14"
  23         if self.settings.compiler.cppstd:
  24             tools.check_min_cppstd(self, minimal_cpp_standard)
  25         minimal_version = {
  26             "gcc": "5",
  27             "clang": "3.4",
  28             "apple-clang": "10",
  29             "Visual Studio": "15"  # 14 is not supported by the library
  30         }
  31         compiler = str(self.settings.compiler)
  32         if compiler not in minimal_version:
  33             self.output.warn(
  34                 "%s recipe lacks information about the %s compiler standard version support" % (self.name, compiler))
  35             self.output.warn(
  36                 "%s requires a compiler that supports at least C++%s" % (self.name, minimal_cpp_standard))
  37             return
  38         version = tools.Version(self.settings.compiler.version)
  39         if version < minimal_version[compiler]:
  40             raise ConanInvalidConfiguration("%s requires a compiler that supports at least C++%s" % (self.name, minimal_cpp_standard))
  41 
  42     def source(self):
  43         tools.get(**self.conan_data["sources"][self.version])
  44         extracted_dir = "sigslot-" + self.version
  45         os.rename(extracted_dir, self._source_subfolder)
  46 
  47     def package(self):
  48         self.copy(pattern="LICENSE", src=self._source_subfolder, dst="licenses")
  49         self.copy(pattern="signal.hpp", src=os.path.join(self._source_subfolder, "include", "sigslot"), dst=os.path.join("include", "sigslot"))
  50 
  51     def package_id(self):
  52         self.info.header_only()
  53 
  54     def package_info(self):
  55         self.cpp_info.filenames["cmake_find_package"] = "PalSigslot"
  56         self.cpp_info.filenames["cmake_find_package_multi"] = "PalSigslot"
  57         self.cpp_info.names["cmake_find_package"] = "Pal"
  58         self.cpp_info.names["cmake_find_package_multi"] = "Pal"
  59 
  60         self.cpp_info.components["_sigslot"].libs = []
  61         self.cpp_info.components["_sigslot"].names["cmake_find_package"] = "Sigslot"
  62         self.cpp_info.components["_sigslot"].names["cmake_find_package_multi"] = "Sigslot"
  63 
  64         if self.settings.os == "Linux":
  65             self.cpp_info.components["_sigslot"].system_libs.append("pthread")
  66         if self.settings.os == "Windows":
  67             if self.settings.compiler in ("Visual Studio", "clang"):
  68                 self.cpp_info.components["_sigslot"].exelinkflags.append('/OPT:NOICF')
  69
  [end of recipes/sigslot/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/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 @@
               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')
  
verification_info: {"golden_diff": "diff --git a/recipes/sigslot/all/conanfile.py b/recipes/sigslot/all/conanfile.py\n--- a/recipes/sigslot/all/conanfile.py\n+++ b/recipes/sigslot/all/conanfile.py\n@@ -65,4 +65,4 @@\n             self.cpp_info.components[\"_sigslot\"].system_libs.append(\"pthread\")\n         if self.settings.os == \"Windows\":\n             if self.settings.compiler in (\"Visual Studio\", \"clang\"):\n-                self.cpp_info.components[\"_sigslot\"].exelinkflags.append('/OPT:NOICF')\n+                self.cpp_info.components[\"_sigslot\"].exelinkflags.append('-OPT:NOICF')\n", "issue": "[request] sigslot/1.2.1\n### Package Details\r\n  * Package Name/Version: **sigslot/1.2.1**\r\n  * Changelog: **https://github.com/palacaze/sigslot/releases/tag/v1.2.1**\r\n\r\n\r\nThe above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.\r\n\n", "before_files": [{"content": "import os\n\nfrom conans import ConanFile, tools\nfrom conans.errors import ConanInvalidConfiguration\n\n\nclass SigslotConan(ConanFile):\n    name = \"sigslot\"\n    description = \"Sigslot is a header-only, thread safe implementation of signal-slots for C++.\"\n    topics = (\"signal\", \"slot\", \"c++14\", \"header-only\")\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/palacaze/sigslot\"\n    license = \"MIT\"\n    settings = \"compiler\", \"os\"\n    no_copy_source = True\n\n    @property\n    def _source_subfolder(self):\n        return \"source_subfolder\"\n\n    def configure(self):\n        minimal_cpp_standard = \"14\"\n        if self.settings.compiler.cppstd:\n            tools.check_min_cppstd(self, minimal_cpp_standard)\n        minimal_version = {\n            \"gcc\": \"5\",\n            \"clang\": \"3.4\",\n            \"apple-clang\": \"10\",\n            \"Visual Studio\": \"15\"  # 14 is not supported by the library\n        }\n        compiler = str(self.settings.compiler)\n        if compiler not in minimal_version:\n            self.output.warn(\n                \"%s recipe lacks information about the %s compiler standard version support\" % (self.name, compiler))\n            self.output.warn(\n                \"%s requires a compiler that supports at least C++%s\" % (self.name, minimal_cpp_standard))\n            return\n        version = tools.Version(self.settings.compiler.version)\n        if version < minimal_version[compiler]:\n            raise ConanInvalidConfiguration(\"%s requires a compiler that supports at least C++%s\" % (self.name, minimal_cpp_standard))\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = \"sigslot-\" + self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def package(self):\n        self.copy(pattern=\"LICENSE\", src=self._source_subfolder, dst=\"licenses\")\n        self.copy(pattern=\"signal.hpp\", src=os.path.join(self._source_subfolder, \"include\", \"sigslot\"), dst=os.path.join(\"include\", \"sigslot\"))\n\n    def package_id(self):\n        self.info.header_only()\n\n    def package_info(self):\n        self.cpp_info.filenames[\"cmake_find_package\"] = \"PalSigslot\"\n        self.cpp_info.filenames[\"cmake_find_package_multi\"] = \"PalSigslot\"\n        self.cpp_info.names[\"cmake_find_package\"] = \"Pal\"\n        self.cpp_info.names[\"cmake_find_package_multi\"] = \"Pal\"\n\n        self.cpp_info.components[\"_sigslot\"].libs = []\n        self.cpp_info.components[\"_sigslot\"].names[\"cmake_find_package\"] = \"Sigslot\"\n        self.cpp_info.components[\"_sigslot\"].names[\"cmake_find_package_multi\"] = \"Sigslot\"\n\n        if self.settings.os == \"Linux\":\n            self.cpp_info.components[\"_sigslot\"].system_libs.append(\"pthread\")\n        if self.settings.os == \"Windows\":\n            if self.settings.compiler in (\"Visual Studio\", \"clang\"):\n                self.cpp_info.components[\"_sigslot\"].exelinkflags.append('/OPT:NOICF')\n", "path": "recipes/sigslot/all/conanfile.py"}]}