aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-28 20:29:14 +0800
committermiwi <miwi@FreeBSD.org>2006-08-28 20:29:14 +0800
commit4461f7b04eea8ae4e628270f1c7a5aa66e251e01 (patch)
treefbf90f90aa95260f58efb920a16f4f1ed4601b7f
parent264c83442a4578f70ce12faa3cf5ba1c5e805772 (diff)
downloadfreebsd-ports-gnome-4461f7b04eea8ae4e628270f1c7a5aa66e251e01.tar.gz
freebsd-ports-gnome-4461f7b04eea8ae4e628270f1c7a5aa66e251e01.tar.zst
freebsd-ports-gnome-4461f7b04eea8ae4e628270f1c7a5aa66e251e01.zip
- Update to 1.4.9
PR: ports/102580 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--audio/mhwaveedit/Makefile3
-rw-r--r--audio/mhwaveedit/distinfo6
-rw-r--r--audio/mhwaveedit/files/patch-src-filetypes.c55
3 files changed, 9 insertions, 55 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index 2246a80961b5..0b181a4a9857 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mhwaveedit
-PORTVERSION= 1.4.8
+PORTVERSION= 1.4.9
CATEGORIES= audio
MASTER_SITES= http://download.gna.org/mhwaveedit/
@@ -24,6 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --disable-optimization --without-alsalib
PLIST_FILES= bin/mhwaveedit \
+ share/locale/de/LC_MESSAGES/mhwaveedit.mo \
share/locale/es/LC_MESSAGES/mhwaveedit.mo \
share/locale/fr/LC_MESSAGES/mhwaveedit.mo \
share/locale/ru/LC_MESSAGES/mhwaveedit.mo \
diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo
index ef408c738074..abc8ded344c5 100644
--- a/audio/mhwaveedit/distinfo
+++ b/audio/mhwaveedit/distinfo
@@ -1,3 +1,3 @@
-MD5 (mhwaveedit-1.4.8.tar.bz2) = 447bb2421bf7c09c0960134bab910cf7
-SHA256 (mhwaveedit-1.4.8.tar.bz2) = 183ec49b48164047eab1e3f3d5c171b68b33340fff8439883fcb3da80bc4dc5d
-SIZE (mhwaveedit-1.4.8.tar.bz2) = 437386
+MD5 (mhwaveedit-1.4.9.tar.bz2) = c581c53f35f658d03134146c87cd87de
+SHA256 (mhwaveedit-1.4.9.tar.bz2) = 1236b5bea0145e353a3851cfd12e93b47e1ba7329b733680ec69230afb211118
+SIZE (mhwaveedit-1.4.9.tar.bz2) = 465036
diff --git a/audio/mhwaveedit/files/patch-src-filetypes.c b/audio/mhwaveedit/files/patch-src-filetypes.c
index 5f3c912ecb05..99d465b7b0c4 100644
--- a/audio/mhwaveedit/files/patch-src-filetypes.c
+++ b/audio/mhwaveedit/files/patch-src-filetypes.c
@@ -1,40 +1,6 @@
---- src/filetypes.c.orig Sat Jan 14 22:39:51 2006
-+++ src/filetypes.c Sun Jan 29 12:48:53 2006
-@@ -104,15 +104,6 @@
- return FALSE;
- }
-
--static gboolean xunsetenv(char *varname)
--{
-- if (unsetenv(varname) != 0) {
-- console_message(_("unsetenv failed!"));
-- return TRUE;
-- }
-- return FALSE;
--}
--
- static struct file_type *register_file_type
- (gchar *name, gchar *ext, gboolean lossy,
- gboolean (*typecheck)(gchar *filename),
-@@ -971,7 +962,7 @@
- b = pipe_dialog_send_chunk(y,c,FALSE,dither_mode,bar);
- g_free(c);
- if (x != NULL) gtk_object_sink(GTK_OBJECT(x));
-- if (!xunsetenv("OUTFILE")) g_free(d);
-+ if (!xputenv("OUTFILE")) g_free(d);
- if (b || !file_exists(filename)) {
- *fatal = TRUE;
- return TRUE;
-@@ -1240,7 +1231,7 @@
- gtk_object_sink(GTK_OBJECT(x));
- }
- }
-- if (!xunsetenv("OUTFILE")) g_free(c);
-+ if (!xputenv("OUTFILE")) g_free(c);
- if (b || !file_exists(filename)) {
- *fatal = TRUE;
- return TRUE;
-@@ -1254,7 +1245,11 @@
+--- 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;
@@ -47,13 +13,7 @@
Chunk *x;
if (!program_exists("mplayer")) return NULL;
tempname = get_temp_filename(0);
-@@ -1263,20 +1258,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);
+@@ -1272,10 +1276,6 @@
g_free(tempname);
return NULL;
}
@@ -64,10 +24,3 @@
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;