diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-01-18 14:33:50 +0800 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-01-18 14:33:50 +0800 |
commit | 30e57f26878763e60c1af732aba2bed63c96c5e4 (patch) | |
tree | d88d6788c2231aa052aa490403030eedfe032651 /net-p2p/vuze | |
parent | cf529d2090827d517b1a4a1b103d298c5071605f (diff) | |
download | freebsd-ports-graphics-30e57f26878763e60c1af732aba2bed63c96c5e4.tar.gz freebsd-ports-graphics-30e57f26878763e60c1af732aba2bed63c96c5e4.tar.zst freebsd-ports-graphics-30e57f26878763e60c1af732aba2bed63c96c5e4.zip |
Fix build on amd64
Submitted by: Mikhail T. <mi@aldan.algebra.com>
Approved by: garga (mentor, implicit)
Diffstat (limited to 'net-p2p/vuze')
-rw-r--r-- | net-p2p/vuze/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/vuze/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/net-p2p/vuze/Makefile b/net-p2p/vuze/Makefile index 7abd0cf2642..d06827ada03 100644 --- a/net-p2p/vuze/Makefile +++ b/net-p2p/vuze/Makefile @@ -31,6 +31,7 @@ USE_DOS2UNIX= \ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java \ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java \ org/gudy/azureus2/platform/PlatformManagerFactory.java \ +org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java \ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java \ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterTransparent.java diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java new file mode 100644 index 00000000000..244b926e841 --- /dev/null +++ b/net-p2p/vuze/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java @@ -0,0 +1,20 @@ +--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java.orig 2009-01-18 01:23:44.000000000 -0500 ++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java 2009-01-18 01:24:54.000000000 -0500 +@@ -40,7 +40,7 @@ + + TransferData[] data = event.dataTypes; + for (int i = 0; i < data.length; i++) { +- int id = data[i].type; ++ int id = (int)data[i].type; + String name = getNameFromId(id); + System.out.println("Data type is " + id + " " + name); + } +@@ -50,7 +50,7 @@ + } + public void drop(DropTargetEvent event) { + System.out.println("URL dropped: " + event.data); +- System.out.println("Data type is " + event.currentDataType.type + " " + getNameFromId(event.currentDataType.type)); ++ System.out.println("Data type is " + event.currentDataType.type + " " + getNameFromId((int)event.currentDataType.type)); + } + }); + |