ports/148610: Submitting fix for math/emc2 port (size mismatch)

Jesse Smith jessefrgsmith at yahoo.ca
Thu Jul 15 14:30:09 UTC 2010


The following reply was made to PR ports/148610; it has been noted by GNATS.

From: Jesse Smith <jessefrgsmith at yahoo.ca>
To: Sahil Tandon <sahil at FreeBSD.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/148610: Submitting fix for math/emc2 port (size mismatch)
Date: Thu, 15 Jul 2010 11:26:26 -0300

 --=-LFnjm08C9jB51YNxbZjH
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: 7bit
 
 Please find attached a diff for my changes to the math/emc2 port. The
 diff was created with "diff -ur".
 
 I'm also attaching my "patch-makefile" which should be placed in emc2's
 patch "files" directory. The patch fixes a compiler error in the
 upstream package.
 
 - Jesse
 
 
 
 -----Original Message-----
 From: Sahil Tandon <sahil at FreeBSD.org>
 Reply-to: Sahil Tandon <sahil at FreeBSD.org>
 To: Jesse Smith <jessefrgsmith at yahoo.ca>
 Cc: bug-followup at FreeBSD.org
 Subject: Re: ports/148610: Submitting fix for math/emc2 port (size
 mismatch)
 Date: Wed, 14 Jul 2010 21:31:55 -0400
 
 Please send a unified diff instead of a shar.  See section 4.3 of the
 following article:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html
 
 
 --=-LFnjm08C9jB51YNxbZjH
 Content-Disposition: attachment; filename="diff_for_emc.patch"
 Content-Type: text/x-patch; name="diff_for_emc.patch"; charset="UTF-8"
 Content-Transfer-Encoding: 7bit
 
 diff -ur /usr/ports/math/emc2/Makefile emc2/Makefile
 --- /usr/ports/math/emc2/Makefile	2010-02-08 11:35:58.000000000 -0400
 +++ emc2/Makefile	2010-07-15 11:16:41.000000000 -0300
 @@ -2,15 +2,14 @@
  # Date created:        16 December 2003
  # Whom:                thierry at pompo.net
  #
 -# $FreeBSD: ports/math/emc2/Makefile,v 1.8 2008/06/13 08:30:57 itetcu Exp $
 +# $FreeBSD: ports/math/emc2/Makefile,v 1.9 2010/04/07 18:20:35 itetcu Exp $
  #
  
  PORTNAME=	emc2
  PORTVERSION=	2.15
 -PORTREVISION=	5
 +PORTREVISION=	6
  CATEGORIES=	math science
 -MASTER_SITES=	http://www-c.inria.fr/gamma/cdrom/ftp/emc2/ \
 -		http://www-rocq1.inria.fr/gamma/cdrom/ftp/emc2/
 +MASTER_SITES=	http://pauillac.inria.fr/cdrom_a_graver/ftp/emc2/
  DISTFILES=	${PORTNAME}${EXTRACT_SUFX}
  .if !defined(NOPORTDOCS)
  DISTFILES+=	${PORTNAME}-doc-en.ps.gz ${PORTNAME}-doc-fr.ps.gz
 @@ -22,6 +21,8 @@
  
  RESTRICTED=	No resale, contact author for commercial usage
  
 +# BROKEN=		size mismatch
 +
  WRKSRC=		${WRKDIR}/${PORTNAME}
  
  USE_XORG=	x11
 diff -ur /usr/ports/math/emc2/distinfo emc2/distinfo
 --- /usr/ports/math/emc2/distinfo	2010-02-08 11:35:58.000000000 -0400
 +++ emc2/distinfo	2010-07-15 11:16:41.000000000 -0300
 @@ -1,6 +1,6 @@
 -MD5 (emc2.tar.gz) = 37b45e0d948e196020488eb05e00a216
 -SHA256 (emc2.tar.gz) = bac5cb8cd97611034711169441d71f7b87b8e21a03a4a44b8547117d2e5bc551
 -SIZE (emc2.tar.gz) = 647354
 +MD5 (emc2.tar.gz) = f20c239649c5b3e054d09cd6335c8a97
 +SHA256 (emc2.tar.gz) = 1e61cf6c035e4af95c70ec39e76911fed98552beb1d4cec87f261ffabdff227c
 +SIZE (emc2.tar.gz) = 650540
  MD5 (emc2-doc-en.ps.gz) = 5056bcca5d12d2410c121778404ab40c
  SHA256 (emc2-doc-en.ps.gz) = a129d5821624dd8b0b91c811572f10081a1ec44acfd85e21cc5c2a54c737294a
  SIZE (emc2-doc-en.ps.gz) = 447045
 diff -ur /usr/ports/math/emc2/files/patch-Makefile emc2/files/patch-Makefile
 --- /usr/ports/math/emc2/files/patch-Makefile	2010-02-08 11:35:58.000000000 -0400
 +++ emc2/files/patch-Makefile	2010-07-15 11:16:41.000000000 -0300
 @@ -12,4 +12,3 @@
  +X11LIBDIR=$(LOCALBASE)/lib
   X11LIB= -L$(X11LIBDIR)  -lX11
   MATHLIB=  -lm
 - 
 Only in emc2/files: patch-makefile
 diff -ur /usr/ports/math/emc2/pkg-descr emc2/pkg-descr
 --- /usr/ports/math/emc2/pkg-descr	2010-02-08 11:35:58.000000000 -0400
 +++ emc2/pkg-descr	2010-07-15 11:16:41.000000000 -0300
 @@ -10,4 +10,4 @@
  
  Suggested add-on: the port math/bamg.
  
 -WWW: http://www-c.inria.fr/gamma/cdrom/www/emc2/eng.htm
 +WWW: http://pauillac.inria.fr/cdrom_a_graver/prog/unix/emc2/eng.htm
 
 --=-LFnjm08C9jB51YNxbZjH
 Content-Disposition: attachment; filename="patch-makefile"
 Content-Type: text/x-patch; name="patch-makefile"; charset="UTF-8"
 Content-Transfer-Encoding: 7bit
 
 --- Makefile.old	2010-07-14 21:07:54.000000000 -0300
 +++ Makefile	2010-07-14 21:08:00.000000000 -0300
 @@ -1,7 +1,7 @@
  #  pour la version francaise make
  #FRENCH =  -DFRENCH
  #  for hp9000s700 
 -CFLAGS=-O -D_HPUX_SOURCE $(FRENCH) +DA1.1
 +CFLAGS=-O -D_HPUX_SOURCE $(FRENCH) 
  CC=gcc
  #  for DEC ALPHA
  #
 
 --=-LFnjm08C9jB51YNxbZjH--
 
 



More information about the freebsd-ports-bugs mailing list