0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 5abd95b65fe5ec24749164338a9718ecce19e240 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Fri, 28 Feb 2020 10:29:58 +0100
  4. Subject: [PATCH] libvnc{client,server}.pc.cmakein: remove zlib
  5. Remove zlib from Requires.private as libvnc can be built without zlib
  6. thanks to WITH_LIB, zlib will be added to Libs.private thanks to
  7. PRIVATE_LIBS
  8. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  9. [Upstream status: https://github.com/LibVNC/libvncserver/pull/377]
  10. ---
  11. libvncclient.pc.cmakein | 2 +-
  12. libvncserver.pc.cmakein | 2 +-
  13. 2 files changed, 2 insertions(+), 2 deletions(-)
  14. diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein
  15. index 336e73f..ceeda39 100644
  16. --- a/libvncclient.pc.cmakein
  17. +++ b/libvncclient.pc.cmakein
  18. @@ -7,7 +7,7 @@ Name: LibVNCClient
  19. Description: A library for easy implementation of a VNC client.
  20. Version: @LibVNCServer_VERSION@
  21. Requires:
  22. -Requires.private: zlib
  23. +Requires.private:
  24. Libs: -L${libdir} -lvncclient
  25. Libs.private: @PRIVATE_LIBS@
  26. Cflags: -I${includedir}
  27. diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein
  28. index dfcec9d..33ec668 100644
  29. --- a/libvncserver.pc.cmakein
  30. +++ b/libvncserver.pc.cmakein
  31. @@ -7,7 +7,7 @@ Name: LibVNCServer
  32. Description: A library for easy implementation of a VNC server.
  33. Version: @LibVNCServer_VERSION@
  34. Requires:
  35. -Requires.private: zlib
  36. +Requires.private:
  37. Libs: -L${libdir} -lvncserver
  38. Libs.private: @PRIVATE_LIBS@
  39. Cflags: -I${includedir}
  40. --
  41. 2.25.0