tags 421075 +patch
thanks
Hello Peter,
I prepared a little NMU for this issue but I didn't upload it since I
get also many lintian errors and I don't have enought time to fix all
the stuff... And I don't like to NMU libraries, I don't want to break to
much :-)
So here I attached the patch which will maybe help you, I hope you will
fix your package soon.
Regards,
--
.''`. Mario Iseli <[EMAIL PROTECTED]>
: :' : proud user of Debian unstable
`. `'`
`- Debian - when you have better things to do than fixing a system
diff -Naur libdc1394-1.1.0.old/debian/changelog libdc1394-1.1.0/debian/changelog
--- libdc1394-1.1.0.old/debian/changelog 2007-05-17 20:09:14.000000000
+0200
+++ libdc1394-1.1.0/debian/changelog 2007-05-17 20:09:24.000000000 +0200
@@ -1,3 +1,11 @@
+libdc1394 (1.1.0-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload during BSP.
+ * Substitute CLK_TCK with CLOCKS_PER_SEC in examples/grab_partial_image.c to
+ avoid FTBFS (Closes: #421075).
+
+ -- Mario Iseli <[EMAIL PROTECTED]> Thu, 17 May 2007 20:07:18 +0200
+
libdc1394 (1.1.0-3) unstable; urgency=low
* Updated X11 library dependencies (Closes: #347022)
diff -Naur libdc1394-1.1.0.old/examples/grab_partial_image.c
libdc1394-1.1.0/examples/grab_partial_image.c
--- libdc1394-1.1.0.old/examples/grab_partial_image.c 2004-11-22
07:05:14.000000000 +0100
+++ libdc1394-1.1.0/examples/grab_partial_image.c 2007-05-17
20:09:24.000000000 +0200
@@ -213,7 +213,7 @@
/*---------------------------------------------------------------------
* output elapsed time
*---------------------------------------------------------------------*/
- elapsed_time = (float)(times(&tms_buf) - start_time) / CLK_TCK;
+ elapsed_time = (float)(times(&tms_buf) - start_time) / CLOCKS_PER_SEC;
printf( "got frame %d. elapsed time: %g sec ==> %g frames/second\n",
i, elapsed_time, (float)i / elapsed_time);
}