aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-08-03 14:24:41 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-08-03 14:24:41 +0000
commitb30403e798366646376d354bc2cd578fabe55334 (patch)
tree34accc3630619ce0ec9e8c010ecd9850e290c36e /x11-toolkits
parentd3254fecb91d1a3c3395a2140b54eeffee147fb0 (diff)
downloadports-b30403e798366646376d354bc2cd578fabe55334.tar.gz
ports-b30403e798366646376d354bc2cd578fabe55334.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/vdk/files/patch-vdk-vdkclist.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/vdk/files/patch-vdk-vdkclist.cc b/x11-toolkits/vdk/files/patch-vdk-vdkclist.cc
new file mode 100644
index 000000000000..f7d181714f8e
--- /dev/null
+++ b/x11-toolkits/vdk/files/patch-vdk-vdkclist.cc
@@ -0,0 +1,20 @@
+--- vdk/vdkclist.cc.orig 2007-08-03 16:19:09.000000000 +0200
++++ vdk/vdkclist.cc 2007-08-03 16:20:09.000000000 +0200
+@@ -26,7 +26,7 @@
+ *
+ */
+
+-
++#include <sys/types.h>
+ #include "vdk/vdkclist.h"
+ #include "vdk/forms.h"
+ #include <cstring>
+@@ -377,7 +377,7 @@
+ // load array;
+ WideSelection = VDKIntArray(listSize);
+ for(t = 0; t < WideSelection.size();t++,list = list->next)
+- WideSelection[t] = (int) list->data;
++ WideSelection[t] = (intptr_t) list->data;
+ }
+ return WideSelection;
+ }