summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-05-13 16:15:26 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-05-13 16:15:45 +0100
commit49208b072ab8aaeb732a419460d4f751763dabe7 (patch)
treeb5f1ce1fdecd48cdd3dd94540f15fbf18ae44de4 /dev-lang/nasm
parentapp-emulation/wine-any: Drop old (diff)
downloadgentoo-49208b072ab8aaeb732a419460d4f751763dabe7.tar.gz
gentoo-49208b072ab8aaeb732a419460d4f751763dabe7.tar.bz2
gentoo-49208b072ab8aaeb732a419460d4f751763dabe7.zip
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
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/files/nasm-2.13.03-bsd-cp-doc.patch15
-rw-r--r--dev-lang/nasm/nasm-2.13.03-r1.ebuild1
2 files changed, 16 insertions, 0 deletions
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() {