We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN 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.


--- 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/sigslot/all/conanfile.py`
Content:
```
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 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/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')

{"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"}], "after_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"}]}