| 1 |
Descriptionscip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/patches/`fix-build-with-gcc16.patch`#Description.: Fix build with gcc-16 |
| 2 |
Authorscip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/patches/`fix-build-with-gcc16.patch`#Author.: Marcos Talau <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Bug-Debianscip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/patches/`fix-build-with-gcc16.patch`#Bug-Debian.: https://bugs.debian.org/1133523scip-debian-bts debian-bts . . 1133523: |
| 4 |
Last-Updatescip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/patches/`fix-build-with-gcc16.patch`#Last-Update.: 2026-04-21 |
| 5 |
|
| 6 |
--- libmmap-allocator-0.4.0+git20200122.adbfbe1.orig/mmap_allocator.hscip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/upstream/`libmmap-allocator-0.4.0+git20200122.adbfbe1.orig/mmap_allocator.h`: |
| 7 |
+++ libmmap-allocator-0.4.0+git20200122.adbfbe1/mmap_allocator.hscip-debian debian libmmap-allocator 0.4.0+git20200122.adbfbe1-4 libmmap-allocator/upstream/`libmmap-allocator-0.4.0+git20200122.adbfbe1/mmap_allocator.h`: |
| 8 |
@@ -36,7 +36,7 @@ public: |
| 9 |
fprintf(stderr, "Alloc %zd bytes.\n", n*sizeof(T)); |
| 10 |
} |
| 11 |
if (access_mode == DEFAULT_STL_ALLOCATOR) { |
| 12 |
|
| 13 |
+ return std::allocator<T>::allocate(n); |
| 14 |
} else { |
| 15 |
if (n == 0) { |
| 16 |
return NULL; |