summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-08-25 09:34:29 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-09-28 14:54:10 +0300
commit3a1ba91ad67d06083f9ae0cebee6090b54526ba6 (patch)
tree8cf780a5581389aa3db07dc31e135fb1d8a6441f /dev-libs/aws-checksums/files
parentgames-util/gamemode: fix typo with ck-sources (diff)
downloadgentoo-3a1ba91ad67d06083f9ae0cebee6090b54526ba6.tar.gz
gentoo-3a1ba91ad67d06083f9ae0cebee6090b54526ba6.tar.bz2
gentoo-3a1ba91ad67d06083f9ae0cebee6090b54526ba6.zip
dev-libs/aws-checksums: bump to 0.1.9
Closes: https://bugs.gentoo.org/717576 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/aws-checksums/files')
-rw-r--r--dev-libs/aws-checksums/files/0.1.9-cmake-prefix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/aws-checksums/files/0.1.9-cmake-prefix.patch b/dev-libs/aws-checksums/files/0.1.9-cmake-prefix.patch
new file mode 100644
index 000000000000..9ca2437960fc
--- /dev/null
+++ b/dev-libs/aws-checksums/files/0.1.9-cmake-prefix.patch
@@ -0,0 +1,26 @@
+From 97b3ba123af200d7dc4fe83e191e77c83ed7aff2 Mon Sep 17 00:00:00 2001
+From: Jakov Smolic <jakov.smolic@sartura.hr>
+Date: Tue, 1 Sep 2020 09:55:46 +0200
+Subject: [PATCH] CMakeLists: Add mising CMAKE_INSTALL_PREFIX
+
+Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 888742b..193a94a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -23,7 +23,7 @@ elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ endif()
+
+ # This is required in order to append /lib/cmake to each element in CMAKE_PREFIX_PATH
+-set(AWS_MODULE_DIR "/${CMAKE_INSTALL_LIBDIR}/cmake")
++set(AWS_MODULE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake")
+ string(REPLACE ";" "${AWS_MODULE_DIR};" AWS_MODULE_PATH "${CMAKE_PREFIX_PATH}${AWS_MODULE_DIR}")
+ # Append that generated list to the module search path
+ list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH})
+--
+2.26.2
+