memcached: fix FTBFS
[ci skip]
This commit is contained in:
parent
4f1d5354ea
commit
5fa93bbd1a
1 changed files with 12 additions and 0 deletions
12
srcpkgs/memcached/patches/termios.patch
Normal file
12
srcpkgs/memcached/patches/termios.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
linux_priv.c:82:90: error: invalid application of 'sizeof' to incomplete type 'struct termios'
|
||||
82 | rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1, SCMP_A1(SCMP_CMP_EQ, TCGETS));
|
||||
|
||||
--- linux_priv.c
|
||||
+++ linux_priv.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "config.h"
|
||||
#include <seccomp.h>
|
||||
+#include <termios.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/ioctl.h>
|
Loading…
Reference in a new issue