commit:     49208b072ab8aaeb732a419460d4f751763dabe7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 15:15:26 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 13 15:15:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49208b07

dev-lang/nasm: avoid 'cp -u' as it's not portable, bug #655444

In this case we can unconditionally copy files.

Reported-by: Michał Górny
Bug: https://bugs.gentoo.org/655444
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-lang/nasm/files/nasm-2.13.03-bsd-cp-doc.patch | 15 +++++++++++++++
 dev-lang/nasm/nasm-2.13.03-r1.ebuild              |  1 +
 2 files changed, 16 insertions(+)

diff --git a/dev-lang/nasm/files/nasm-2.13.03-bsd-cp-doc.patch 
b/dev-lang/nasm/files/nasm-2.13.03-bsd-cp-doc.patch
new file mode 100644
index 00000000000..76c1790da20
--- /dev/null
+++ b/dev-lang/nasm/files/nasm-2.13.03-bsd-cp-doc.patch
@@ -0,0 +1,15 @@
+Avoid 'cp -u' as it's not portable.
+
+In this case we can unconditionally copy files.
+
+Reported-by: Michał Górny
+Bug: https://bugs.gentoo.org/655444
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index 261a791..bc9da1e 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -28,3 +28,3 @@ RM_RF                = rm -rf
+ CP_F          = cp -f
+-CP_UF         = cp -ufv
++CP_UF         = cp -fv
+ 

diff --git a/dev-lang/nasm/nasm-2.13.03-r1.ebuild 
b/dev-lang/nasm/nasm-2.13.03-r1.ebuild
index e050fffc1e9..91d5ea48006 100644
--- a/dev-lang/nasm/nasm-2.13.03-r1.ebuild
+++ b/dev-lang/nasm/nasm-2.13.03-r1.ebuild
@@ -32,6 +32,7 @@ S=${WORKDIR}/${P/_}
 PATCHES=(
        "${FILESDIR}"/${PN}-2.13.01-fix-docdir.patch
        "${FILESDIR}"/${PN}-2.13.01-gcc-8.patch
+       "${FILESDIR}"/${PN}-2.13.03-bsd-cp-doc.patch
 )
 
 src_configure() {

Reply via email to