[packages/mmm] Rel 2

arekm arekm at pld-linux.org
Fri May 8 22:00:35 CEST 2026


commit df6cfcda855b367b3714126c7363ca114d287b55
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 8 22:00:23 2026 +0200

    Rel 2

 mmm-meson-set10-description.patch | 12 ++++++++++++
 mmm.spec                          |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/mmm.spec b/mmm.spec
index db80876..4380b4b 100644
--- a/mmm.spec
+++ b/mmm.spec
@@ -7,12 +7,13 @@ Summary:	Memory Mapped Machine
 Summary(pl.UTF-8):	Memory Mapped Machine - sprzęt odwzorowany w pamięci
 Name:		mmm
 Version:	0.1.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/hodefoting/mmm/releases
 Source0:	https://github.com/hodefoting/mmm/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	b2d38082c3293ef1a44391cff7e0a109
+Patch0:		%{name}-meson-set10-description.patch
 URL:		https://github.com/hodefoting/mmm/
 %{?with_sdl1:BuildRequires:	SDL-devel >= 1.2.0}
 %{?with_sdl2:BuildRequires:	SDL2-devel >= 2.0.4}
@@ -80,6 +81,7 @@ Statyczna biblioteka mmm.
 
 %prep
 %setup -q
+%patch -P 0 -p1
 
 %build
 %meson \
diff --git a/mmm-meson-set10-description.patch b/mmm-meson-set10-description.patch
new file mode 100644
index 0000000..51dcfb3
--- /dev/null
+++ b/mmm-meson-set10-description.patch
@@ -0,0 +1,12 @@
+--- a/meson.build	2026-05-08 20:52:27.149836599 +0200
++++ b/meson.build	2026-05-08 20:52:29.726503266 +0200
+@@ -34,8 +34,7 @@
+ stability_version_number = (major_version != 0 ? minor_version : micro_version)
+ stable = (stability_version_number % 2 == 0)
+
+-conf.set10('MMM_UNSTABLE', not stable, Description:
+-  'Define to 1 if this is an unstable version of MMM.')
++conf.set10('MMM_UNSTABLE', not stable)
+
+ conf.set       ('MMM_MAJOR_VERSION',    '@0@'.format(major_version))
+ conf.set       ('MMM_MINOR_VERSION',    '@0@'.format(minor_version))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mmm.git/commitdiff/df6cfcda855b367b3714126c7363ca114d287b55



More information about the pld-cvs-commit mailing list