Browse Source

libdc1394: Updated (1.2.1 -> 2.1.2)

user/chris/test/early-mdev
Aldas Nabazas 14 years ago
parent
commit
3e6eb62f39
  1. 27
      multimedia/libdc1394/example-clock-def.patch
  2. 6
      multimedia/libdc1394/libdc1394.desc

27
multimedia/libdc1394/example-clock-def.patch

@ -1,27 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libdc1394/example-clock-def.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- libdc1394-1.0.0/examples/grab_partial_image.c.orig 2006-01-22 16:58:25.000000000 +0200
+++ libdc1394-1.0.0/examples/grab_partial_image.c 2006-01-22 16:59:27.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);
}

6
multimedia/libdc1394/libdc1394.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../libdc1394/libdc1394.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2010 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -31,10 +31,10 @@
[L] GPL
[S] Stable
[V] 1.2.1
[V] 2.1.2
[P] X -----5---9 179.500
[O] export libsuff=${libdir##*/lib}
[D] 521176439 libdc1394-1.2.1.tar.gz http://dl.sourceforge.net/sourceforge/libdc1394/
[D] 1197328745 libdc1394-2.1.2.tar.gz http://dl.sourceforge.net/sourceforge/libdc1394/

Loading…
Cancel
Save