[packages/mailutils] add fixes for gcc 14
atler
atler at pld-linux.org
Wed Aug 14 22:27:50 CEST 2024
commit b9494d112073edaf85e73569444269187c308ff6
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Aug 14 22:22:25 2024 +0200
add fixes for gcc 14
gcc14.patch | 20 ++++++++++++++++++++
mailutils.spec | 2 ++
2 files changed, 22 insertions(+)
---
diff --git a/mailutils.spec b/mailutils.spec
index 1b8c05e..4656356 100644
--- a/mailutils.spec
+++ b/mailutils.spec
@@ -56,6 +56,7 @@ Patch4: %{name}-examples.patch
Patch5: %{name}-extern.patch
Patch6: %{name}-cpp.patch
Patch8: %{name}-normalize.patch
+Patch9: gcc14.patch
URL: http://www.gnu.org/software/mailutils/mailutils.html
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.15
@@ -216,6 +217,7 @@ Wsparcie dla GNU mailutils w Emacsie.
%patch5 -p1
%patch6 -p1
%patch8 -p1
+%patch9 -p1
%{__rm} po/stamp-po
diff --git a/gcc14.patch b/gcc14.patch
new file mode 100644
index 0000000..a15561e
--- /dev/null
+++ b/gcc14.patch
@@ -0,0 +1,20 @@
+--- mailutils-3.17/sql/odbc.c.orig 2024-01-06 13:55:35.000000000 +0100
++++ mailutils-3.17/sql/odbc.c 2024-08-14 21:36:08.024550031 +0200
+@@ -219,7 +219,7 @@
+ odbc_num_tuples (mu_sql_connection_t conn, size_t *np)
+ {
+ struct mu_odbc_data *dp = conn->data;
+- SQLINTEGER count;
++ SQLLEN count;
+
+ if (SQLRowCount (dp->stmt, &count) != SQL_SUCCESS)
+ {
+@@ -236,7 +236,7 @@
+ {
+ struct mu_odbc_data *dp = conn->data;
+ char buffer[1024];
+- SQLINTEGER size;
++ SQLLEN size;
+
+ if (SQLFetchScroll (dp->stmt, SQL_FETCH_ABSOLUTE, nrow + 1) != SQL_SUCCESS)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mailutils.git/commitdiff/b9494d112073edaf85e73569444269187c308ff6
More information about the pld-cvs-commit
mailing list