Package: nxtvepg
Version: 2.7.6-1
Severity: serious
Tags: patch
Justification: no longer builds from source

nxtvepg 2.8.0 needs the attached patch to work with thread-enabled
tcl/tk 8.5. Without the patch it will crash at startup with SIGSEGV.
The patch was created by nxtvepg upstream author.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1-3enrico
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nxtvepg depends on:
ii  libc6                         2.7-5      GNU C Library: Shared libraries
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxmu6                       1:1.0.3-1  X11 miscellaneous utility library
ii  tcl8.5                        8.5.0-2    Tcl (the Tool Command Language) v8
ii  tk8.5                         8.5.0-1    Tk toolkit for Tcl and X11, v8.5 -

nxtvepg recommends no packages.

-- no debconf information
--- /tmp/nxtvepg-2.8.0/epgui/epgmain.c	2007-12-31 17:34:42.000000000 +0100
+++ epgui/epgmain.c	2008-01-13 18:31:35.976371505 +0100
@@ -2163,15 +2163,15 @@ int main( int argc, char *argv[] )

    if ( IS_GUI_MODE(mainOpts) || IS_DUMP_MODE(mainOpts) )
    {
+      // initialize Tcl interpreter and compile all scripts
+      // Tk is only initialized if a GUI will be opened
+      ui_init(argc, argv, IS_GUI_MODE(mainOpts));
+
       #ifndef WIN32
       exitAsyncHandler = Tcl_AsyncCreate(AsyncHandler_AppTerminate, NULL);
       signalAsyncHandler = Tcl_AsyncCreate(AsyncHandler_Signalled, NULL);
       #endif

-      // initialize Tcl interpreter and compile all scripts
-      // Tk is only initialized if a GUI will be opened
-      ui_init(argc, argv, IS_GUI_MODE(mainOpts));
-
       encIso88591 = Tcl_GetEncoding(interp, "iso8859-1");

       RcFile_Init();

Reply via email to