app-arch/wimlib: add correct gentoo path to syslinux files
authorSlawomir Lis <slis@gentoo.org>
Sat, 3 Nov 2018 17:49:45 +0000 (18:49 +0100)
committerSlawomir Lis <slis@gentoo.org>
Sat, 3 Nov 2018 17:49:45 +0000 (18:49 +0100)
Closes: https://bugs.gentoo.org/669370
Signed-off-by: Slawek Lis <slis@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-arch/wimlib/files/syslinux-path.patch [new file with mode: 0644]
app-arch/wimlib/wimlib-1.12.0.ebuild

diff --git a/app-arch/wimlib/files/syslinux-path.patch b/app-arch/wimlib/files/syslinux-path.patch
new file mode 100644 (file)
index 0000000..6fd5bcd
--- /dev/null
@@ -0,0 +1,25 @@
+--- a/programs/mkwinpeimg      2017-07-29 13:52:09.000000000 -0700
++++ b/programs/mkwinpeimg      2018-10-22 19:14:35.170566559 -0700
+@@ -488,7 +488,8 @@
+       for biosdir in                          \
+               /usr/lib/syslinux/modules/bios  \
+               /usr/lib/syslinux/bios          \
+-              /usr/lib/syslinux
++              /usr/lib/syslinux \
++              /usr/share/syslinux
+       do
+               if [ -e "$biosdir/chain.c32" ]; then
+                       break
+--- a/programs/mkwinpeimg.in   2017-07-15 13:49:06.000000000 -0700
++++ b/programs/mkwinpeimg.in   2018-10-22 19:16:59.323070604 -0700
+@@ -488,7 +488,8 @@
+       for biosdir in                          \
+               /usr/lib/syslinux/modules/bios  \
+               /usr/lib/syslinux/bios          \
+-              /usr/lib/syslinux
++              /usr/lib/syslinux \
++              /usr/share/syslinux
+       do
+               if [ -e "$biosdir/chain.c32" ]; then
+                       break
+
index efc6d34190b61b1659fde8d78ce6ee5ef0b84681..77b9c95e2751e0a4e3b4729da9e12b63e4e67663 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,6 +24,8 @@ SLOT="0"
 IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl threads yasm"
 REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
 
+PATCHES=( "${FILESDIR}/syslinux-path.patch" )
+
 RDEPEND="
        dev-libs/libxml2:2
        ntfs? ( sys-fs/ntfs3g )