Source-Changes-HG archive

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

[src/netbsd-9]: src/external/bsd/libarchive/include iconv needs const args on...



details:   https://anonhg.NetBSD.org/src/rev/2cfe7a28fbfd
branches:  netbsd-9
changeset: 843785:2cfe7a28fbfd
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 21 17:22:59 2020 +0000

description:
iconv needs const args on this branch (ticket #638)

diffstat:

 external/bsd/libarchive/include/config_netbsd.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5ffe2582cc7c -r 2cfe7a28fbfd external/bsd/libarchive/include/config_netbsd.h
--- a/external/bsd/libarchive/include/config_netbsd.h   Tue Jan 21 16:46:07 2020 +0000
+++ b/external/bsd/libarchive/include/config_netbsd.h   Tue Jan 21 17:22:59 2020 +0000
@@ -1201,7 +1201,7 @@
 /* #undef HAVE__MKGMTIME64 */
 
 /* Define as const if the declaration of iconv() needs const. */
-#define ICONV_CONST
+#define ICONV_CONST    const
 
 /* Version number of libarchive as a single integer */
 #define LIBARCHIVE_VERSION_NUMBER "3004000"



Home | Main Index | Thread Index | Old Index