aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-01 04:34:39 +0800
committerarved <arved@FreeBSD.org>2007-08-01 04:34:39 +0800
commit094fa8f155800b5475268c7e89e11a1e1aad256f (patch)
tree030abde7c36c63d1abf433d06696d4f9d0c64c17
parentff2a4e78579dbb7ca03f28a98669132a64a0c2f0 (diff)
downloadfreebsd-ports-gnome-094fa8f155800b5475268c7e89e11a1e1aad256f.tar.gz
freebsd-ports-gnome-094fa8f155800b5475268c7e89e11a1e1aad256f.tar.zst
freebsd-ports-gnome-094fa8f155800b5475268c7e89e11a1e1aad256f.zip
Fix build on 64bit platforms
-rw-r--r--x11-toolkits/v/files/patch-srcx-vcanvas.cxx20
-rw-r--r--x11-toolkits/v/files/patch-srcx-vlistcc.cxx11
-rw-r--r--x11-toolkits/v/files/patch-srcx-vsliderc.cxx11
3 files changed, 42 insertions, 0 deletions
diff --git a/x11-toolkits/v/files/patch-srcx-vcanvas.cxx b/x11-toolkits/v/files/patch-srcx-vcanvas.cxx
new file mode 100644
index 000000000000..4dfaf5a05361
--- /dev/null
+++ b/x11-toolkits/v/files/patch-srcx-vcanvas.cxx
@@ -0,0 +1,20 @@
+--- srcx/vcanvas.cxx.orig 2007-07-31 22:24:59.000000000 +0200
++++ srcx/vcanvas.cxx 2007-07-31 22:25:47.000000000 +0200
+@@ -1326,7 +1326,7 @@
+ }
+ }
+ #else
+- int pos = (int)position;
++ intptr_t pos = (intptr_t)position;
+ ((vCanvasPane*)This)->HScrollProcCB(pos);
+ #endif
+ }
+@@ -1365,7 +1365,7 @@
+ }
+ }
+ #else
+- int pos = (int)position;
++ intptr_t pos = (intptr_t)position;
+ ((vCanvasPane*)This)->VScrollProcCB(pos);
+ #endif
+ }
diff --git a/x11-toolkits/v/files/patch-srcx-vlistcc.cxx b/x11-toolkits/v/files/patch-srcx-vlistcc.cxx
new file mode 100644
index 000000000000..c2f3f47d9f8e
--- /dev/null
+++ b/x11-toolkits/v/files/patch-srcx-vlistcc.cxx
@@ -0,0 +1,11 @@
+--- srcx/vlistc.cxx.orig 2007-07-31 22:27:03.000000000 +0200
++++ srcx/vlistc.cxx 2007-07-31 22:28:09.000000000 +0200
+@@ -676,7 +676,7 @@
+ //============================>>> CScollProcCB <<<=============================
+ void CScrollProcCB(Widget w, XtPointer This, XtPointer position)
+ {
+- int pos = (int)position;
++ intptr_t pos = (intptr_t)position;
+ ((vListCmd*)This)->ScrollProcCB(pos);
+ }
+ #endif // Athena only
diff --git a/x11-toolkits/v/files/patch-srcx-vsliderc.cxx b/x11-toolkits/v/files/patch-srcx-vsliderc.cxx
new file mode 100644
index 000000000000..c9fc99d9f7ca
--- /dev/null
+++ b/x11-toolkits/v/files/patch-srcx-vsliderc.cxx
@@ -0,0 +1,11 @@
+--- srcx/vsliderc.cxx.orig 2007-07-31 22:29:12.000000000 +0200
++++ srcx/vsliderc.cxx 2007-07-31 22:29:56.000000000 +0200
+@@ -402,7 +402,7 @@
+ //============================>>> CScollProcCB <<<=============================
+ void CSliderScrollProcCB(Widget w, XtPointer This, XtPointer position)
+ {
+- int pos = (int)position;
++ intptr_t pos = (intptr_t)position;
+ ((vSliderCmd*)This)->ScrollProcCB(pos);
+ }
+ }