all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob c92e28d7fd83bbd58b08756fa5f622fa126d1fef 517 bytes (raw)
name: gnu/packages/patches/aegis-constness-error.patch 	 # note: path name is non-authoritative(*)

 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.

debug log:

solving c92e28d ...
found c92e28d in https://yhetil.org/guix/1405518437-24315-1-git-send-email-jmd@gnu.org/

applying [1/1] https://yhetil.org/guix/1405518437-24315-1-git-send-email-jmd@gnu.org/
diff --git a/gnu/packages/patches/aegis-constness-error.patch b/gnu/packages/patches/aegis-constness-error.patch
new file mode 100644
index 0000000..c92e28d

1:11: trailing whitespace.
 
1:16: trailing whitespace.
 
Checking patch gnu/packages/patches/aegis-constness-error.patch...
Applied patch gnu/packages/patches/aegis-constness-error.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 c92e28d7fd83bbd58b08756fa5f622fa126d1fef	gnu/packages/patches/aegis-constness-error.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.