summaryrefslogtreecommitdiff
path: root/rabbitmq-c-version.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:45:36 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:45:36 +0000
commite8841b10075c4e006bedf9a220eceb7783b934e8 (patch)
tree1d69e2edc69255eedef85c1c690213ef05417972 /rabbitmq-c-version.patch
parentd30cedf16eb1afb15c783decccba8150ca441b7e (diff)
automatic import of librabbitmqopeneuler24.03_LTS
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
+