From nb_root@videotron.ca  Tue Aug 24 17:23:40 2004
Return-Path: <nb_root@videotron.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DA9C916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2004 17:23:40 +0000 (GMT)
Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AD57343D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2004 17:23:40 +0000 (GMT)
	(envelope-from nb_root@videotron.ca)
Received: from _HOSTNAME_ ([24.202.81.117]) by VL-MO-MR010.ip.videotron.ca
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with SMTP id <0I2Y001NEQZN77@VL-MO-MR010.ip.videotron.ca> for
 FreeBSD-gnats-submit@freebsd.org; Tue, 24 Aug 2004 13:21:23 -0500 (EST)
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue,
 24 Aug 2004 13:20:16 -0400
Message-Id: <0I2Y001NFQZN77@VL-MO-MR010.ip.videotron.ca>
Date: Tue, 24 Aug 2004 13:20:16 -0400
From: Nicolas Blais <nb_root@videotron.ca>
Reply-To: Nicolas Blais <nicblais@videotron.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc: holger@e-gitt.net
Subject: Mldonkey-core 2.5.21 port does not compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70906
>Category:       ports
>Synopsis:       net/mldonkey-core 2.5.21 port does not compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 17:30:09 GMT 2004
>Closed-Date:    Sun Sep 19 17:32:38 GMT 2004
>Last-Modified:  Sun Sep 19 17:32:38 GMT 2004
>Originator:     Nicolas Blais
>Release:        FreeBSD 5.3-BETA1 i386
>Organization:
>Environment:
System: FreeBSD clk01 5.3-BETA1 FreeBSD 5.3-BETA1 #2: Sun Aug 22 15:41:05 EDT 2004 root@clk01:/usr/obj/usr/src/sys/AOPEN i386

>Description:
When compiling mldonkey-core, with all its dependencies installed such as ocaml-3.08.1, it stops during the build of tools/zoggy.

===>  Building for mldonkey-core-2.5.21
/usr/local/bin/ocamlc.opt -I tools/zoggy -I +camlp4 -pp "camlp4 pa_o.cmo pr_dump
.cmo" -a -o pa_zog.cma  tools/zoggy/zog_types.ml tools/zoggy/zog_messages.ml too
ls/zoggy/zog_misc.ml tools/zoggy/pa_zog.ml
File "tools/zoggy/pa_zog.ml", line 502, characters -72--44:
use of antiquotation syntax deprecated since version 3.05
File "tools/zoggy/pa_zog.ml", line 42, characters 40-41:
This expression has type int but is here used with type Lexing.position
gmake: *** [pa_zog.cma] Error 2
*** Error code 2

Stop in /usr/ports/net/mldonkey-core.

>How-To-Repeat:
	/usr/ports/net/mldonkey-core# make install
>Fix:
	no fix known.

>Release-Note:
>Audit-Trail:

From: Nicolas Blais <nicblais@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/70906: Mldonkey-core 2.5.21 port does not compile
Date: Tue, 24 Aug 2004 21:02:18 -0400

 My email is nb_root@videotron.ca, not what is shown in the originator.
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Aug 31 04:49:30 GMT 2004 
State-Changed-Why:  
Does the maintainer see this same problem? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70906 

From: Nicolas Blais <nb_root@videotron.ca>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/70906: Mldonkey-core 2.5.21 port does not compile
Date: Sun, 05 Sep 2004 10:55:12 -0400

 The problem is that this version of mldonkey doesn't compile with ocaml 3.08.  
 
 A patch has been applied to the source as seen on :
 http://savannah.nongnu.org/cgi-bin/viewcvs/*checkout*/mldonkey/mldonkey/distrib/ChangeLog?rev=HEAD&content-type=text/plain
 to make it compile with ocaml 3.08.
 
 Then when the newest version of mldonkey (currently  2.5.28 = 2.6pre10) makes 
 it to the ports, it will compile.
 
 Nicolas.

From: Holger Lamm <holger@e-gitt.net>
To: freebsd-gnats-submit@FreeBSD.org, nicblais@videotron.ca
Cc:  
Subject: Re: ports/70906: net/mldonkey-core 2.5.21 port does not compile
Date: Wed, 08 Sep 2004 22:13:43 +0200

  > Then when the newest version of mldonkey (currently  2.5.28 = 2.6pre10) makes
  > it to the ports, it will compile.
 
 It there a reasonable way for that? Unfortunately, there is no source package
 to download anywhere, only CVS.
 
 A diff between 2.5.22 and 2.5.28 is 260kB zipped;
 I'm actually trying to make 2.5.28 compile.
 
 Regards,
 Holger

From: Holger Lamm <holger@e-gitt.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/70906: net/mldonkey-core 2.5.21 port does not compile
Date: Thu, 09 Sep 2004 00:12:42 +0200

 Okay, I've got 2.5.28 running here.
 
 Is there a possibility to host the 260kB patch somewhere? On freebsd.org maybe? I can't.
 It's under GNU, so no legal problems.
 
 The Changelog says it should work with ocaml 3.08 starting revision 2.5.23, I can
 try to reduce the diff by that...
 
 Thanks,
 Holger

