aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-12-20 18:10:28 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-12-20 18:10:28 +0000
commit2c3d3a22e501d9bb3ee3a31411d7f5e322b2510b (patch)
tree6ba86adf1eb12e56be5fb27f84f3a8e172c776c3 /x11
parent041d2589b983f0e017300cac77075fa30bdfa951 (diff)
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/3ddesktop/files/patch-config.cpp13
-rw-r--r--x11/3ddesktop/files/patch-event.hpp2
2 files changed, 14 insertions, 1 deletions
diff --git a/x11/3ddesktop/files/patch-config.cpp b/x11/3ddesktop/files/patch-config.cpp
new file mode 100644
index 000000000000..2a399b34aaf7
--- /dev/null
+++ b/x11/3ddesktop/files/patch-config.cpp
@@ -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 --git a/x11/3ddesktop/files/patch-event.hpp b/x11/3ddesktop/files/patch-event.hpp
index 8c2244d64517..8aed280e477c 100644
--- a/x11/3ddesktop/files/patch-event.hpp
+++ b/x11/3ddesktop/files/patch-event.hpp
@@ -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);
}
}