always pass localized messages in UTF-8 to GTK+; bug reported by landry@
This commit is contained in:
parent
028808fd21
commit
16b39b141b
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2009/08/10 06:29:52 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2009/10/12 19:13:05 naddy Exp $
|
||||
|
||||
COMMENT= full-screen ncurses or GTK-based audio mixer
|
||||
|
||||
DISTNAME= aumix-2.8
|
||||
PKGNAME= ${DISTNAME}p9
|
||||
PKGNAME= ${DISTNAME}p10
|
||||
CATEGORIES= audio
|
||||
|
||||
HOMEPAGE= http://jpj.net/~trevor/aumix.html
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-doc_aumix_1,v 1.2 2000/07/13 23:16:07 naddy Exp $
|
||||
--- doc/aumix.1.orig Tue Jul 11 01:42:56 2000
|
||||
+++ doc/aumix.1 Tue Jul 11 01:47:09 2000
|
||||
@@ -210,43 +210,6 @@ refresh screen
|
||||
$OpenBSD: patch-doc_aumix_1,v 1.3 2009/10/12 19:13:06 naddy Exp $
|
||||
--- doc/aumix.1.orig Sat Sep 7 11:12:32 2002
|
||||
+++ doc/aumix.1 Mon Oct 12 20:33:55 2009
|
||||
@@ -211,43 +211,6 @@ refresh screen
|
||||
^Z, ^D and ^C also have their normal function (the screen is refreshed when
|
||||
.Nm
|
||||
is brought to the foreground).
|
||||
@ -45,7 +45,7 @@ $OpenBSD: patch-doc_aumix_1,v 1.2 2000/07/13 23:16:07 naddy Exp $
|
||||
.Sh ENVIRONMENT
|
||||
The
|
||||
.Ev HOME
|
||||
@@ -344,7 +307,5 @@ operating system, and the model of sound
|
||||
@@ -345,7 +308,5 @@ operating system, and the model of sound hardware is s
|
||||
to diagnose problems, so it is best if you include such details in
|
||||
any bug reports.
|
||||
.Sh SEE ALSO
|
||||
|
14
audio/aumix/patches/patch-src_common_c
Normal file
14
audio/aumix/patches/patch-src_common_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_common_c,v 1.1 2009/10/12 19:13:06 naddy Exp $
|
||||
--- src/common.c.orig Mon Oct 12 21:03:51 2009
|
||||
+++ src/common.c Mon Oct 12 21:04:53 2009
|
||||
@@ -216,6 +216,10 @@ int main(int argc, char *argv[])
|
||||
#if defined (HAVE_GTK) || defined (HAVE_GTK1)
|
||||
/* GTK+ stuff */
|
||||
if (interactive == IN_GTK) {
|
||||
+#ifdef HAVE_NLS
|
||||
+ bind_textdomain_codeset((char *) PACKAGE, "UTF-8");
|
||||
+#endif /* HAVE_NLS */
|
||||
+
|
||||
#ifndef DUMMY_MIXER
|
||||
if ((mixer_fd = open(device_filename, O_RDWR)) < 0)
|
||||
return EOPENMIX;
|
Loading…
Reference in New Issue
Block a user