diff options
author | tijl <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
commit | b0813ee288f64f677a2cebf7815754b027a8215b (patch) | |
tree | 87498bf268bfd011fdf8bf597761671de1049b22 /lib/libarchive | |
parent | 788163adc0d01b144c16af2c10940df70141614a (diff) | |
download | FreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.zip FreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.tar.gz |
Remove the const qualifier from iconv(3) to comply with POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
Exp-run by: antoine
MFC after: 2 weeks
Diffstat (limited to 'lib/libarchive')
-rw-r--r-- | lib/libarchive/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index 2542a20..9dfad77 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -25,7 +25,7 @@ LIBADD+= md .if ${MK_ICONV} != "no" # TODO: This can be changed back to CFLAGS once iconv works correctly # with statically linked binaries. -SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const +SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST= .endif .if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \ |