diff options
Diffstat (limited to 'multimedia/gxine/patches/patch-bb')
-rw-r--r-- | multimedia/gxine/patches/patch-bb | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/multimedia/gxine/patches/patch-bb b/multimedia/gxine/patches/patch-bb index b89b56fb577..55b87b517fd 100644 --- a/multimedia/gxine/patches/patch-bb +++ b/multimedia/gxine/patches/patch-bb @@ -1,13 +1,38 @@ -$NetBSD: patch-bb,v 1.1 2008/09/03 17:47:03 drochner Exp $ +$NetBSD: patch-bb,v 1.2 2009/04/17 16:51:07 drochner Exp $ ---- ./src/console_output.c.orig 2008-09-03 12:15:36.000000000 +0200 -+++ ./src/console_output.c -@@ -78,7 +78,7 @@ console_output_init (void) +--- 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; |