aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/webcamd/files/patch-clang10
-rw-r--r--multimedia/webcamd/files/patch-media_tree-include-linux-dvb-ca.h20
2 files changed, 10 insertions, 20 deletions
diff --git a/multimedia/webcamd/files/patch-clang b/multimedia/webcamd/files/patch-clang
new file mode 100644
index 000000000000..3f045c1336b8
--- /dev/null
+++ b/multimedia/webcamd/files/patch-clang
@@ -0,0 +1,10 @@
+--- kernel/linux_defs.h.orig 2012-09-23 16:06:07.000000000 +0200
++++ kernel/linux_defs.h 2012-09-23 16:06:24.000000000 +0200
+@@ -98,6 +98,7 @@
+ #define symbol_put(x) __nop
+ #define EXPORT_SYMBOL(...)
+ #define EXPORT_SYMBOL_GPL(...)
++#define MODULE_INFO(...)
+ #define MODULE_AUTHOR(...)
+ #define MODULE_DESCRIPTION(...)
+ #define MODULE_LICENSE(...)
diff --git a/multimedia/webcamd/files/patch-media_tree-include-linux-dvb-ca.h b/multimedia/webcamd/files/patch-media_tree-include-linux-dvb-ca.h
deleted file mode 100644
index 8841d967f0c4..000000000000
--- a/multimedia/webcamd/files/patch-media_tree-include-linux-dvb-ca.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- media_tree/include/linux/dvb/ca.h.orig
-+++ media_tree/include/linux/dvb/ca.h
-@@ -80,9 +80,17 @@ typedef struct ca_pid {
-
- #define CA_RESET _IO('o', 128)
- #define CA_GET_CAP _IOR('o', 129, ca_caps_t)
-+
-+/* At least CA_GET_SLOT_INFO and CA_GET_MSG need to be _IOWR not _IOR.
-+ * This is wrong on Linux too but there the driver doesn't care.
-+ *
- #define CA_GET_SLOT_INFO _IOR('o', 130, ca_slot_info_t)
- #define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t)
- #define CA_GET_MSG _IOR('o', 132, ca_msg_t)
-+ */
-+#define CA_GET_SLOT_INFO _IOWR('o', 130, ca_slot_info_t)
-+#define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t)
-+#define CA_GET_MSG _IOWR('o', 132, ca_msg_t)
- #define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
- #define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
- #define CA_SET_PID _IOW('o', 135, ca_pid_t)