[packages/librdkafka] - fixed curl dependency in .pc file; release 2

qboosh qboosh at pld-linux.org
Mon Mar 20 22:12:10 CET 2023


commit e2388e52393d843378147bcbeeb4e4dd3d457f81
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 20 22:14:27 2023 +0100

    - fixed curl dependency in .pc file; release 2

 librdkafka-pc.patch | 11 +++++++++++
 librdkafka.spec     |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/librdkafka.spec b/librdkafka.spec
index 0a82c98..0c4e0bf 100644
--- a/librdkafka.spec
+++ b/librdkafka.spec
@@ -2,7 +2,7 @@ Summary:	Apache Kafka C library
 Summary(pl.UTF-8):	Biblioteka C do protokołu Apache Kafka
 Name:		librdkafka
 Version:	2.0.2
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/edenhill/librdkafka/releases
diff --git a/librdkafka-pc.patch b/librdkafka-pc.patch
index 819a652..434d7dc 100644
--- a/librdkafka-pc.patch
+++ b/librdkafka-pc.patch
@@ -9,3 +9,14 @@
  
  Name: @PKG_CONFIG_NAME@
  Description: @PKG_CONFIG_DESCRIPTION@
+--- librdkafka-2.0.2/src/CMakeLists.txt.orig	2023-01-20 10:14:36.000000000 +0100
++++ librdkafka-2.0.2/src/CMakeLists.txt	2023-03-20 22:10:39.475345502 +0100
+@@ -296,7 +296,7 @@ if(NOT RDKAFKA_BUILD_STATIC)
+   set(PKG_CONFIG_DESCRIPTION "The Apache Kafka C/C++ library")
+ 
+   if(WITH_CURL)
+-    string(APPEND PKG_CONFIG_REQUIRES "curl ")
++    string(APPEND PKG_CONFIG_REQUIRES "libcurl ")
+   endif()
+ 
+   if(WITH_ZLIB)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librdkafka.git/commitdiff/e2388e52393d843378147bcbeeb4e4dd3d457f81



More information about the pld-cvs-commit mailing list