Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 02:00:07 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105028: Update port: audio/mhwaveedit to 1.4.10
Message-ID:  <20061102020007.cb02c500.tkato432@yahoo.com>
Resent-Message-ID: <200611011710.kA1HAN2C022759@freefall.freebsd.org>

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

>Number:         105028
>Category:       ports
>Synopsis:       Update port: audio/mhwaveedit to 1.4.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 01 17:10:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p22 i386
>Organization:
>Environment:
>Description:
- Update to veresion 1.4.10

Remove file:
files/patch-src-dataformat.c
files/patch-src-filetypes.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/mhwaveedit/Makefile audio/mhwaveedit/Makefile
--- /usr/ports/audio/mhwaveedit/Makefile	Thu Sep 21 02:26:53 2006
+++ audio/mhwaveedit/Makefile	Sun Oct 29 21:14:08 2006
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	mhwaveedit
-PORTVERSION=	1.4.9
-PORTREVISION=	1
+PORTVERSION=	1.4.10
 CATEGORIES=	audio
 MASTER_SITES=	http://download.gna.org/mhwaveedit/
 
@@ -102,7 +101,6 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^AM_CFLAGS=|#AM_CFLAGS=|g ; \
-		 s|-ldl||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/AM_CFLAGS=/s|-g||g' ${WRKSRC}/configure
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/mhwaveedit/distinfo audio/mhwaveedit/distinfo
--- /usr/ports/audio/mhwaveedit/distinfo	Tue Aug 29 01:19:28 2006
+++ audio/mhwaveedit/distinfo	Sun Oct 29 12:41:16 2006
@@ -1,3 +1,3 @@
-MD5 (mhwaveedit-1.4.9.tar.bz2) = c581c53f35f658d03134146c87cd87de
-SHA256 (mhwaveedit-1.4.9.tar.bz2) = 1236b5bea0145e353a3851cfd12e93b47e1ba7329b733680ec69230afb211118
-SIZE (mhwaveedit-1.4.9.tar.bz2) = 465036
+MD5 (mhwaveedit-1.4.10.tar.bz2) = 9c68cebd8cda1471be5fb5784ae01a83
+SHA256 (mhwaveedit-1.4.10.tar.bz2) = 6e922725e8f834f06d41e06a05c0a71c7defa8f64022cb34e8e9c748baa4fe3f
+SIZE (mhwaveedit-1.4.10.tar.bz2) = 470288
diff -urN /usr/ports/audio/mhwaveedit/files/patch-src-dataformat.c audio/mhwaveedit/files/patch-src-dataformat.c
--- /usr/ports/audio/mhwaveedit/files/patch-src-dataformat.c	Mon Jul 18 06:28:13 2005
+++ audio/mhwaveedit/files/patch-src-dataformat.c	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- src/dataformat.c.orig	Wed Jul 13 07:44:46 2005
-+++ src/dataformat.c	Wed Jul 13 22:33:54 2005
-@@ -353,10 +353,10 @@
- 	  memcpy(outdata,indata,count*indata_format->samplesize);
-      } else if (indata_format->type == DATAFORMAT_PCM) {
- 	  if (outdata_format->type == DATAFORMAT_PCM) {
-+	       char *c;
- 	       /* PCM -> PCM conversion */
- 	       if (outdata_format->samplesize > indata_format->samplesize)
- 		    dither_mode = DITHER_NONE;
--	       char *c;
- 	       c = g_malloc(count * sizeof(sample_t));	       
- 	       convert_array(indata,indata_format,c,&dataformat_sample_t,
- 			     count,dither_mode);
diff -urN /usr/ports/audio/mhwaveedit/files/patch-src-filetypes.c audio/mhwaveedit/files/patch-src-filetypes.c
--- /usr/ports/audio/mhwaveedit/files/patch-src-filetypes.c	Tue Aug 29 01:19:28 2006
+++ audio/mhwaveedit/files/patch-src-filetypes.c	Thu Jan  1 09:00:00 1970
@@ -1,26 +0,0 @@
---- src/filetypes.c.orig	Tue Jul 25 05:06:59 2006
-+++ src/filetypes.c	Tue Aug 22 15:52:56 2006
-@@ -1258,7 +1258,11 @@
- static Chunk *try_mplayer(gchar *filename, int dither_mode, StatusBar *bar)
- {
-      gchar *c,*d;
--     char *tempname;
-+     gchar *tempname;
-+     gchar *argv[] = { "sh", "-c", 
-+		      "mplayer -quiet -noconsolecontrols "
-+		      "-ao \"pcm:file=$OUTFILE\" -vc dummy -vo null "
-+		      "\"$INFILE\"", NULL };
-      Chunk *x;
-      if (!program_exists("mplayer")) return NULL;
-      tempname = get_temp_filename(0);
-@@ -1272,10 +1276,6 @@
- 	  g_free(tempname);
- 	  return NULL; 
-      }
--     char *argv[] = { "sh", "-c", 
--		      "mplayer -quiet -noconsolecontrols "
--		      "-ao \"pcm:file=$OUTFILE\" -vc dummy -vo null "
--		      "\"$INFILE\"", NULL };
- 
-      x = run_decoder(filename,tempname,"sh",argv,dither_mode,bar);
- 
>Release-Note:
>Audit-Trail:
>Unformatted:



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