pkgsrc/graphics/unicap/patches/patch-ar
jmcneill ab26aff16f Update unicap to 0.9.3.
0.9.3:
- optionally use libv4l to support more cameras
- fix installation directory of plugins for x64 systems
- fix scaling of ogg/theora video
- use categories for v4l2 properties

0.9.2:
- Severall small bug fixes and improvements ( see ChangeLog )
- The EeePC packages got updated
2009-01-08 01:08:37 +00:00

23 lines
442 B
Text

$NetBSD: patch-ar,v 1.2 2009/01/08 01:08:37 jmcneill Exp $
--- libunicapgtk/unicapgtk_device_property.c.orig 2008-08-06 12:37:54.000000000 -0400
+++ libunicapgtk/unicapgtk_device_property.c
@@ -49,7 +49,17 @@
#endif
#include "debug.h"
+#ifdef __NetBSD__
+double
+fmin(double a, double b)
+{
+ if (b < a)
+ return b;
+ return a;
+}
+#else
double fmin(double,double);
+#endif
enum {
UNICAPGTK_DEVICE_PROPERTY_CHANGED_SIGNAL,