summaryrefslogtreecommitdiff
path: root/graphics/mplayer-share/patches/patch-ad
blob: 224247079e57999181b682cacca430d05d1d17f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ad,v 1.8 2003/12/12 22:09:02 wiz Exp $

--- mp_msg.c.orig	2003-09-12 17:46:16.000000000 +0200
+++ mp_msg.c
@@ -34,6 +34,7 @@ void mp_msg_init(){
 #ifdef MP_DEBUG
     fprintf(stdout, "Using GNU internationalization\n");
     fprintf(stdout, "Original domain: %s\n", textdomain(NULL));
+#if 0
     fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL));
 #endif
     setlocale(LC_ALL, ""); /* set from the environment variables */
@@ -41,9 +42,12 @@ void mp_msg_init(){
     textdomain("mplayer");
 #ifdef MP_DEBUG
     fprintf(stdout, "Current domain: %s\n", textdomain(NULL));
+#if 0
     fprintf(stdout, "Current dirname: %s\n\n", bindtextdomain(textdomain(NULL),NULL));
 #endif
 #endif
+#endif
+#endif
     mp_msg_set_level(MSGL_STATUS);
 }