pkgsrc/multimedia/gxine/patches/patch-bb
drochner 571d97041a update to 0.5.904
changes:
-bugfixes

pkgsrc note: I've disabled console output redirection into a log
window because it doesn't work on NetBSD. Is something like
"stdout = fdopen(blah)" legal?
2009-04-17 16:51:07 +00:00

38 lines
941 B
Text

$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;