summaryrefslogtreecommitdiff
path: root/sci-libs/sundials/files
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/sundials/files')
-rw-r--r--sci-libs/sundials/files/sundials-3.2.1-fix-license-install-path.patch9
-rw-r--r--sci-libs/sundials/files/sundials-5.7.0-fix-license-install-path.patch17
-rw-r--r--sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch29
3 files changed, 29 insertions, 26 deletions
diff --git a/sci-libs/sundials/files/sundials-3.2.1-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-3.2.1-fix-license-install-path.patch
deleted file mode 100644
index eba90b52ac48..000000000000
--- a/sci-libs/sundials/files/sundials-3.2.1-fix-license-install-path.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -Nur old/CMakeLists.txt new/CMakeLists.txt
---- old/CMakeLists.txt 2018-10-11 22:22:09.000000000 +0300
-+++ new/CMakeLists.txt 2019-06-23 00:33:27.000000000 +0300
-@@ -1117,4 +1117,4 @@
- # install license file
- INSTALL(
- FILES ${PROJECT_SOURCE_DIR}/LICENSE
-- DESTINATION include/sundials)
-+ DESTINATION share/doc/sundials-3.2.1)
diff --git a/sci-libs/sundials/files/sundials-5.7.0-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-5.7.0-fix-license-install-path.patch
deleted file mode 100644
index 88fb964f8995..000000000000
--- a/sci-libs/sundials/files/sundials-5.7.0-fix-license-install-path.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 40a650e..2133476 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -231,10 +231,10 @@ endif()
-
- # install license and notice files
- install(FILES "${PROJECT_SOURCE_DIR}/LICENSE"
-- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials"
-+ DESTINATION share/doc/sundials-5.7.0
- )
- install(FILES "${PROJECT_SOURCE_DIR}/NOTICE"
-- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials"
-+ DESTINATION share/doc/sundials-5.7.0
- )
-
- # create package version file
diff --git a/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch
new file mode 100644
index 000000000000..d4e5fd929b3c
--- /dev/null
+++ b/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch
@@ -0,0 +1,29 @@
+From 554a760daeda3a04049bfa4cf882aae1207f833d Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Fri, 30 Apr 2021 11:58:25 +0200
+Subject: [PATCH] fix license install path
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 40a650e..d57ca7b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -231,10 +231,10 @@ endif()
+
+ # install license and notice files
+ install(FILES "${PROJECT_SOURCE_DIR}/LICENSE"
+- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}"
+ )
+ install(FILES "${PROJECT_SOURCE_DIR}/NOTICE"
+- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}"
+ )
+
+ # create package version file
+--
+2.31.1