wxWidgets expects wscanf() to be present if wprintf() is present.
Instead of trying to untangle this I think we should explicitly disable
unicode support during configure time (--disable-unicode) until we have
wscanf() in base.
This should not change existing behaviour since unicode support is
implicitly disabled during configure if wprintf() cannot be found.
There are some harmless-looking plist changes.
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/wxWidgets/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile 22 Nov 2010 08:37:05 -0000 1.31
+++ Makefile 22 Apr 2011 11:30:09 -0000
@@ -7,7 +7,7 @@ COMMENT = c++ cross-platform GUI toolkit
V = 2.8.11
DISTNAME = wxWidgets-${V}
PKGNAME = wxWidgets-gtk2-${V}
-REVISION = 1
+REVISION = 2
SHARED_LIBS = wx_base 2.0 \
wx_base_net 2.0 \
@@ -85,7 +85,8 @@ CONFIGURE_ARGS =--with-expat=sys \
--enable-sound \
--enable-unicode \
--disable-backtrace \
- --disable-stl
+ --disable-stl \
+ --disable-unicode
.ifdef DEBUG
CONFIGURE_ARGS += --enable-debug
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/wxWidgets/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST 2 Nov 2010 13:10:52 -0000 1.6
+++ pkg/PLIST 22 Apr 2011 11:48:40 -0000
@@ -643,11 +643,11 @@ include/wx/zstream.h
@lib lib/libwx_gtk2_xrc.so.${LIBwx_gtk2_xrc_VERSION}
lib/wx/
lib/wx/config/
-lib/wx/config/gtk2-unicode-release-2.8
+@comment lib/wx/config/gtk2-unicode-release-2.8
lib/wx/include/
-lib/wx/include/gtk2-unicode-release-2.8/
-lib/wx/include/gtk2-unicode-release-2.8/wx/
-lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
+@comment lib/wx/include/gtk2-unicode-release-2.8/
+@comment lib/wx/include/gtk2-unicode-release-2.8/wx/
+@comment lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
share/aclocal/wxwin.m4
share/bakefile/
share/bakefile/presets/