pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/aegis



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Mar 18 17:46:18 UTC 2020

Modified Files:
        pkgsrc/devel/aegis: distinfo
Added Files:
        pkgsrc/devel/aegis/patches: patch-common_ac_string_memmem.cc

Log Message:
Mark const cast appropiately.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/aegis/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/aegis/patches/patch-common_ac_string_memmem.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/aegis/distinfo
diff -u pkgsrc/devel/aegis/distinfo:1.13 pkgsrc/devel/aegis/distinfo:1.14
--- pkgsrc/devel/aegis/distinfo:1.13    Tue Nov  3 03:27:13 2015
+++ pkgsrc/devel/aegis/distinfo Wed Mar 18 17:46:18 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 03:27:13 agc Exp $
+$NetBSD: distinfo,v 1.14 2020/03/18 17:46:18 joerg Exp $
 
 SHA1 (aegis-4.24.2.tar.gz) = 3051a4272cfb3d1dcadec0234a5cd06a3d96e36b
 RMD160 (aegis-4.24.2.tar.gz) = 3bbf6d29295d04313ab8e2a7cb2d80464c338c6b
@@ -7,4 +7,5 @@ Size (aegis-4.24.2.tar.gz) = 4180025 byt
 SHA1 (patch-aa) = 90ca2d4c6e42588b52133a8772cb658608fe43b2
 SHA1 (patch-ab) = c946cdfd7807041502f8052b0e9ec2d24f752175
 SHA1 (patch-ad) = 3385dc23da50afc6827664c8d481ba89ba3fd435
+SHA1 (patch-common_ac_string_memmem.cc) = ef0461be5b90efaf8b39b2116f839c25aa865663
 SHA1 (patch-common_stack.cc) = 83451680c73027fe69b85e0fd3333642d340a750

Added files:

Index: pkgsrc/devel/aegis/patches/patch-common_ac_string_memmem.cc
diff -u /dev/null pkgsrc/devel/aegis/patches/patch-common_ac_string_memmem.cc:1.1
--- /dev/null   Wed Mar 18 17:46:18 2020
+++ pkgsrc/devel/aegis/patches/patch-common_ac_string_memmem.cc Wed Mar 18 17:46:18 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-common_ac_string_memmem.cc,v 1.1 2020/03/18 17:46:18 joerg Exp $
+
+--- common/ac/string/memmem.cc.orig    2020-03-18 14:02:19.961788638 +0000
++++ common/ac/string/memmem.cc
+@@ -182,7 +182,7 @@ memmem_replacement(const void *haystack_
+ 
+     // Use optimizations in memchr when possible.
+     if (needle_len == 1)
+-        return memchr(haystack, *needle, haystack_len);
++        return const_cast<void *>(memchr(haystack, *needle, haystack_len));
+ 
+     // Minimizing the worst-case complexity:
+     // Let n = haystack_len, m = needle_len.



Home | Main Index | Thread Index | Old Index