[packages/poldek] fix build with gcc 14
atler
atler at pld-linux.org
Wed Nov 27 11:42:29 CET 2024
commit 862de2ef73b3753c63daaa965018aa79544c2600
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Nov 27 00:04:17 2024 +0100
fix build with gcc 14
gcc14.patch | 13 +++++++++++++
poldek.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index 4a82435..8f43096 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -73,6 +73,7 @@ Patch21: sorted-ls-upgradable.patch
Patch22: egrep-is-obsolete.patch
Patch23: minus.patch
Patch24: %{name}-https-redirect.patch
+Patch25: gcc14.patch
URL: http://poldek.pld-linux.org/
%{?with_rpm5:BuildRequires: %{db_pkg}-devel >= %{ver_db}}
BuildRequires: autoconf >= 2.63
@@ -272,6 +273,7 @@ cd ..
%patch22 -p1
%patch23 -p1
%patch24 -p1
+%patch25 -p1
%{__rm} doc/poldek.info
%{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/gcc14.patch b/gcc14.patch
new file mode 100644
index 0000000..8d509c0
--- /dev/null
+++ b/gcc14.patch
@@ -0,0 +1,13 @@
+--- poldek-0.42.2/pm/rpmorg/install.c.orig 2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/pm/rpmorg/install.c 2024-11-26 23:59:38.132248185 +0100
+@@ -77,8 +77,8 @@
+
+ static void *install_cb(const void *h __attribute__((unused)),
+ const enum rpmCallbackType_e op,
+- const long long unsigned int amount,
+- const long long unsigned int total,
++ const long unsigned int amount,
++ const long unsigned int total,
+ const void *pkgpath,
+ void *data __attribute__((unused)))
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/862de2ef73b3753c63daaa965018aa79544c2600
More information about the pld-cvs-commit
mailing list