[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
There is a new pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages memcached
https://github.com/void-linux/void-packages/pull/16115
memcached: fix FTBFS
A patch file from https://github.com/void-linux/void-packages/pull/16115.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-memcached-16115.patch --]
[-- Type: text/x-diff, Size: 967 bytes --]
From a52e224b449db7e7b65f30e11fc836636ad93ea8 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 4 Nov 2019 12:46:11 +0100
Subject: [PATCH] memcached: fix FTBFS
[ci skip]
---
srcpkgs/memcached/patches/termios.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 srcpkgs/memcached/patches/termios.patch
diff --git a/srcpkgs/memcached/patches/termios.patch b/srcpkgs/memcached/patches/termios.patch
new file mode 100644
index 00000000000..21bd93a275e
--- /dev/null
+++ b/srcpkgs/memcached/patches/termios.patch
@@ -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>