mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Add a patch that adds guards around the compat typedef's.
This allows kopete to build its v4l support. Submitted by: hselasky@ With hat: multimedia@
This commit is contained in:
parent
6a66f20b71
commit
55e4c88771
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267484
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= v4l_compat
|
||||
PORTVERSION= 1.0.${DUMMYDATE}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= LOCAL/kwm
|
||||
DUMMYDATE= 20101027
|
||||
|
35
multimedia/v4l_compat/files/patch-videodev2.h
Normal file
35
multimedia/v4l_compat/files/patch-videodev2.h
Normal file
@ -0,0 +1,35 @@
|
||||
--- videodev2.h.orig 2011-01-07 14:10:29.000000000 +0100
|
||||
+++ videodev2.h 2011-01-07 14:11:23.000000000 +0100
|
||||
@@ -62,16 +62,32 @@
|
||||
|
||||
#ifndef HAVE_LINUX_INTEGER_TYPES
|
||||
/* XXX remove when depending software has been updated */
|
||||
+#ifndef __u64
|
||||
typedef uint64_t __u64;
|
||||
+#endif
|
||||
+#ifndef __u32
|
||||
typedef uint32_t __u32;
|
||||
+#endif
|
||||
+#ifndef __u16
|
||||
typedef uint16_t __u16;
|
||||
+#endif
|
||||
+#ifndef __u8
|
||||
typedef uint8_t __u8;
|
||||
+#endif
|
||||
|
||||
+#ifndef __s64
|
||||
typedef int64_t __s64;
|
||||
+#endif
|
||||
+#ifndef __s32
|
||||
typedef int32_t __s32;
|
||||
+#endif
|
||||
+#ifndef __s16
|
||||
typedef int16_t __s16;
|
||||
+#endif
|
||||
+#ifndef __s8
|
||||
typedef int8_t __s8;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* Common stuff for both V4L1 and V4L2
|
Loading…
x
Reference in New Issue
Block a user