Date: Sat, 11 Apr 2015 11:33:35 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383789 - in head/games/asc: . files Message-ID: <201504111133.t3BBXZum063105@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Apr 11 11:33:35 2015 New Revision: 383789 URL: https://svnweb.freebsd.org/changeset/ports/383789 Log: - Fix build on < 10.x after wxgtk30 update Added: head/games/asc/files/ head/games/asc/files/patch-source_libs_paragui_src_widgets_pgbutton.cpp (contents, props changed) Modified: head/games/asc/Makefile Modified: head/games/asc/Makefile ============================================================================== --- head/games/asc/Makefile Sat Apr 11 11:30:08 2015 (r383788) +++ head/games/asc/Makefile Sat Apr 11 11:33:35 2015 (r383789) @@ -29,6 +29,7 @@ OPTIONS_DEFINE= MUSIC XVID MUSIC_DESC= Install extra music files USES= compiler:c++11-lib gmake libtool lua:51 perl5 pkgconfig tar:bzip2 +USE_CXXSTD= c++11 USE_SDL= image mixer sound sdl USE_WX= 3.0 WX_UNICODE= yes Added: head/games/asc/files/patch-source_libs_paragui_src_widgets_pgbutton.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/asc/files/patch-source_libs_paragui_src_widgets_pgbutton.cpp Sat Apr 11 11:33:35 2015 (r383789) @@ -0,0 +1,43 @@ +--- source/libs/paragui/src/widgets/pgbutton.cpp.orig 2015-04-11 02:43:58.716405000 +0300 ++++ source/libs/paragui/src/widgets/pgbutton.cpp 2015-04-11 02:44:38.509415000 +0300 +@@ -101,32 +101,33 @@ + t->GetColor(widgettype, objectname, PG_PropStr::textcolor, fontcolor); + SetFontColor(fontcolor); + ++ printf("%d\n", GetID()); + switch (GetID()) { +- case OK: ++ case (int)OK: + SetIcon(t->FindSurface(widgettype, objectname, "ok_icon")); + break; + +- case YES: ++ case (int)YES: + SetIcon(t->FindSurface(widgettype, objectname, "yes_icon")); + break; + +- case NO: ++ case (int)NO: + SetIcon(t->FindSurface(widgettype, objectname, "no_icon")); + break; + +- case APPLY: ++ case (int)APPLY: + SetIcon(t->FindSurface(widgettype, objectname, "apply_icon")); + break; + +- case CANCEL: ++ case (int)CANCEL: + SetIcon(t->FindSurface(widgettype, objectname, "cancel_icon")); + break; + +- case CLOSE: ++ case (int)CLOSE: + SetIcon(t->FindSurface(widgettype, objectname, "close_icon")); + break; + +- case HELP: ++ case (int)HELP: + SetIcon(t->FindSurface(widgettype, objectname, "help_icon")); + break; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504111133.t3BBXZum063105>