mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
gnu: Add Aegis.
* gnu/packages/version-control.scm (aegis): New variable. * gnu/packages/patches/aegis-constness-error.patch: New file. * gnu/packages/patches/aegis-perl-tempdir1.patch: New file. * gnu/packages/patches/aegis-perl-tempdir2.patch: New file. * gnu/packages/patches/aegis-test-fixup-1.patch: New file. * gnu/packages/patches/aegis-test-fixup-2.patch: New file.
This commit is contained in:
parent
a4dc3bdb15
commit
0e534e74aa
6 changed files with 175 additions and 0 deletions
12
gnu/packages/patches/aegis-constness-error.patch
Normal file
12
gnu/packages/patches/aegis-constness-error.patch
Normal file
|
@ -0,0 +1,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.
|
Loading…
Add table
Add a link
Reference in a new issue