aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/aegis-constness-error.patch
blob: 2a6c9d2c376361a25c6c6039c10c44395031a639 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Fixes a fatal constness error with g++ 4.8.2.
--- aegis-4.24/common/ac/string/memmem.cc	2008-03-14 07:19:27.000000000 +0100
+++ aegis-4.24/common/ac/string/memmem.cc	2014-01-26 11:17:58.000000000 +0100
@@ -182,7 +182,7 @@
 
     // Use optimizations in memchr when possible.
     if (needle_len == 1)
-        return memchr(haystack, *needle, haystack_len);
+        return (void *) memchr(haystack, *needle, haystack_len);
 
     // Minimizing the worst-case complexity:
     // Let n = haystack_len, m = needle_len.
7d8050236a6d3ffde991fb0035412eb3046'>gexp: Add 'with-extensions'....Ludovic Courtès 2018-01-08services: guix: Add 'log-compression' option....Ludovic Courtès 2017-12-01weather: Use (guix progress) for progress report....Ludovic Courtès 2017-05-18union: Gracefully handle dangling symlinks in the input....Ludovic Courtès 2017-05-04dir-locals.el: Add 'modify-phases' keywords....Alex Kost 2017-04-18Add (guix workers)....Ludovic Courtès 2017-01-28Add (guix memoization)....Ludovic Courtès 2016-10-04Set Emacs config variable sentence-end-double-space....Hartmut Goebel 2016-07-19Add (guix zlib)....Ludovic Courtès 2016-07-12gexp: Add 'with-imported-modules' macro....Ludovic Courtès 2015-10-28services: Add 'modify-services'....Ludovic Courtès 2015-07-09gnu: build: Add Linux container module....David Thompson 2015-06-06store: Add 'verify-store' RPC....Ludovic Courtès 2015-05-25ui: Auto-compile user code, and improve error reporting....Ludovic Courtès 2015-05-06profiles: Generate an 'etc/profile' file....Ludovic Courtès