Package: crack-attack
Version: 1.1.14-1
Severity: grave
Tags: patch
Justification: renders package unusable

Hi,

Crack-attack won't launch anymore:

% crack-attack --solo
Crack Attack! v1.1.14
freeglut  ERROR:  Function <glutCreateWindow> called without first
calling 'glutInit'.

The attached patch seems to fix the issue.

Thanks,

Samuel.

BTW: the package is not lintian clean!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages crack-attack depends on:
ii  freeglut3                 2.4.0-2        OpenGL Utility Toolkit
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.5-7        GNU C Library: Shared libraries an
ii  libgcc1                   1:4.0.2-2      GCC support library
ii  libglib2.0-0              2.8.3-1        The GLib library of C routines
ii  libglu1-xorg [libglu1]    6.8.2.dfsg.1-9 Mesa OpenGL utility library [X.Org
ii  libgtk2.0-0               2.6.10-1       The GTK+ graphical user interface 
ii  libice6                   6.8.2.dfsg.1-9 Inter-Client Exchange library
ii  libpango1.0-0             1.8.2-3        Layout and rendering of internatio
ii  libsm6                    6.8.2.dfsg.1-9 X Window System Session Management
ii  libstdc++6                4.0.2-2        The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-9 X Window System protocol client li
ii  libxi6                    6.8.2.dfsg.1-9 X Window System Input extension li
ii  libxmu6                   6.8.2.dfsg.1-9 X Window System miscellaneous util
ii  xlibmesa-gl [libgl1]      6.8.2.dfsg.1-9 Mesa 3D graphics library [X.Org]
ii  xlibs                     6.8.2.dfsg.1-9 X Window System client libraries m

crack-attack recommends no packages.

-- no debconf information
--- crack-attack-1.1.14.orig/src/Attack.cxx
+++ crack-attack-1.1.14/src/Attack.cxx
@@ -73,6 +73,7 @@
 int main ( int argc, char **argv )
 {
   setupLocalDataDirectory();
+  glutInit(&argc, argv);
 #ifdef WANT_GTK
   if (argc <= 1) return gui_main(argc, argv);
 #endif

Reply via email to