aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/vuze
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-07-16 03:17:19 +0800
committerpav <pav@FreeBSD.org>2008-07-16 03:17:19 +0800
commitd8fc848414cab968c94672ea1d615135f3f7e10a (patch)
tree88d6d5f27ef24c580009a898d5639399cea1bc2d /net-p2p/vuze
parent78e25f51fdf01ebafa8f479e164f314dbcce3934 (diff)
downloadfreebsd-ports-gnome-d8fc848414cab968c94672ea1d615135f3f7e10a.tar.gz
freebsd-ports-gnome-d8fc848414cab968c94672ea1d615135f3f7e10a.tar.zst
freebsd-ports-gnome-d8fc848414cab968c94672ea1d615135f3f7e10a.zip
- Ressurect a patch file in an attempt to fix build on amd64/7
Submitted by: maintainer
Diffstat (limited to 'net-p2p/vuze')
-rw-r--r--net-p2p/vuze/files/patch-TransferTypes17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/vuze/files/patch-TransferTypes b/net-p2p/vuze/files/patch-TransferTypes
new file mode 100644
index 000000000000..2c13840c877e
--- /dev/null
+++ b/net-p2p/vuze/files/patch-TransferTypes
@@ -0,0 +1,17 @@
+--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003
++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005
+@@ -41,5 +41,5 @@
+ TransferData[] data = event.dataTypes;
+ for (int i = 0; i < data.length; i++) {
+- int id = data[i].type;
++ long id = data[i].type;
+ String name = getNameFromId(id);
+ System.out.println("Data type is " + id + " " + name);
+@@ -97,5 +97,5 @@
+ return ids;
+ }
+- static String getNameFromId(int id) {
++ static String getNameFromId(long id) {
+- switch (id) {
++ switch ((int)id) {
+ case 1 :