Package: camorama
Version: 0.19-1
Severity: low
Usertags: origin-ubuntu gutsy hardy

Hi,

camorama suffers from a segmentation fault when asked to report its version:

[EMAIL PROTECTED]:~/camorama$ camorama -V
Segmentation fault (core dumped)

It seems that the program is incorrectly using the VERSION macro, which is 
used as a string, while the PACKAGE_VERSION one should be used.
 
The attached patch solves this problem, and is submitted for your 
consideration.

Additionally, the libgtk2.0-dev Build-Depends is not versioned, while >= 2.10 
is required (this is really a wish to be explicitly compliant to upstream 
requirements).

Many thanks,

Cesare
diff -Nur camorama-0.19/src/main.c camorama-0.19.new/src/main.c
--- camorama-0.19/src/main.c	2007-07-20 13:13:51.000000000 +0200
+++ camorama-0.19.new/src/main.c	2007-07-20 13:14:44.000000000 +0200
@@ -101,7 +101,7 @@
     glade_gnome_init ();
 
     if (ver) {
-        fprintf (stderr, _("\n\nCamorama version %s\n\n"), VERSION);
+        fprintf (stderr, _("\n\nCamorama version %s\n\n"), PACKAGE_VERSION);
         exit (0);
     }
     if (max) {

Reply via email to