public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/miniz/, dev-libs/miniz/files/
Date: Tue, 22 Apr 2025 20:35:12 +0000 (UTC)	[thread overview]
Message-ID: <1745354092.acc6a28983e827a0d0ec70331c9e9f5e69a34112.asturm@gentoo> (raw)

commit:     acc6a28983e827a0d0ec70331c9e9f5e69a34112
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 22 20:30:50 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 20:34:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc6a289

dev-libs/miniz: Fix build w/ >=cmake-4

Closes: https://bugs.gentoo.org/951684
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/miniz/files/miniz-3.0.2-cmake4.patch | 19 +++++++++++++++++++
 dev-libs/miniz/miniz-3.0.2.ebuild             |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/dev-libs/miniz/files/miniz-3.0.2-cmake4.patch b/dev-libs/miniz/files/miniz-3.0.2-cmake4.patch
new file mode 100644
index 000000000000..2ca99c44216b
--- /dev/null
+++ b/dev-libs/miniz/files/miniz-3.0.2-cmake4.patch
@@ -0,0 +1,19 @@
+From d0190e5cdfb8af6bf825720e4360bd3aa34beb64 Mon Sep 17 00:00:00 2001
+From: Igor Alexey <igor-alexey@hotmail.com>
+Date: Thu, 28 Sep 2023 09:01:25 -0300
+Subject: [PATCH] bump cmake minimum version
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3cb344b..5ab3b66 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ 
+ # determine whether this is a standalone project or included by other projects
+ set (MINIZ_STANDALONE_PROJECT ON)

diff --git a/dev-libs/miniz/miniz-3.0.2.ebuild b/dev-libs/miniz/miniz-3.0.2.ebuild
index ca5c03b2b302..e2966721e6bc 100644
--- a/dev-libs/miniz/miniz-3.0.2.ebuild
+++ b/dev-libs/miniz/miniz-3.0.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit cmake
 
-DESCRIPTION="A lossless, high performance data compression library"
+DESCRIPTION="Lossless, high performance data compression library"
 HOMEPAGE="https://github.com/richgel999/miniz"
 SRC_URI="https://github.com/richgel999/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
@@ -14,3 +14,5 @@ SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 DOCS=( ChangeLog.md readme.md )
+
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 951684


             reply	other threads:[~2025-04-22 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22 20:35 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23 15:46 [gentoo-commits] repo/gentoo:master commit in: dev-libs/miniz/, dev-libs/miniz/files/ Petr Vaněk
2021-02-05  2:06 Sam James
2020-12-16 20:16 Dennis Lamm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1745354092.acc6a28983e827a0d0ec70331c9e9f5e69a34112.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox