diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-05-09 20:03:02 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:40:59 -0500 |
commit | e9ef36222ee915e5a996a3d3d76e5bcd71a05ccc (patch) | |
tree | 69a9ec4ab22c916525415673c029af72dcd3729a /libraries/libunicap/libunicap.SlackBuild | |
parent | 6740f12d233c6a771628e20e41874b99cdf7eb91 (diff) |
libraries/libunicap: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libunicap/libunicap.SlackBuild')
-rw-r--r-- | libraries/libunicap/libunicap.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild index 35f2eee368e5f..45b4174e1842c 100644 --- a/libraries/libunicap/libunicap.SlackBuild +++ b/libraries/libunicap/libunicap.SlackBuild @@ -52,6 +52,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/gcc10.patch + # This header has moved sed -i "s|linux\/videodev\.|libv4l1-videodev.|" \ cpi/v4l/v4l.c cpi/v4l2cpi/uvcvideo.h |