Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2008 20:00:09 GMT
From:      Karel Miklav <karel.miklav@siol.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/127011: lang/gnat-gcc43 fails to download distfile(s)
Message-ID:  <200809112000.m8BK09Q4041699@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/127011; it has been noted by GNATS.

From: Karel Miklav <karel.miklav@siol.net>
To: bug-followup@FreeBSD.org, siflfran@hawo.stw.uni-erlangen.de
Cc:  
Subject: Re: ports/127011: lang/gnat-gcc43 fails to download distfile(s)
Date: Thu, 11 Sep 2008 21:05:39 +0200

 This is a multi-part message in MIME format.
 --------------000400030905020309020803
 Content-Type: text/plain; charset=ISO-8859-2; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Here is a patch that will fix this issue and make
 the port build on 8.0. Tested on 7.0 and 8.0.
 
 Thank you for reporting.
 
 --------------000400030905020309020803
 Content-Type: text/plain;
  name="gnat-gcc43.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="gnat-gcc43.patch"
 
 diff -urN gnat-gcc43.orig/Makefile gnat-gcc43/Makefile
 --- gnat-gcc43.orig/Makefile	2008-07-26 12:08:52.000000000 +0200
 +++ gnat-gcc43/Makefile	2008-09-11 20:21:46.000000000 +0200
 @@ -8,15 +8,14 @@
  #
  
  PORTNAME=		gnat-gcc
 -PORTVERSION=		4.3.0
 -PORTREVISION=		3
 +PORTVERSION=		4.3.2
  CATEGORIES=		lang
 -MASTER_SITES=		GCC/snapshots/${versionstring} \
 +MASTER_SITES=		GCC/releases/gcc-${PORTVERSION} \
  			CENKES:boot \
  			http://lovetemple.net/data/:boot
 -DISTFILES=		gcc-core-${versionstring}${EXTRACT_SUFX} \
 -			gcc-ada-${versionstring}${EXTRACT_SUFX} \
 -			gcc-testsuite-${versionstring}${EXTRACT_SUFX} \
 +DISTFILES=		gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
 +			gcc-ada-${PORTVERSION}${EXTRACT_SUFX} \
 +			gcc-testsuite-${PORTVERSION}${EXTRACT_SUFX} \
  			gnat-gcc41-boot-${boot_stamp}.tbz:boot
  
  MAINTAINER=		karel@lovetemple.net
 @@ -55,15 +54,13 @@
  
  .include <bsd.port.pre.mk>
  
 -gcc_snapshot=		20071019
 -versionstring=		${PORTVERSION:C/\.[0-9]*$//}-${gcc_snapshot}
 -srcdir=			${WRKDIR}/gcc-${versionstring}
 +srcdir=			${WRKDIR}/gcc-${PORTVERSION}
  gcc_suffix=		43
  fsf_mans=		fsf-funding gfdl gpl
  fsf_suffix=		-${PORTNAME}${gcc_suffix}
  targlib=		${PREFIX}/lib/gcc-${PORTVERSION}
  gcc_link=		${PREFIX}/bin/gcc${gcc_suffix}/gcc
 -boot_stamp=		${ARCH}-freebsd-${OSREL:C/\.[0-9.]*//}
 +boot_stamp=		${ARCH}-freebsd-${OSREL:C/\.[0-9.]*//:S/8/7/}
  check_target=		check # XXX
  
  PATCH_WRKSRC=		${srcdir}
 diff -urN gnat-gcc43.orig/distinfo gnat-gcc43/distinfo
 --- gnat-gcc43.orig/distinfo	2007-11-06 10:08:20.000000000 +0100
 +++ gnat-gcc43/distinfo	2008-09-06 21:04:58.000000000 +0200
 @@ -1,12 +1,12 @@
 -MD5 (gcc-core-4.3-20071019.tar.bz2) = b7d7cffb1f35b929401e1bd849a22323
 -SHA256 (gcc-core-4.3-20071019.tar.bz2) = c1c227157b14e3154463c6cc5558edd9864fa0e0608f7114cf685aad93cfcc07
 -SIZE (gcc-core-4.3-20071019.tar.bz2) = 20950304
 -MD5 (gcc-ada-4.3-20071019.tar.bz2) = 1a525b0cdd4783dcca80ae6769d16235
 -SHA256 (gcc-ada-4.3-20071019.tar.bz2) = 606ebefaead8241c2de4617293e80f014494737616459e9949fa624f7f1c51f1
 -SIZE (gcc-ada-4.3-20071019.tar.bz2) = 5235149
 -MD5 (gcc-testsuite-4.3-20071019.tar.bz2) = 2f06cded11dabb6c76658ebb370c0073
 -SHA256 (gcc-testsuite-4.3-20071019.tar.bz2) = c061c08b6785795d4340a74efb3f13e7e4cc9280af8c5d20f7a6349000960823
 -SIZE (gcc-testsuite-4.3-20071019.tar.bz2) = 4392343
 +MD5 (gcc-core-4.3.2.tar.bz2) = dd8048b43d3d4e5595bcade47b9144c6
 +SHA256 (gcc-core-4.3.2.tar.bz2) = 0687e7279d78eb963ac34a3b06a0a6a1d1e9a26807ef4939cf4a2ad5f062e75a
 +SIZE (gcc-core-4.3.2.tar.bz2) = 23830073
 +MD5 (gcc-ada-4.3.2.tar.bz2) = de8adef319c83fbf40204d059f246444
 +SHA256 (gcc-ada-4.3.2.tar.bz2) = 98d112e1e0bdea5f520b08ea352931fd353085628d12cb9553d5794cb43e8c26
 +SIZE (gcc-ada-4.3.2.tar.bz2) = 5291314
 +MD5 (gcc-testsuite-4.3.2.tar.bz2) = 7f35f0db95c97ff67f8b937ecc809ff0
 +SHA256 (gcc-testsuite-4.3.2.tar.bz2) = 6e8d19c6f3df3b62f8541e7dbe8ff5514615e7c94adeec7931888cb0441c82c2
 +SIZE (gcc-testsuite-4.3.2.tar.bz2) = 4578554
  MD5 (gnat-gcc41-boot-i386-freebsd-4.tbz) = a9848cbeb6a0dca57cbe312e1546b79e
  SIZE (gnat-gcc41-boot-i386-freebsd-4.tbz) = 11508394
  MD5 (gnat-gcc41-boot-i386-freebsd-5.tbz) = e439eaefcafdf6056896a16a89671a9e
 diff -urN gnat-gcc43.orig/pkg-descr gnat-gcc43/pkg-descr
 --- gnat-gcc43.orig/pkg-descr	2007-05-03 14:39:12.000000000 +0200
 +++ gnat-gcc43/pkg-descr	2008-09-10 23:56:55.000000000 +0200
 @@ -1,6 +1,6 @@
 -The GNU Ada compiler system built from GCC 4.2.0.
 +The GNU Ada compiler system built from GCC 4.3.2.
  
 -Please add ${PREFIX}/bin/gcc42 to your PATH variable
 +Please add ${PREFIX}/bin/gcc43 to your PATH variable
  before using this port.
  
  WWW: http://gcc.gnu.org/
 
 --------------000400030905020309020803--



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