summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-10 00:49:39 +0000
committerSam James <sam@gentoo.org>2021-03-10 00:49:39 +0000
commitae6518852621141cc47f73a26d3f4d04f7b94fb5 (patch)
tree4cd37361a6d87c216b35fed831dd783d90ad62dc
parentdev-util/icmake: fix invalid EROOT usage (diff)
downloadgentoo-ae651885.tar.gz
gentoo-ae651885.tar.bz2
gentoo-ae651885.zip
dev-util/icmake: fix installation of compressed docs
Closes: https://bugs.gentoo.org/729602 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-util/icmake/files/icmake-9.03.01-compressed-docs.patch32
-rw-r--r--dev-util/icmake/icmake-9.03.01.ebuild1
2 files changed, 33 insertions, 0 deletions
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 000000000000..a8bb04e3102e
--- /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 c24170a062fa..864297a798f1 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() {