Marcos Talau pushed to branch master at Debian Med / libmmap-allocator


Commits:
6f3628fd by Marcos Talau at 2026-04-21T19:13:58-03:00
debian/patches/fix-build-with-gcc16.patch: New. Fix FTBFS with gcc-16

- - - - -
086d70db by Marcos Talau at 2026-04-21T19:16:17-03:00
debian/changelog: Update

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/fix-build-with-gcc16.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+libmmap-allocator (0.4.0+git20200122.adbfbe1-3) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Nilesh Patra ]
+  * Minor fix to hardening patch.
+
+  [ Marcos Talau ]
+  * debian/patches/fix-build-with-gcc16.patch: New. Fix FTBFS with gcc-16.
+    (Closes: #1133523)
+
+ -- Marcos Talau <[email protected]>  Tue, 21 Apr 2026 19:15:25 -0300
+
 libmmap-allocator (0.4.0+git20200122.adbfbe1-2) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/fix-build-with-gcc16.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix build with gcc-16
+Author: Marcos Talau <[email protected]>
+Bug-Debian: https://bugs.debian.org/1133523
+Last-Update: 2026-04-21
+
+--- libmmap-allocator-0.4.0+git20200122.adbfbe1.orig/mmap_allocator.h
++++ libmmap-allocator-0.4.0+git20200122.adbfbe1/mmap_allocator.h
+@@ -36,7 +36,7 @@ public:
+                               fprintf(stderr, "Alloc %zd bytes.\n", 
n*sizeof(T));
+                       }
+                       if (access_mode == DEFAULT_STL_ALLOCATOR) {
+-                              return std::allocator<T>::allocate(n, hint);
++                              return std::allocator<T>::allocate(n);
+                       } else {
+                               if (n == 0) {
+                                       return NULL;


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 # soname.patch
 cross.patch
 hardening.patch
+fix-build-with-gcc16.patch



View it on GitLab: 
https://salsa.debian.org/med-team/libmmap-allocator/-/compare/af74417f1154bc6de9ad30066205748d58cd830b...086d70dbfd6d88553567576b99659e8feaa27374

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/libmmap-allocator/-/compare/af74417f1154bc6de9ad30066205748d58cd830b...086d70dbfd6d88553567576b99659e8feaa27374
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to