mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
memcached: re-add patch that was removed for no reason
[ci skip]
This commit is contained in:
parent
5dd08e3d17
commit
1b4fef2496
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…
Add table
Reference in a new issue