summaryrefslogtreecommitdiff
path: root/multimedia/gxine/patches/patch-bb
blob: 55b87b517fda6a2c671ec3eb5a4392adb392cc7d (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
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-bb,v 1.2 2009/04/17 16:51:07 drochner Exp $

--- src/console_output.c.orig	2009-03-25 17:41:49.000000000 +0100
+++ src/console_output.c
@@ -28,7 +28,7 @@
 #include <stdint.h>
 #include <glib.h>
 
-#ifdef GXINE_CLIENT
+#if 1
 /* defines & functions for gxine_client */
 
 # define STDOUT stdout
@@ -139,7 +139,7 @@ xlate_g_printerr (const char *text)
   console_unlock ();
 }
 
-#ifndef GXINE_CLIENT
+#if 0
 static void * __attribute__ ((noreturn))
 console_log_captured (void *data)
 {
@@ -185,13 +185,13 @@ console_output_init (void)
   const char *cset;
 
   g_get_charset (&cset);
-  char *dest = g_strconcat (cset, "//TRANSLIT", NULL);
+  char *dest = g_strconcat (cset, /*"//TRANSLIT",*/ NULL);
   xlate = g_iconv_open (dest, "utf-8");
   g_free (dest);
   g_set_print_handler (xlate_g_print);
   g_set_printerr_handler (xlate_g_printerr);
 
-#ifndef GXINE_CLIENT
+#if 0
   int i;
   FILE *newfd[2];
   pthread_t thread;