Control: tags 1075144 + patch
Control: tags 1075144 + pending

Dear maintainer,

I've prepared an NMU for libapr-memcache (versioned as 0.7.0-3.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Regards.

diffstat for libapr-memcache-0.7.0 libapr-memcache-0.7.0

 changelog                          |    8 ++++++++
 patches/fix-build-with-gcc14.patch |   25 +++++++++++++++++++++++++
 patches/series                     |    1 +
 3 files changed, 34 insertions(+)

diff -Nru libapr-memcache-0.7.0/debian/changelog libapr-memcache-0.7.0/debian/changelog
--- libapr-memcache-0.7.0/debian/changelog	2024-02-29 05:40:12.000000000 -0300
+++ libapr-memcache-0.7.0/debian/changelog	2025-06-28 11:46:02.000000000 -0300
@@ -1,3 +1,11 @@
+libapr-memcache (0.7.0-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/fix-build-with-gcc14.patch: Fix build with GCC 14.
+    (Closes: #1075144)
+
+ -- Marcos Talau <[email protected]>  Sat, 28 Jun 2025 11:46:02 -0300
+
 libapr-memcache (0.7.0-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libapr-memcache-0.7.0/debian/patches/fix-build-with-gcc14.patch libapr-memcache-0.7.0/debian/patches/fix-build-with-gcc14.patch
--- libapr-memcache-0.7.0/debian/patches/fix-build-with-gcc14.patch	1969-12-31 21:00:00.000000000 -0300
+++ libapr-memcache-0.7.0/debian/patches/fix-build-with-gcc14.patch	2025-06-28 11:45:34.000000000 -0300
@@ -0,0 +1,25 @@
+Description: Fix build with GCC-14
+Author: Marcos Talau <[email protected]>
+Bug-Debian: https://bugs.debian.org/1075144
+Last-Update: 2025-06-28
+
+--- libapr-memcache-0.7.0.orig/memcache/apr_memcache.c
++++ libapr-memcache-0.7.0/memcache/apr_memcache.c
+@@ -459,7 +459,7 @@ APR_DECLARE(apr_uint32_t) apr_memcache_h
+ 
+ static apr_status_t get_server_line(apr_memcache_conn_t* conn)
+ {
+-    int bsize = BUFFER_SIZE;
++    apr_size_t bsize = BUFFER_SIZE;
+     apr_status_t rv = APR_SUCCESS;
+ 
+     rv = apr_brigade_split_line(conn->tb, conn->bb, APR_BLOCK_READ, BUFFER_SIZE);
+@@ -672,7 +672,7 @@ apr_memcache_getp(apr_memcache_t *mc,
+         char *length;
+         char *start;
+         char *last;
+-        apr_uint32_t len;
++        apr_size_t len;
+ 
+         start = conn->buffer;
+         flags = apr_strtok(conn->buffer," ",&last);
diff -Nru libapr-memcache-0.7.0/debian/patches/series libapr-memcache-0.7.0/debian/patches/series
--- libapr-memcache-0.7.0/debian/patches/series	2014-02-23 06:52:03.000000000 -0300
+++ libapr-memcache-0.7.0/debian/patches/series	2025-06-28 11:45:40.000000000 -0300
@@ -1,2 +1,3 @@
 Upstream-Changelog
 configurepatch
+fix-build-with-gcc14.patch

Reply via email to