diff options
-rw-r--r-- | textproc/xstream/Makefile | 2 | ||||
-rw-r--r-- | textproc/xstream/distinfo | 6 | ||||
-rw-r--r-- | textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java | 22 |
3 files changed, 4 insertions, 26 deletions
diff --git a/textproc/xstream/Makefile b/textproc/xstream/Makefile index 95775e134cda..bf1c6bb602c3 100644 --- a/textproc/xstream/Makefile +++ b/textproc/xstream/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xstream -PORTVERSION= 1.3 +PORTVERSION= 1.3.1 CATEGORIES= textproc java MASTER_SITES= http://repository.codehaus.org/com/thoughtworks/xstream/xstream-distribution/${PORTVERSION}/ DISTNAME= ${PORTNAME}-distribution-${PORTVERSION}-src diff --git a/textproc/xstream/distinfo b/textproc/xstream/distinfo index d3790583b720..9a889ec2e792 100644 --- a/textproc/xstream/distinfo +++ b/textproc/xstream/distinfo @@ -1,3 +1,3 @@ -MD5 (xstream-distribution-1.3-src.zip) = 8d2caf93c3078760c6baa8c26765ec4b -SHA256 (xstream-distribution-1.3-src.zip) = fe09248421d8b153880b127b08083a7852f40dbafa6b0e2a9fa8920bf5abaa35 -SIZE (xstream-distribution-1.3-src.zip) = 7403424 +MD5 (xstream-distribution-1.3.1-src.zip) = 3a129d9bdf88e385424a917c59e284e2 +SHA256 (xstream-distribution-1.3.1-src.zip) = df645ea4e2e16c4a149fb45966ea50d48b54776ead4727837348195daad94f6b +SIZE (xstream-distribution-1.3.1-src.zip) = 7505723 diff --git a/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java b/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java deleted file mode 100644 index a3a161be66e9..000000000000 --- a/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java +++ /dev/null @@ -1,22 +0,0 @@ ---- src/java/com/thoughtworks/xstream/core/JVM.java.orig 2008-10-14 17:40:37.000000000 +0200 -+++ src/java/com/thoughtworks/xstream/core/JVM.java 2008-10-14 17:47:39.000000000 +0200 -@@ -67,6 +67,10 @@ public class JVM { - return vendor.indexOf("Sun") != -1; - } - -+ private static boolean isDiablo() { -+ return vendor.indexOf("The FreeBSD Foundation") != -1; -+ } -+ - private static boolean isApple() { - return vendor.indexOf("Apple") != -1; - } -@@ -178,7 +182,7 @@ public class JVM { - } - - private boolean canUseSun14ReflectionProvider() { -- return (isSun() || isApple() || isHPUX() || isIBM() || isBlackdown() || isBEAWithUnsafeSupport() || isHitachi() || isSAP()) && is14() && loadClass("sun.misc.Unsafe") != null; -+ return (isSun() || isDiablo() || isApple() || isHPUX() || isIBM() || isBlackdown() || isBEAWithUnsafeSupport() || isHitachi() || isSAP()) && is14() && loadClass("sun.misc.Unsafe") != null; - } - - private boolean canUseHarmonyReflectionProvider() { |