summaryrefslogtreecommitdiffstats
path: root/rabbitmq-c-version.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-04-01 15:07:40 +0200
committerRemi Collet <remi@remirepo.net>2021-04-01 15:07:40 +0200
commitf021329ec8c50f8a849139341d05eb746c71654f (patch)
treec356c7098c566cf8e01170ff73b2a6c7d576164d /rabbitmq-c-version.patch
parentb13daea536975ec78a750955ef0e2d6205bafec0 (diff)
add patch to fix version in cmake file fromHEADmaster
https://github.com/alanxz/rabbitmq-c/pull/667
Diffstat (limited to 'rabbitmq-c-version.patch')
-rw-r--r--rabbitmq-c-version.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/rabbitmq-c-version.patch b/rabbitmq-c-version.patch
new file mode 100644
index 0000000..9826170
--- /dev/null
+++ b/rabbitmq-c-version.patch
@@ -0,0 +1,25 @@
+From 2a9ae303f7fa7bc115ecb827c1c3c7c9f84558dd Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 1 Apr 2021 14:48:25 +0200
+Subject: [PATCH] Fix #666 bad PACKAGE_VERSION
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a9a29fd..74364cf 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -322,7 +322,7 @@ set(version_config "${CMAKE_CURRENT_BINARY_DIR}/rabbitmq-c-config-version.cmake"
+
+ write_basic_package_version_file(
+ "${version_config}"
+- VERSION ${RMQ_VERSION}
++ VERSION ${VERSION}
+ COMPATIBILITY AnyNewerVersion)
+
+ configure_package_config_file(
+--
+2.30.2
+