summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cereal')
-rw-r--r--dev-libs/cereal/cereal-1.3.1-r1.ebuild (renamed from dev-libs/cereal/cereal-1.3.1.ebuild)4
-rw-r--r--dev-libs/cereal/files/cereal-1.3.1-fix-version.patch14
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/cereal/cereal-1.3.1.ebuild b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
index b8f35d34d146..5e128446aca6 100644
--- a/dev-libs/cereal/cereal-1.3.1.ebuild
+++ b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
@@ -17,6 +17,10 @@ RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.1-fix-version.patch
+)
+
src_prepare() {
if ! use doc ; then
sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die
diff --git a/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch b/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch
new file mode 100644
index 000000000000..9a9fa109b39d
--- /dev/null
+++ b/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch
@@ -0,0 +1,14 @@
+https://github.com/USCiLab/cereal/issues/748
+https://github.com/symengine/symengine/issues/1886
+https://bugs.gentoo.org/833817
+--- a/include/cereal/version.hpp
++++ b/include/cereal/version.hpp
+@@ -42,7 +42,7 @@
+ //! The minor version
+ #define CEREAL_VERSION_MINOR 3
+ //! The patch version
+-#define CEREAL_VERSION_PATCH 0
++#define CEREAL_VERSION_PATCH 1
+
+ //! The full version as a single number
+ #define CEREAL_VERSION (CEREAL_VERSION_MAJOR * 10000 \