aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/cheese/files
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-02-09 04:14:49 +0800
committerkwm <kwm@FreeBSD.org>2013-02-09 04:14:49 +0800
commit6880f040d4d16088d47d038a7a122df53ed9556f (patch)
tree01a9b9da5c30c85346d3990f699477affab149e9 /multimedia/cheese/files
parente8c761f8909c8c0e0401e9a7d63df6217eb3c6ac (diff)
downloadfreebsd-ports-gnome-6880f040d4d16088d47d038a7a122df53ed9556f.tar.gz
freebsd-ports-gnome-6880f040d4d16088d47d038a7a122df53ed9556f.tar.zst
freebsd-ports-gnome-6880f040d4d16088d47d038a7a122df53ed9556f.zip
Fix build with clang.
PR: ports/174434 Submitted by: rm@
Diffstat (limited to 'multimedia/cheese/files')
-rw-r--r--multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c b/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c
index 8604c237799c..628066e47775 100644
--- a/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c
+++ b/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c
@@ -1,5 +1,5 @@
---- libcheese/cheese-camera-device-monitor.c.orig 2010-08-16 23:00:43.000000000 +0200
-+++ libcheese/cheese-camera-device-monitor.c 2010-08-18 09:51:48.000000000 +0200
+--- libcheese/cheese-camera-device-monitor.c.orig 2010-09-27 09:54:58.000000000 +0000
++++ libcheese/cheese-camera-device-monitor.c 2013-02-08 19:52:15.000000000 +0000
@@ -24,24 +24,11 @@
#endif
@@ -54,12 +54,12 @@
} CheeseCameraDeviceMonitorPrivate;
enum
-@@ -102,111 +87,77 @@ cheese_camera_device_monitor_error_quark
+@@ -102,111 +87,78 @@ cheese_camera_device_monitor_error_quark
return g_quark_from_static_string ("cheese-camera-error-quark");
}
-#ifdef HAVE_UDEV
--static void
+ static void
-cheese_camera_device_monitor_added (CheeseCameraDeviceMonitor *monitor,
- GUdevDevice *udevice)
+cheese_camera_device_monitor_handle_udi (CheeseCameraDeviceMonitor *monitor,
@@ -210,7 +210,7 @@
}
/**
-@@ -222,115 +173,85 @@ void
+@@ -222,115 +174,85 @@ void
cheese_camera_device_monitor_coldplug (CheeseCameraDeviceMonitor *monitor)
{
CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
@@ -375,7 +375,7 @@
G_OBJECT_CLASS (cheese_camera_device_monitor_parent_class)->finalize (object);
}
-@@ -385,14 +306,52 @@ cheese_camera_device_monitor_class_init
+@@ -385,14 +307,52 @@ cheese_camera_device_monitor_class_init
static void
cheese_camera_device_monitor_init (CheeseCameraDeviceMonitor *monitor)
{