Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 23:27:42 +0100 (CET)
From:      Ronald Klop <ronald@cs.vu.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50325: Update port java/jmp 0.27 -> 0.28.
Message-ID:  <200303262227.h2QMRgTd043464@cs.vu.nl>

next in thread | raw e-mail | index | archive | help

>Number:         50325
>Category:       ports
>Synopsis:       Update port java/jmp 0.27 -> 0.28.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 14:30:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ronald Klop
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD henk.boetzelaer.nl 4.8-RC FreeBSD 4.8-RC #52: Fri Mar 14 19:22:21 CET 2003 root@henk.boetzelaer.nl:/usr/obj/usr/src/sys/HENK i386


>Description:
	Update of the port to 0.28.
	See PR ports/47151 and PR ports/48474.

	I had to start my test app with 'java -Xrunjmp:nomethods Test'.
	Method traceing can be turned on after app started, but crashes the VM at startup.
	This is only tested with the FreeBSD native jdk-1.3.1-p7.

>How-To-Repeat:
	
>Fix:

--- jmp-0.28.diff begins here ---
diff -Nru jmp-0.27/Makefile jmp/Makefile
--- jmp-0.27/Makefile	Wed Mar 26 22:04:04 2003
+++ jmp/Makefile	Wed Mar 26 22:18:01 2003
@@ -5,24 +5,25 @@
 # $FreeBSD$
 #
 
-PORTNAME=      jmp
-PORTVERSION=   0.27
-CATEGORIES=    java
-MASTER_SITES=  http://www.khelekore.org/jmp/
+PORTNAME=		jmp
+PORTVERSION=	0.28
+CATEGORIES=		java
+MASTER_SITES=	http://www.khelekore.org/jmp/
 
-MAINTAINER=    ronald@cs.vu.nl
+MAINTAINER=		ronald@cs.vu.nl
+COMMENT=		Java Memory Profiler
 
 .if defined(WITHOUT_X11)
 CONFIGURE_ARGS=	--enable-noui
 .else
-USE_XLIB=	yes
+USE_XLIB=		yes
 LIB_DEPENDS=	gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
 .endif
 
-USE_JAVA=	1.2+
+USE_JAVA=		1.2+
 GNU_CONFIGURE=	yes
 
-CONFIGURE_ENV=  JAVA_HOME="${JAVA_HOME}"
+CONFIGURE_ENV=	JAVA_HOME="${JAVA_HOME}"
 INSTALLS_SHLIB=	yes
 
 .include <bsd.port.mk>
diff -Nru jmp-0.27/distinfo jmp/distinfo
--- jmp-0.27/distinfo	Wed Mar 26 22:04:04 2003
+++ jmp/distinfo	Wed Mar 26 22:07:36 2003
@@ -1 +1 @@
-MD5 (jmp-0.27.tar.gz) = 5b05201fd63a6bcf06b12a60ce217a6a
+MD5 (jmp-0.28.tar.gz) = 1f91868c75f78c180b571378ca9f0661
diff -Nru jmp-0.27/files/patch-instance_owners.c jmp/files/patch-instance_owners.c
--- jmp-0.27/files/patch-instance_owners.c	Thu Jan  1 01:00:00 1970
+++ jmp/files/patch-instance_owners.c	Wed Mar 26 23:09:23 2003
@@ -0,0 +1,29 @@
+--- instance_owners.c	Wed Mar 26 22:58:13 2003
++++ instance_owners.c	Wed Mar 26 23:05:43 2003
+@@ -11,6 +11,10 @@
+ #include <jmp-config.h>
+ #include <inttypes.h>
+ 
++#if __FreeBSD__ < 5
++#define PRId32 "d"
++#endif
++
+ enum {
+     INFO,
+     NUM_COLUMNS
+@@ -111,6 +115,7 @@
+ }
+ 
+ static void find_instance_owners (void* object, void* tz) {
++	GtkTreeIter iter;
+     obj* o = (obj*)object;
+     tc* t = (tc*)tz;
+     cls* c = t->clz;
+@@ -121,7 +126,6 @@
+ 	    ((tc*)tz)->count += get_owners (o->obj_id) != NULL;
+ 	    return;
+ 	}
+-	GtkTreeIter iter;
+ 	gtk_tree_model_get_iter_first (GTK_TREE_MODEL (t->tree), &iter);
+ 	((tc*)tz)->count += list_owners (o->obj_id, 0, maxlevel, save, t->tree, &iter);
+     }
diff -Nru jmp-0.27/pkg-comment jmp/pkg-comment
--- jmp-0.27/pkg-comment	Wed Mar 26 22:04:04 2003
+++ jmp/pkg-comment	Thu Jan  1 01:00:00 1970
@@ -1 +0,0 @@
-Java Memory Profiler
--- jmp-0.28.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303262227.h2QMRgTd043464>