FreeBSD Bugzilla – Attachment 61543 Details for
Bug 92210
[PATCH] Fixing Azureus to work on amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.68 KB, created by
Mikhail T.
on 2006-01-23 16:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mikhail T.
Created:
2006-01-23 16:10:04 UTC
Size:
1.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/net/azureus/Makefile,v >retrieving revision 1.29 >diff -U2 -r1.29 Makefile >--- Makefile 4 Jan 2006 23:24:28 -0000 1.29 >+++ Makefile 23 Jan 2006 16:00:34 -0000 >@@ -26,10 +26,9 @@ > ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 > >-ONLY_FOR_ARCHS= i386 > > USE_JAVA= yes > JAVA_BUILD= jdk > JAVA_RUN= jdk >-JAVA_VERSION= 1.4 >+JAVA_VERSION= 1.4+ > JAVA_OS= native > USE_ANT= yes >@@ -38,4 +38,5 @@ > USE_REINPLACE= yes > USE_ZIP= yes >+USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java > NO_WRKSUBDIR= yes > >@@ -43,4 +44,5 @@ > > # build classpath from BUILD_DEPENDS >+MAKE_ENV= LANG=C _JAVA_OPTIONS=-Xmx512M > CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar} > >Index: files/patch-TransferTypes >=================================================================== >RCS file: files/patch-TransferTypes >diff -N files/patch-TransferTypes >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-TransferTypes 23 Jan 2006 16:00:34 -0000 >@@ -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 :
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 92210
: 61543