aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-07-07 21:50:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-07-07 21:50:25 +0000
commitdd7fe419cf014c4efa178a9b03d847dc4f5befc4 (patch)
tree994775fc2655a4a127d0ab8fb97997f7fd06a353 /devel
parent788b47e1ebf2d8429edb8c5a720c700447cd5a6b (diff)
downloadports-dd7fe419cf014c4efa178a9b03d847dc4f5befc4.tar.gz
ports-dd7fe419cf014c4efa178a9b03d847dc4f5befc4.zip
Add -D__STDC_ISO_10646__ when the collation fix is enabled to fix a
crash on non-UTF-8 locales. This isn't being enabled globally as there was not enough time to fully evaluate the fix. Submitted by: Ivan Klymenko <fidaj@ukr.net> Approved by: portmgr (erwin) Feature safe: yes
Notes
Notes: svn path=/head/; revision=257502
Diffstat (limited to 'devel')
-rw-r--r--devel/glib20/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 9cfc1186065e..0984f013d16d 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -67,6 +67,7 @@ CONFIGURE_TARGET=${GLIB_ARCH}-portbld-freebsd${OSREL}
LIB_DEPENDS+= icui18n:${PORTSDIR}/devel/icu
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-glib_Makefile.in \
${FILESDIR}/extra-patch-glib_gunicollate.c
+CONFIGURE_ENV+= CFLAGS="-D__STDC_ISO_10646__"
.endif
post-patch: