commit:     be3d4a58e7afa0c81d9508762b1e31e63f71910f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 10 11:20:57 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Nov 10 12:58:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3d4a58

app-misc/jail: Fix openat patch

Bug: https://bugs.gentoo.org/668898
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-misc/jail/files/jail-2.0-openat-syscall.patch        | 4 ++--
 app-misc/jail/{jail-2.0-r3.ebuild => jail-2.0-r4.ebuild} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/jail/files/jail-2.0-openat-syscall.patch 
b/app-misc/jail/files/jail-2.0-openat-syscall.patch
index f5f1e99f6ad..37f2a59b14b 100644
--- a/app-misc/jail/files/jail-2.0-openat-syscall.patch
+++ b/app-misc/jail/files/jail-2.0-openat-syscall.patch
@@ -15,9 +15,9 @@ index b0c6572..b1fdbc8 100755
 -  if ($line =~ /^open\(\"(.+)\".+\)\s*=\s*([-]?\d+)/) {
 -    $file = $1;
 -    $val = $2;
-+  if ($line =~ /^open(at)?\(\"(.+)\".+\)\s*=\s*([-]?\d+)/) {
++  if ($line =~ /^open(at)?\([^\"]*\"(.+)\".+\)\s*=\s*([-]?\d+)/) {
 +    $file = $2;
 +    $val = $3;
      return($file,$val);
    }
-   return();
+   return();
\ No newline at end of file

diff --git a/app-misc/jail/jail-2.0-r3.ebuild b/app-misc/jail/jail-2.0-r4.ebuild
similarity index 100%
rename from app-misc/jail/jail-2.0-r3.ebuild
rename to app-misc/jail/jail-2.0-r4.ebuild

Reply via email to