fix_detect_mesa.patch 850 B

12345678910111213141516
  1. --- scripts/checkelf.old 2014-04-25 17:57:56.000000000 +0200
  2. +++ scripts/checkelf 2014-06-15 15:29:21.932687493 +0200
  3. @@ -150,7 +150,11 @@
  4. for elf_files, paths_and_deps in result_dependencies.items():
  5. for data in paths_and_deps:
  6. if not data[1] == "broken" and not data[1] == package_name and not data[1] == "glibc":
  7. - result_deps.append(data[1])
  8. + if (data[1].startswith("xorg-video-nvidia") or data[1].startswith("xorg-video-fglrx")) \
  9. + and not (package_name.startswith("xorg-video-nvidia") or package_name.startswith("xorg-video-fglrx")):
  10. + result_deps.append("mesa")
  11. + else:
  12. + result_deps.append(data[1])
  13. # remove packages that belong to system.base component
  14. # when -s is used, systembase is set to true