[Buildroot] [PATCH 1/1] package/libvncserver: fix pkg-config file

Fabrice Fontaine fontaine.fabrice at gmail.com
Fri Feb 28 12:17:17 UTC 2020


This will fix a build failure with vlc and without zlib

Fixes:
 - http://autobuild.buildroot.org/results/7d5f5980f1ba248a1d95b380d422eaeeaca265f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 ...lient-server-.pc.cmakein-remove-zlib.patch | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch

diff --git a/package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch b/package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch
new file mode 100644
index 0000000000..7941a98882
--- /dev/null
+++ b/package/libvncserver/0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch
@@ -0,0 +1,45 @@
+From 5abd95b65fe5ec24749164338a9718ecce19e240 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice at gmail.com>
+Date: Fri, 28 Feb 2020 10:29:58 +0100
+Subject: [PATCH] libvnc{client,server}.pc.cmakein: remove zlib
+
+Remove zlib from Requires.private as libvnc can be built without zlib
+thanks to WITH_LIB, zlib will be added to Libs.private thanks to
+PRIVATE_LIBS
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
+[Upstream status: https://github.com/LibVNC/libvncserver/pull/377]
+---
+ libvncclient.pc.cmakein | 2 +-
+ libvncserver.pc.cmakein | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein
+index 336e73f..ceeda39 100644
+--- a/libvncclient.pc.cmakein
++++ b/libvncclient.pc.cmakein
+@@ -7,7 +7,7 @@ Name: LibVNCClient
+ Description: A library for easy implementation of a VNC client.
+ Version: @LibVNCServer_VERSION@
+ Requires:
+-Requires.private: zlib
++Requires.private:
+ Libs: -L${libdir} -lvncclient
+ Libs.private: @PRIVATE_LIBS@
+ Cflags: -I${includedir}
+diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein
+index dfcec9d..33ec668 100644
+--- a/libvncserver.pc.cmakein
++++ b/libvncserver.pc.cmakein
+@@ -7,7 +7,7 @@ Name: LibVNCServer
+ Description: A library for easy implementation of a VNC server.
+ Version: @LibVNCServer_VERSION@
+ Requires:
+-Requires.private: zlib
++Requires.private:
+ Libs: -L${libdir} -lvncserver
+ Libs.private: @PRIVATE_LIBS@
+ Cflags: -I${includedir}
+-- 
+2.25.0
+
-- 
2.25.0



More information about the buildroot mailing list