FreeBSD Bugzilla – Attachment 138790 Details for
Bug 184871
x11/3ddesktop: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
tkato432
on 2013-12-16 18:10:19 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-12-16 18:10:19 UTC
Size:
1.08 KB
patch
obsolete
>diff -urN /usr/ports/x11/3ddesktop/files/patch-config.cpp x11/3ddesktop/files/patch-config.cpp >--- /usr/ports/x11/3ddesktop/files/patch-config.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ x11/3ddesktop/files/patch-config.cpp 2013-12-17 00:00:00.000000000 +0900 >@@ -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)); >diff -urN /usr/ports/x11/3ddesktop/files/patch-event.hpp x11/3ddesktop/files/patch-event.hpp >--- /usr/ports/x11/3ddesktop/files/patch-event.hpp 2013-11-06 21:55:48.000000000 +0900 >+++ x11/3ddesktop/files/patch-event.hpp 2013-12-17 00:00:00.000000000 +0900 >@@ -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); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184871
: 138790