diff options
author | ahze <ahze@FreeBSD.org> | 2005-08-29 10:38:14 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-08-29 10:38:14 +0800 |
commit | 5048c326fce2e684cc32ac6ecb2a461668afa909 (patch) | |
tree | 5a8bd6516a53a3ad024d1b31c5dbad16d77289f2 /audio | |
parent | 67d9532d056655bdc0440452895b8624e0c9622a (diff) | |
download | freebsd-ports-gnome-5048c326fce2e684cc32ac6ecb2a461668afa909.tar.gz freebsd-ports-gnome-5048c326fce2e684cc32ac6ecb2a461668afa909.tar.zst freebsd-ports-gnome-5048c326fce2e684cc32ac6ecb2a461668afa909.zip |
- Update to 1.4.3
PR: ports/85374
Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mhwaveedit/Makefile | 2 | ||||
-rw-r--r-- | audio/mhwaveedit/distinfo | 4 | ||||
-rw-r--r-- | audio/mhwaveedit/files/patch-src-filetypes.c | 45 |
3 files changed, 44 insertions, 7 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile index 1fd78ea2f26d..44ce6b578794 100644 --- a/audio/mhwaveedit/Makefile +++ b/audio/mhwaveedit/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mhwaveedit -PORTVERSION= 1.4.2 +PORTVERSION= 1.4.3 CATEGORIES= audio MASTER_SITES= http://download.gna.org/mhwaveedit/ diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo index d2c86e83dfc9..34946cfde135 100644 --- a/audio/mhwaveedit/distinfo +++ b/audio/mhwaveedit/distinfo @@ -1,2 +1,2 @@ -MD5 (mhwaveedit-1.4.2.tar.bz2) = 0139741165af149d3d014d3fecbb4cbd -SIZE (mhwaveedit-1.4.2.tar.bz2) = 375874 +MD5 (mhwaveedit-1.4.3.tar.bz2) = faa12cb041bf96d1328bc65014ad9635 +SIZE (mhwaveedit-1.4.3.tar.bz2) = 378437 diff --git a/audio/mhwaveedit/files/patch-src-filetypes.c b/audio/mhwaveedit/files/patch-src-filetypes.c index 7b3950220dae..47eea84a3f24 100644 --- a/audio/mhwaveedit/files/patch-src-filetypes.c +++ b/audio/mhwaveedit/files/patch-src-filetypes.c @@ -1,5 +1,5 @@ ---- src/filetypes.c.orig Wed Jul 13 07:44:46 2005 -+++ src/filetypes.c Thu Jul 14 01:59:03 2005 +--- src/filetypes.c.orig Sat Aug 13 02:01:54 2005 ++++ src/filetypes.c Sat Aug 13 15:45:17 2005 @@ -97,15 +97,6 @@ return FALSE; } @@ -16,7 +16,7 @@ static void register_file_type(gchar *name, gchar *ext, gboolean (*typecheck)(gchar *filename), Chunk *(*load)(gchar *filename, -@@ -922,7 +913,7 @@ +@@ -927,7 +918,7 @@ b = pipe_dialog_send_chunk(y,c,FALSE,dither_mode,bar); g_free(c); if (x != NULL) gtk_object_sink(GTK_OBJECT(x)); @@ -25,7 +25,7 @@ if (b || !file_exists(filename)) { *fatal = TRUE; return TRUE; -@@ -980,7 +971,7 @@ +@@ -985,7 +976,7 @@ gtk_object_sink(GTK_OBJECT(x)); } } @@ -34,3 +34,40 @@ if (b || !file_exists(filename)) { *fatal = TRUE; return TRUE; +@@ -999,7 +990,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); +@@ -1008,20 +1003,16 @@ + if (xputenv(c)) { g_free(d); g_free(c); g_free(tempname); return NULL; } + if (xputenv(d)) { + g_free(d); +- if (!xunsetenv("OUTFILE")) ++ if (!xputenv("OUTFILE")) + g_free(c); + 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); + +- if (!xunsetenv("OUTFILE")) g_free(c); +- if (!xunsetenv("INFILE")) g_free(d); ++ if (!xputenv("OUTFILE")) g_free(c); ++ if (!xputenv("INFILE")) g_free(d); + g_free(tempname); + + return x; |