[packages/bootsplash] Rel 9

arekm arekm at pld-linux.org
Wed May 20 15:04:59 CEST 2026


commit a1b2dcc6bba4043ebe9ca0363782795693d90a09
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 15:04:43 2026 +0200

    Rel 9

 bootsplash-3.2-libmng-size_t.patch | 36 ++++++++++++++++++++++++++++++++++++
 bootsplash.spec                    |  6 ++++--
 2 files changed, 40 insertions(+), 2 deletions(-)
---
diff --git a/bootsplash.spec b/bootsplash.spec
index 94bd2d0..b38af5e 100644
--- a/bootsplash.spec
+++ b/bootsplash.spec
@@ -6,7 +6,7 @@ Summary(de.UTF-8):	Bootsplash - graphischer System Start
 Summary(pl.UTF-8):	Bootsplash - graficzny proces startu systemu dla Linuksa
 Name:		bootsplash
 Version:	3.2
-Release:	8
+Release:	9
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2
@@ -16,6 +16,7 @@ Source2:	%{name}-bootanim.script
 Source3:	%{name}.sysconfig
 Source4:	%{name}.init
 Patch0:		%{name}-3.2_makefile_libmng.patch
+Patch1:		%{name}-3.2-libmng-size_t.patch
 URL:		http://www.bootsplash.org/
 BuildRequires:	freetype-devel >= 2.1
 BuildRequires:	libmng-devel
@@ -43,12 +44,13 @@ narzędzi przestrzeni użytkownika.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 rm -f Utilities/splash.o
 
 %build
 %{__make} -C Utilities \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
+	CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
 	STRIP=true
 
 %install
diff --git a/bootsplash-3.2-libmng-size_t.patch b/bootsplash-3.2-libmng-size_t.patch
new file mode 100644
index 0000000..d06c5b8
--- /dev/null
+++ b/bootsplash-3.2-libmng-size_t.patch
@@ -0,0 +1,36 @@
+Match libmng mng_memalloc/mng_memfree callback signatures, which use
+mng_size_t (size_t) since libmng switched the memory callbacks away from
+mng_uint32. Without this gcc rejects the calls under
+-Werror=incompatible-pointer-types.
+
+--- bootsplash-3.2/Utilities/mng.h.orig
++++ bootsplash-3.2/Utilities/mng.h
+@@ -17,8 +17,8 @@
+
+ extern mngstuff *mng;
+
+-mng_ptr mngalloc(mng_uint32 size);
+-void mngfree(mng_ptr p, mng_uint32 size);
++mng_ptr mngalloc(mng_size_t size);
++void mngfree(mng_ptr p, mng_size_t size);
+ mng_bool mngopenstream(mng_handle mng);
+ mng_bool mngclosestream(mng_handle mng);
+ mng_bool mngreadstream(mng_handle mng, mng_ptr buffer, mng_uint32 size,
+--- bootsplash-3.2/Utilities/mng.c.orig
++++ bootsplash-3.2/Utilities/mng.c
+@@ -26,13 +26,13 @@
+  */
+
+ /* memory allocation; data must be zeroed */
+-mng_ptr mngalloc(mng_uint32 size)
++mng_ptr mngalloc(mng_size_t size)
+ {
+ 	return (mng_ptr) calloc(1, size);
+ }
+
+ /* memory deallocation */
+-void mngfree(mng_ptr p, mng_uint32 size)
++void mngfree(mng_ptr p, mng_size_t size)
+ {
+ 	free(p);
+ 	return;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bootsplash.git/commitdiff/a1b2dcc6bba4043ebe9ca0363782795693d90a09



More information about the pld-cvs-commit mailing list