Package: libgphoto2
Severity: important
Version: 2.2.0-4
Tags: patch

Hi,

thanks for fixing dependencies for GNU/kFreeBSD.
Unfortunately, there is one more problem in libgphoto2 compared with previously tested 2.1.99-13.

In libgphoto2_port/serial/unix.c is unconditionally used variable "s",
but it is declared only under linux. Patch is bellow.

Please, could you also inform upstreeam about this problem.

Thanks in advance

                        Petr


--- libgphoto2_port/serial/unix.c~      2006-06-19 19:14:42.000000000 +0200
+++ libgphoto2_port/serial/unix.c       2006-06-19 19:14:42.000000000 +0200
@@ -307,9 +307,7 @@
        GPPortInfo info;
        char path[1024], prefix[1024];
         int x, fd;
-#ifdef __linux
         struct stat s;
-#endif
 #ifdef OS2
         int r, fh, option;
 #endif


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to