prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  [Package]OpenSUSE Tumbleweed fix problem - glu/system
  https://github.com/conan-io/conan-center-index/blob/8658ae021ce225d889fa4ee38d30cb80877a7c75/recipes/glu/all/conanfile.py#L17-L32
  
  This fix the problem in openSUSE Tumbleweed:
  ```
  elif tools.os_info.with_zypper:
                  packages = ["glu-devel"]
  ```
  
  </issue>
  <code>
  [start of recipes/glu/all/conanfile.py]
  1 from conans import ConanFile, tools
  2 from conans.errors import ConanException
  3 import os
  4 
  5 
  6 class SysConfigGLUConan(ConanFile):
  7     name = "glu"
  8     version = "system"
  9     description = "cross-platform virtual conan package for the GLU support"
  10     topics = ("conan", "opengl", "glu")
  11     url = "https://github.com/conan-io/conan-center-index"
  12     homepage = "https://cgit.freedesktop.org/mesa/glu/"
  13     license = "SGI-B-2.0"
  14     settings = "os"
  15     requires = "opengl/system"
  16 
  17     def system_requirements(self):
  18         packages = []
  19         if tools.os_info.is_linux and self.settings.os == "Linux":
  20             if tools.os_info.with_yum or tools.os_info.with_dnf:
  21                 packages = ["mesa-libGLU-devel"]
  22             elif tools.os_info.with_apt:
  23                 packages = ["libglu1-mesa-dev"]
  24             elif tools.os_info.with_pacman:
  25                 packages = ["glu"]
  26             elif tools.os_info.with_zypper:
  27                 packages = ["Mesa-libGLU-devel"]
  28             else:
  29                 self.output.warn("Don't know how to install GLU for your distro")
  30         if tools.os_info.is_freebsd and self.settings.os == "FreeBSD":
  31             packages = ["libGLU"]
  32         if packages:
  33             package_tool = tools.SystemPackageTool(conanfile=self, default_mode='verify')
  34             for p in packages:
  35                 package_tool.install(update=True, packages=p)
  36 
  37     def _fill_cppinfo_from_pkgconfig(self, name):
  38         pkg_config = tools.PkgConfig(name)
  39         if not pkg_config.provides:
  40             raise ConanException("GLU development files aren't available, giving up")
  41         libs = [lib[2:] for lib in pkg_config.libs_only_l]
  42         lib_dirs = [lib[2:] for lib in pkg_config.libs_only_L]
  43         ldflags = [flag for flag in pkg_config.libs_only_other]
  44         include_dirs = [include[2:] for include in pkg_config.cflags_only_I]
  45         cflags = [flag for flag in pkg_config.cflags_only_other if not flag.startswith("-D")]
  46         defines = [flag[2:] for flag in pkg_config.cflags_only_other if flag.startswith("-D")]
  47 
  48         self.cpp_info.system_libs.extend(libs)
  49         self.cpp_info.libdirs.extend(lib_dirs)
  50         self.cpp_info.sharedlinkflags.extend(ldflags)
  51         self.cpp_info.exelinkflags.extend(ldflags)
  52         self.cpp_info.defines.extend(defines)
  53         self.cpp_info.includedirs.extend(include_dirs)
  54         self.cpp_info.cflags.extend(cflags)
  55         self.cpp_info.cxxflags.extend(cflags)
  56 
  57     def package_info(self):
  58         self.cpp_info.includedirs = []
  59         self.cpp_info.libdirs = []
  60 
  61         if self.settings.os == "Windows":
  62             self.cpp_info.system_libs = ["Glu32"]
  63         elif self.settings.os in ["Linux", "FreeBSD"]:
  64             self._fill_cppinfo_from_pkgconfig("glu")
  65 
  66     def package_id(self):
  67         self.info.header_only()
  68
  [end of recipes/glu/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/glu/all/conanfile.py b/recipes/glu/all/conanfile.py
  --- a/recipes/glu/all/conanfile.py
  +++ b/recipes/glu/all/conanfile.py
  @@ -1,13 +1,12 @@
   from conans import ConanFile, tools
   from conans.errors import ConanException
  -import os
   
   
   class SysConfigGLUConan(ConanFile):
       name = "glu"
       version = "system"
       description = "cross-platform virtual conan package for the GLU support"
  -    topics = ("conan", "opengl", "glu")
  +    topics = ("opengl", "glu")
       url = "https://github.com/conan-io/conan-center-index"
       homepage = "https://cgit.freedesktop.org/mesa/glu/"
       license = "SGI-B-2.0"
  @@ -24,7 +23,7 @@
               elif tools.os_info.with_pacman:
                   packages = ["glu"]
               elif tools.os_info.with_zypper:
  -                packages = ["Mesa-libGLU-devel"]
  +                packages = ["glu-devel"]
               else:
                   self.output.warn("Don't know how to install GLU for your distro")
           if tools.os_info.is_freebsd and self.settings.os == "FreeBSD":
  
verification_info: {"golden_diff": "diff --git a/recipes/glu/all/conanfile.py b/recipes/glu/all/conanfile.py\n--- a/recipes/glu/all/conanfile.py\n+++ b/recipes/glu/all/conanfile.py\n@@ -1,13 +1,12 @@\n from conans import ConanFile, tools\n from conans.errors import ConanException\n-import os\n \n \n class SysConfigGLUConan(ConanFile):\n     name = \"glu\"\n     version = \"system\"\n     description = \"cross-platform virtual conan package for the GLU support\"\n-    topics = (\"conan\", \"opengl\", \"glu\")\n+    topics = (\"opengl\", \"glu\")\n     url = \"https://github.com/conan-io/conan-center-index\"\n     homepage = \"https://cgit.freedesktop.org/mesa/glu/\"\n     license = \"SGI-B-2.0\"\n@@ -24,7 +23,7 @@\n             elif tools.os_info.with_pacman:\n                 packages = [\"glu\"]\n             elif tools.os_info.with_zypper:\n-                packages = [\"Mesa-libGLU-devel\"]\n+                packages = [\"glu-devel\"]\n             else:\n                 self.output.warn(\"Don't know how to install GLU for your distro\")\n         if tools.os_info.is_freebsd and self.settings.os == \"FreeBSD\":\n", "issue": "[Package]OpenSUSE Tumbleweed fix problem - glu/system\nhttps://github.com/conan-io/conan-center-index/blob/8658ae021ce225d889fa4ee38d30cb80877a7c75/recipes/glu/all/conanfile.py#L17-L32\r\n\r\nThis fix the problem in openSUSE Tumbleweed:\r\n```\r\nelif tools.os_info.with_zypper:\r\n                packages = [\"glu-devel\"]\r\n```\n", "before_files": [{"content": "from conans import ConanFile, tools\nfrom conans.errors import ConanException\nimport os\n\n\nclass SysConfigGLUConan(ConanFile):\n    name = \"glu\"\n    version = \"system\"\n    description = \"cross-platform virtual conan package for the GLU support\"\n    topics = (\"conan\", \"opengl\", \"glu\")\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://cgit.freedesktop.org/mesa/glu/\"\n    license = \"SGI-B-2.0\"\n    settings = \"os\"\n    requires = \"opengl/system\"\n\n    def system_requirements(self):\n        packages = []\n        if tools.os_info.is_linux and self.settings.os == \"Linux\":\n            if tools.os_info.with_yum or tools.os_info.with_dnf:\n                packages = [\"mesa-libGLU-devel\"]\n            elif tools.os_info.with_apt:\n                packages = [\"libglu1-mesa-dev\"]\n            elif tools.os_info.with_pacman:\n                packages = [\"glu\"]\n            elif tools.os_info.with_zypper:\n                packages = [\"Mesa-libGLU-devel\"]\n            else:\n                self.output.warn(\"Don't know how to install GLU for your distro\")\n        if tools.os_info.is_freebsd and self.settings.os == \"FreeBSD\":\n            packages = [\"libGLU\"]\n        if packages:\n            package_tool = tools.SystemPackageTool(conanfile=self, default_mode='verify')\n            for p in packages:\n                package_tool.install(update=True, packages=p)\n\n    def _fill_cppinfo_from_pkgconfig(self, name):\n        pkg_config = tools.PkgConfig(name)\n        if not pkg_config.provides:\n            raise ConanException(\"GLU development files aren't available, giving up\")\n        libs = [lib[2:] for lib in pkg_config.libs_only_l]\n        lib_dirs = [lib[2:] for lib in pkg_config.libs_only_L]\n        ldflags = [flag for flag in pkg_config.libs_only_other]\n        include_dirs = [include[2:] for include in pkg_config.cflags_only_I]\n        cflags = [flag for flag in pkg_config.cflags_only_other if not flag.startswith(\"-D\")]\n        defines = [flag[2:] for flag in pkg_config.cflags_only_other if flag.startswith(\"-D\")]\n\n        self.cpp_info.system_libs.extend(libs)\n        self.cpp_info.libdirs.extend(lib_dirs)\n        self.cpp_info.sharedlinkflags.extend(ldflags)\n        self.cpp_info.exelinkflags.extend(ldflags)\n        self.cpp_info.defines.extend(defines)\n        self.cpp_info.includedirs.extend(include_dirs)\n        self.cpp_info.cflags.extend(cflags)\n        self.cpp_info.cxxflags.extend(cflags)\n\n    def package_info(self):\n        self.cpp_info.includedirs = []\n        self.cpp_info.libdirs = []\n\n        if self.settings.os == \"Windows\":\n            self.cpp_info.system_libs = [\"Glu32\"]\n        elif self.settings.os in [\"Linux\", \"FreeBSD\"]:\n            self._fill_cppinfo_from_pkgconfig(\"glu\")\n\n    def package_id(self):\n        self.info.header_only()\n", "path": "recipes/glu/all/conanfile.py"}]}