Date: Fri, 20 Dec 2013 18:10:29 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337055 - head/x11/3ddesktop/files Message-ID: <201312201810.rBKIATop072355@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri Dec 20 18:10:28 2013 New Revision: 337055 URL: http://svnweb.freebsd.org/changeset/ports/337055 Log: Fix build with clang PR: ports/184871 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Added: head/x11/3ddesktop/files/patch-config.cpp (contents, props changed) Modified: head/x11/3ddesktop/files/patch-event.hpp (contents, props changed) Added: head/x11/3ddesktop/files/patch-config.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/3ddesktop/files/patch-config.cpp Fri Dec 20 18:10:28 2013 (r337055) @@ -0,0 +1,13 @@ +--- config.cpp.orig ++++ config.cpp +@@ -64,8 +64,9 @@ + } + + +-Options::Options(char *n = NULL) ++Options::Options(char *n) + { ++ n = NULL; + + if (n) + strncpy(name, n, sizeof(name)); Modified: head/x11/3ddesktop/files/patch-event.hpp ============================================================================== --- head/x11/3ddesktop/files/patch-event.hpp Fri Dec 20 18:07:52 2013 (r337054) +++ head/x11/3ddesktop/files/patch-event.hpp Fri Dec 20 18:10:28 2013 (r337055) @@ -5,7 +5,7 @@ for (k = events.begin(); k != events.end(); ++k) { Event *e = *k; - printf(":: Event %d 0x%x\n", e->type, (unsigned int)(e->function)); -+ printf(":: Event %d 0x%x\n", e->type, (unsigned intptr_t)(e->function)); ++ printf(":: Event %d %p\n", e->type, e->function); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201810.rBKIATop072355>