FreeBSD Bugzilla – Attachment 82471 Details for
Bug 117960
Patches to enable webcam support in net-im/kopete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-kopete_libkopete_avdevice-videodevice.h
patch-kopete_libkopete_avdevice-videodevice.h (text/x-chdr), 1.24 KB, created by
Tino Engel
on 2009-01-06 20:00:22 UTC
(
hide
)
Description:
patch-kopete_libkopete_avdevice-videodevice.h
Filename:
MIME Type:
Creator:
Tino Engel
Created:
2009-01-06 20:00:22 UTC
Size:
1.24 KB
patch
obsolete
>--- kopete/libkopete/avdevice/videodevice.h 2009-01-06 19:45:45.000000000 +0100 >+++ kopete/libkopete/avdevice/videodevice.h 2009-01-06 19:47:07.000000000 +0100 >@@ -33,9 +33,12 @@ > #include <unistd.h> > #include <signal.h> > >-#if defined(__linux__) && defined(ENABLE_AV) >+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) > >+#if defined(__linux__) > #include <asm/types.h> >+#endif >+ > #undef __STRICT_ANSI__ > #ifndef __u64 //required by videodev.h > #define __u64 unsigned long long >@@ -50,8 +53,11 @@ > #define pgoff_t unsigned long > #endif > >+#if defined(__linux__) > #include <linux/fs.h> > #include <linux/kernel.h> >+#endif >+ > #include <linux/videodev.h> > #define VIDEO_MODE_PAL_Nc 3 > #define VIDEO_MODE_PAL_M 4 >@@ -80,8 +86,8 @@ > typedef enum > { > VIDEODEV_DRIVER_NONE >-#if defined( __linux__) && defined(ENABLE_AV) >- , >+#if (defined( __linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) >+ , > VIDEODEV_DRIVER_V4L > #ifdef V4L2_CAP_VIDEO_CAPTURE > , >@@ -276,7 +282,7 @@ > int descriptor; > > //protected: >-#if defined(__linux__) && defined(ENABLE_AV) >+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) > #ifdef V4L2_CAP_VIDEO_CAPTURE > struct v4l2_capability V4L2_capabilities; > struct v4l2_cropcap cropcap;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 117960
:
82469
|
82470
| 82471 |
82472
|
82473