aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fbdesk
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-15 00:36:30 +0800
committerkrion <krion@FreeBSD.org>2004-02-15 00:36:30 +0800
commite11262fdabbd2431a9579a1cae058e8c072e21cb (patch)
treedef00b2f03867d4db7b1d8d8f7ff78ca7dcf5ac0 /x11-wm/fbdesk
parent5b0345a03ac324ea836f78e5131f55a85e686829 (diff)
downloadfreebsd-ports-gnome-e11262fdabbd2431a9579a1cae058e8c072e21cb.tar.gz
freebsd-ports-gnome-e11262fdabbd2431a9579a1cae058e8c072e21cb.tar.zst
freebsd-ports-gnome-e11262fdabbd2431a9579a1cae058e8c072e21cb.zip
- Fix build on sparc64, ia64, amd64
PR: ports/62841 Submitted by: maintainer
Diffstat (limited to 'x11-wm/fbdesk')
-rw-r--r--x11-wm/fbdesk/files/patch-src::FbTk::FbWindow.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/fbdesk/files/patch-src::FbTk::FbWindow.cc b/x11-wm/fbdesk/files/patch-src::FbTk::FbWindow.cc
new file mode 100644
index 000000000000..9f79c911324e
--- /dev/null
+++ b/x11-wm/fbdesk/files/patch-src::FbTk::FbWindow.cc
@@ -0,0 +1,12 @@
+--- src/FbTk/FbWindow.cc.orig Sat Feb 14 10:48:03 2004
++++ src/FbTk/FbWindow.cc Sat Feb 14 10:48:11 2004
+@@ -168,7 +168,8 @@
+ Window root;
+ size_t border_width, depth;
+ XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
+- &m_width, &m_height, &border_width, &depth);
++ (unsigned int*) &m_width, (unsigned int*) &m_height,
++ (unsigned int*) &border_width, (unsigned int*) &depth);
+ }
+
+ void FbWindow::create(Window parent, int x, int y,