Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] memcached: fix FTBFS
Date: Mon, 04 Nov 2019 17:51:23 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16115@inbox.vuxu.org> (raw)

[-- 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>

             reply	other threads:[~2019-11-04 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 16:51 voidlinux-github [this message]
2019-11-05 10:23 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16115@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).