aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/vuze
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-04 01:47:55 +0800
committermiwi <miwi@FreeBSD.org>2008-06-04 01:47:55 +0800
commitb0806a07ff24c6c7df94ac18d1e758d5464fd9dc (patch)
treeca7bcd54509fabbcc3137265acef016464762d02 /net-p2p/vuze
parent937435f4b458c5903c97ab3e8c0f32f89ea4f426 (diff)
downloadfreebsd-ports-graphics-b0806a07ff24c6c7df94ac18d1e758d5464fd9dc.tar.gz
freebsd-ports-graphics-b0806a07ff24c6c7df94ac18d1e758d5464fd9dc.tar.zst
freebsd-ports-graphics-b0806a07ff24c6c7df94ac18d1e758d5464fd9dc.zip
- Fix build
PR: 124217 Reported by: Hardy Schumacher <hardy.schumacher@amd.com> Patched by: maintainer
Diffstat (limited to 'net-p2p/vuze')
-rw-r--r--net-p2p/vuze/Makefile6
-rw-r--r--net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java29
-rw-r--r--net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java16
3 files changed, 33 insertions, 18 deletions
diff --git a/net-p2p/vuze/Makefile b/net-p2p/vuze/Makefile
index 258300cbffc..1e7b7c9bcce 100644
--- a/net-p2p/vuze/Makefile
+++ b/net-p2p/vuze/Makefile
@@ -25,6 +25,12 @@ USE_ANT= yes
USE_ZIP= yes
+USE_DOS2UNIX= \
+org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java \
+org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java \
+com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java \
+com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterTransparent.java
+
NO_WRKSUBDIR= yes
JARFILE= ${PORTNAME}.jar
diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
index bd9cdc48c8e..580bb621d76 100644
--- a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
+++ b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
@@ -1,11 +1,20 @@
---- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig 2007-03-07 16:49:08.000000000 +0100
-+++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java 2008-05-30 16:19:10.000000000 +0200
+--- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig 2008-06-03 11:20:58.000000000 -0400
++++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java 2008-06-03 11:23:02.000000000 -0400
@@ -19,7 +19,7 @@
- */
- package org.gudy.azureus2.platform.macosx.access.jnilib;
-
--import org.eclipse.swt.internal.carbon.AEDesc;
-+//import org.eclipse.swt.internal.carbon.AEDesc;
-
- import org.gudy.azureus2.core3.util.*;
-
+ */
+ package org.gudy.azureus2.platform.macosx.access.jnilib;
+
+-import org.eclipse.swt.internal.carbon.AEDesc;
++// import org.eclipse.swt.internal.carbon.AEDesc;
+
+ import org.gudy.azureus2.core3.util.*;
+
+@@ -42,7 +42,7 @@
+ }
+ }
+
+- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result);
++// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result);
+
+ public static final native String getVersion();
+
diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java
index 03716ba88c3..0e7893f724d 100644
--- a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java
+++ b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java
@@ -1,10 +1,10 @@
---- org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java.orig 2007-12-06 16:43:38.000000000 +0100
-+++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java 2008-05-30 16:21:32.000000000 +0200
+--- org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java.orig 2008-06-03 11:25:03.000000000 -0400
++++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java 2008-06-03 11:27:27.000000000 -0400
@@ -139,6 +139,7 @@
- return false;
- }
- });
+ return false;
+ }
+ });
+ possibleDirs.add(new File("/usr/local/lib"));
- possibleDirs.add(new File("/usr/local"));
- possibleDirs.add(new File("/opt"));
-
+ possibleDirs.add(new File("/usr/local"));
+ possibleDirs.add(new File("/opt"));
+