If you've compiled your base system with WITH_ICONV, then use it for svn
alongside the other consumers (bsdtar, csh etc). The svnlite build gets upset when it hits non-ascii characters in inconvenient places.
This commit is contained in:
parent
e513819332
commit
0d5daade6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252457
@ -28,5 +28,11 @@ CFLAGS+= -DHAVE_CONFIG_H \
|
|||||||
-I${APR}/include/arch/unix \
|
-I${APR}/include/arch/unix \
|
||||||
-I${APR}/include
|
-I${APR}/include
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MK_ICONV} == "yes"
|
||||||
|
CFLAGS+= -DHAVE_ICONV_H=1 -DAPU_HAVE_ICONV=1
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
|
@ -107,8 +107,12 @@
|
|||||||
#define APU_HAVE_OPENSSL 0
|
#define APU_HAVE_OPENSSL 0
|
||||||
#define APU_HAVE_NSS 0
|
#define APU_HAVE_NSS 0
|
||||||
|
|
||||||
|
#ifndef APU_HAVE_APR_ICONV
|
||||||
#define APU_HAVE_APR_ICONV 0
|
#define APU_HAVE_APR_ICONV 0
|
||||||
|
#endif
|
||||||
|
#ifndef APU_HAVE_ICONV
|
||||||
#define APU_HAVE_ICONV 0
|
#define APU_HAVE_ICONV 0
|
||||||
|
#endif
|
||||||
#define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
|
#define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
|
||||||
|
|
||||||
#endif /* APU_H */
|
#endif /* APU_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user