commit:     ae6518852621141cc47f73a26d3f4d04f7b94fb5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 00:49:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 00:49:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae651885

dev-util/icmake: fix installation of compressed docs

Closes: https://bugs.gentoo.org/729602
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/icmake-9.03.01-compressed-docs.patch     | 32 ++++++++++++++++++++++
 dev-util/icmake/icmake-9.03.01.ebuild              |  1 +
 2 files changed, 33 insertions(+)

diff --git a/dev-util/icmake/files/icmake-9.03.01-compressed-docs.patch 
b/dev-util/icmake/files/icmake-9.03.01-compressed-docs.patch
new file mode 100644
index 00000000000..a8bb04e3102
--- /dev/null
+++ b/dev-util/icmake/files/icmake-9.03.01-compressed-docs.patch
@@ -0,0 +1,32 @@
+diff --git a/icm_bootstrap b/icm_bootstrap
+index 9a80252..78ece4f 100755
+--- a/icm_bootstrap
++++ b/icm_bootstrap
+@@ -45,11 +45,11 @@ cd doc
+ 
+ echo man-pages to tmp/${MANDIR}/man1 and .../man7
+ for x in *.1 ; do
+-    gzip -9cn $x > ../tmp/${MANDIR}/man1/$x.gz || exit 1
++    cp $x ../tmp/${MANDIR}/man1/$x || exit 1
+ done
+ 
+ for x in *.7 ; do
+-    gzip -9cn $x > ../tmp/${MANDIR}/man7/$x.gz  || exit 1
++    cp $x ../tmp/${MANDIR}/man7/$x || exit 1
+ done
+ 
+ echo documentation to tmp/${DOCDIR} and tmp/${DOCDOCDIR}
+@@ -58,11 +58,11 @@ echo documentation to tmp/${DOCDIR} and tmp/${DOCDOCDIR}
+ #    gzip -9cn $x > ../tmp/${DOCDOCDIR}/$x.gz  || exit 1
+ #done
+ 
+-gzip -9cn icmake.ps > ../tmp/${DOCDOCDIR}/icmake.ps.gz  || exit 1
++cp icmake.ps ../tmp/${DOCDOCDIR}/icmake.ps || exit 1
+ 
+ cd ..
+ 
+-gzip -9cn changelog > tmp/${DOCDIR}/changelog.gz || exit 1
++cp changelog tmp/${DOCDIR}/changelog || exit 1
+ 
+ try cp -r examples tmp/${DOCDOCDIR}
+ 

diff --git a/dev-util/icmake/icmake-9.03.01.ebuild 
b/dev-util/icmake/icmake-9.03.01.ebuild
index c24170a062f..864297a798f 100644
--- a/dev-util/icmake/icmake-9.03.01.ebuild
+++ b/dev-util/icmake/icmake-9.03.01.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86"
 PATCHES=(
        "${FILESDIR}"/${PN}-9.00.00-ar.patch
        "${FILESDIR}"/${PN}-9.02.02-verbose-build.patch
+       "${FILESDIR}"/${PN}-9.03.01-compressed-docs.patch
 )
 
 src_prepare() {

Reply via email to