diff options
Diffstat (limited to 'net-p2p/azureus')
-rw-r--r-- | net-p2p/azureus/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/azureus/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/azureus/files/build.xml | 2 | ||||
-rw-r--r-- | net-p2p/azureus/files/patch-TransferTypes | 17 |
4 files changed, 25 insertions, 7 deletions
diff --git a/net-p2p/azureus/Makefile b/net-p2p/azureus/Makefile index 2aa0602be46..a8488083f4a 100644 --- a/net-p2p/azureus/Makefile +++ b/net-p2p/azureus/Makefile @@ -19,13 +19,13 @@ COMMENT= A BitTorrent client written in Java BUILD_DEPENDS= \ ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \ ${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \ - ${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit \ + ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \ ${JAVALIBDIR}/seda.jar:${PORTSDIR}/net/seda RUN_DEPENDS= \ ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_JAVA= yes JAVA_BUILD= jdk @@ -35,13 +35,14 @@ JAVA_OS= native USE_ANT= yes USE_JIKES= no -USE_REINPLACE= yes USE_ZIP= yes +USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java NO_WRKSUBDIR= yes JARFILE= ${PORTNAME}.jar # build classpath from BUILD_DEPENDS +MAKE_ENV= LANG=C CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar} PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${PORTNAME} diff --git a/net-p2p/azureus/distinfo b/net-p2p/azureus/distinfo index 6049092fef2..18483703886 100644 --- a/net-p2p/azureus/distinfo +++ b/net-p2p/azureus/distinfo @@ -1,3 +1,3 @@ -MD5 (Azureus_2.3.0.6_source.zip) = d02357ee2917482fee1174a0dc549c5e -SHA256 (Azureus_2.3.0.6_source.zip) = 7244b8b379f6254d0adf3f43da240b415f982c496d63529a86eaf8e231ef120a -SIZE (Azureus_2.3.0.6_source.zip) = 4773566 +MD5 (Azureus_2.4.0.0_source.zip) = cb0390f3e1d158453fca980c92050a56 +SHA256 (Azureus_2.4.0.0_source.zip) = 1190c7281433ef9bdb32c3aac52d2c0fd31ff13114a2c569d31ccb1cc0d69d70 +SIZE (Azureus_2.4.0.0_source.zip) = 5235489 diff --git a/net-p2p/azureus/files/build.xml b/net-p2p/azureus/files/build.xml index 21ac16c5993..4555797a810 100644 --- a/net-p2p/azureus/files/build.xml +++ b/net-p2p/azureus/files/build.xml @@ -19,7 +19,7 @@ <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="64m"> + <javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m"> <include name="**/*.java"/> <exclude name="**/Win32*.java"/> <exclude name="**/swt/osx/**"/> diff --git a/net-p2p/azureus/files/patch-TransferTypes b/net-p2p/azureus/files/patch-TransferTypes new file mode 100644 index 00000000000..2c13840c877 --- /dev/null +++ b/net-p2p/azureus/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 : |