From: Holger Lamm <holger@e-gitt.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: nicblais@videotron.ca, freebsd-ports@freebsd.org
Subject: Re: ports/70906: net/mldonkey-core 2.5.21 port does not compile
Date: Mon, 13 Sep 2004 23:21:59 +0200

 Okay, I'm done with that with 2.5.23; the patch is 88kB and I'll put that
 on my own website hoping it won't blast it off.
 
 Regards,
 Holger
 --------------------------------- snip ----------------------------------
 diff -Nur mldonkey.orig/Makefile mldonkey/Makefile
 --- mldonkey.orig/Makefile	Mon Sep 13 23:14:58 2004
 +++ mldonkey/Makefile	Mon Sep 13 23:16:10 2004
 @@ -6,11 +6,14 @@
  #
  
  PORTNAME=	mldonkey
 -PORTVERSION=	2.5.21
 +PORTVERSION=	2.5.23
 +DOWNLOADVERSION=2.5.22
  CATEGORIES+=	net
  MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 +PATCH_SITES=	http://www.schraegerpunkt.de/
  MASTER_SITE_SUBDIR=	${PORTNAME}
 -DISTNAME=	${PORTNAME}-${PORTVERSION}
 +DISTNAME=	${PORTNAME}-${DOWNLOADVERSION}
 +PATCHFILES=	mldonkey-${DOWNLOADVERSION}-${PORTVERSION:C/.+\.//}.patch.gz
  
  MAINTAINER?=	holger@e-gitt.net
  COMMENT?=	A OCAML client for multiple peer-to-peer networks
 @@ -19,7 +22,7 @@
  
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--enable-pthread --enable-ocamlver=3
 -WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +WRKSRC=		${WRKDIR}/${PORTNAME}-${DOWNLOADVERSION}
  USE_GMAKE=	yes
  ALL_TARGET=	depend opt
  
 @@ -34,6 +37,7 @@
  .else
  PLIST_SUB+=	GUI=""
  BUILD_DEPENDS+=	lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
 +		autoconf213:${PORTSDIR}/devel/autoconf213 \
  		${LOCALBASE}/lib/ocaml/jabbr.cma:${PORTSDIR}/net/ocaml-jabbr
  # we don't need lablgtk as RUN dependency, but we need gtk+glib
  USE_GNOME=	gtk12
 @@ -53,6 +57,9 @@
  	@${ECHO_MSG} "You can disable the GUI by defining WITHOUT_GUI."
  	@${ECHO_MSG} "You can disable the CORE by defining WITHOUT_CORE."
  .endif
 +
 +pre-configure:
 +	@cd ${WRKSRC}/config && ${AUTOCONF}
  
  post-patch:
  	@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
 diff -Nur mldonkey.orig/distinfo mldonkey/distinfo
 --- mldonkey.orig/distinfo	Mon Sep 13 23:14:58 2004
 +++ mldonkey/distinfo	Mon Sep 13 22:47:40 2004
 @@ -1,2 +1,4 @@
 -MD5 (mldonkey-2.5.21.tar.gz) = 8a96738990f8ffc36eeb2c1f2f655826
 -SIZE (mldonkey-2.5.21.tar.gz) = 3234137
 +MD5 (mldonkey-2.5.22.tar.gz) = 958ffb63dbcfcb0f6e48788774dfbb42
 +SIZE (mldonkey-2.5.22.tar.gz) = 3474104
 +MD5 (mldonkey-2.5.22-23.patch.gz) = 091c77f0dd29be7443ac62e99cc41dc0
 +SIZE (mldonkey-2.5.22-23.patch.gz) = 88210
 diff -Nur mldonkey.orig/files/patch-Makefile mldonkey/files/patch-Makefile
 --- mldonkey.orig/files/patch-Makefile	Thu Jan  1 01:00:00 1970
 +++ mldonkey/files/patch-Makefile	Wed Sep  8 22:55:10 2004
 @@ -0,0 +1,11 @@
 +--- Makefile.orig	Wed Sep  8 22:54:44 2004
 ++++ Makefile	Wed Sep  8 22:54:54 2004
 +@@ -258,7 +258,7 @@
 + all: Makefile config/Makefile.config $(TARGET_TYPE)
 + 
 + config/configure: config/configure.in
 +-	cd config; autoconf
 ++	cd config; autoconf213
 + 
 + ifeq ("$(MYCONFIG_ARGS_DEFINED)" , "yes")
 + 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Sun Sep 19 11:09:24 GMT 2004 
State-Changed-Why:  
Feedback received. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Sep 19 11:09:24 GMT 2004 
Responsible-Changed-Why:  
Poke. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70906 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Sep 19 17:32:30 GMT 2004 
State-Changed-Why:  
Fix committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70906 
>Unformatted:
