Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 863839 Details for
Bug 908380
media-tv/v4l-utils on musl: utils/common/media-info.h:40:34: error: 'dev_t' has not been declared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v4l-utils.patch
v4l-utils.patch (text/plain), 1.20 KB, created by
Tohka
on 2023-06-15 01:54:06 UTC
(
hide
)
Description:
v4l-utils.patch
Filename:
MIME Type:
Creator:
Tohka
Created:
2023-06-15 01:54:06 UTC
Size:
1.20 KB
patch
obsolete
>diff --git a/utils/common/media-info.h b/utils/common/media-info.h >--- a/utils/common/media-info.h >+++ b/utils/common/media-info.h >@@ -5,6 +5,7 @@ > > #ifndef _MEDIA_INFO_H > #define _MEDIA_INFO_H >+#include <sys/types.h> > > enum media_type { > MEDIA_TYPE_CANT_STAT, >diff --git a/utils/v4l2-tracer/libv4l2tracer.cpp b/utils/v4l2-tracer/libv4l2tracer.cpp >index 288efafd..63c1812e 100644 >--- a/utils/v4l2-tracer/libv4l2tracer.cpp >+++ b/utils/v4l2-tracer/libv4l2tracer.cpp >@@ -83,6 +83,7 @@ int open(const char *path, int oflag, ...) > return fd; > } > >+#if defined(linux) && defined(__GLIBC__) > int open64(const char *path, int oflag, ...) > { > errno = 0; >@@ -110,6 +111,7 @@ int open64(const char *path, int oflag, ...) > > return fd; > } >+#endif > > int close(int fd) > { >@@ -156,6 +158,7 @@ void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off) > return buf_address_pointer; > } > >+#if defined(linux) && defined(__GLIBC__) > void *mmap64(void *addr, size_t len, int prot, int flags, int fildes, off_t off) > { > errno = 0; >@@ -170,6 +173,7 @@ void *mmap64(void *addr, size_t len, int prot, int flags, int fildes, off_t off) > > return buf_address_pointer; > } >+#endif > > int munmap(void *start, size_t length) > {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 908380
:
863715
|
863717
| 863839