public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ski/files/, app-emulation/ski/
Date: Thu, 19 Jan 2017 14:14:01 +0000 (UTC)	[thread overview]
Message-ID: <1484835216.b55ca97697d55f208cf0bfd76790833daf247cac.vapier@gentoo> (raw)

commit:     b55ca97697d55f208cf0bfd76790833daf247cac
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 13:26:46 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 14:13:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55ca976

app-emulation/ski: add Fedora patch to fix building w/newer glibc #592226

 app-emulation/ski/files/ski-1.3.2-uselib.patch | 18 ++++++++++++++++++
 app-emulation/ski/ski-1.3.2-r1.ebuild          |  1 +
 2 files changed, 19 insertions(+)

diff --git a/app-emulation/ski/files/ski-1.3.2-uselib.patch b/app-emulation/ski/files/ski-1.3.2-uselib.patch
new file mode 100644
index 00000000..d600cb2
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-uselib.patch
@@ -0,0 +1,18 @@
+https://bugs.gentoo.org/592226
+
+patch taken from Fedora
+
+glibc-2.23+ no longer exports the uselib function.  make the syscall directly.
+
+--- ski-1.3.2/src/linux/syscall-linux.c
++++ ski-1.3.2/src/linux/syscall-linux.c
+@@ -554,7 +554,8 @@
+ extern void munmapSyms (ADDR, ADDR);
+ extern void dynBlock (ADDR, ADDR);
+ extern void memFree (ADDR);
+-extern int uselib (const char *libname);	/* Linux specific */
++#include <sys/syscall.h>
++#define uselib(libname) syscall(__NR_uselib, libname)
+ 
+ extern int setresuid (uid_t, uid_t, uid_t);
+ extern int getresuid (uid_t *, uid_t *, uid_t *);

diff --git a/app-emulation/ski/ski-1.3.2-r1.ebuild b/app-emulation/ski/ski-1.3.2-r1.ebuild
index d736233..44caa27 100644
--- a/app-emulation/ski/ski-1.3.2-r1.ebuild
+++ b/app-emulation/ski/ski-1.3.2-r1.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch
 	"${FILESDIR}"/${P}-configure-withval.patch
 	"${FILESDIR}"/${P}-binutils.patch
+	"${FILESDIR}"/${P}-uselib.patch #592226
 )
 
 src_prepare() {


             reply	other threads:[~2017-01-19 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 14:14 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-19 14:14 [gentoo-commits] repo/gentoo:master commit in: app-emulation/ski/files/, app-emulation/ski/ Mike Frysinger
2020-01-29 20:16 Sergei Trofimovich
2020-09-27  8:55 Sergei Trofimovich
2024-09-02 21:18 Petr Vaněk

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=1484835216.b55ca97697d55f208cf0bfd76790833daf247cac.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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