summaryrefslogtreecommitdiff
path: root/app-text/rman
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-13 11:40:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-13 11:40:30 +0000
commit0ded23e9afc3d3424aef90e5cec3f2ca6d6b4c30 (patch)
tree93ef9828fae35063d273f386b2fa4a7130add56b /app-text/rman
parent22b4e2ee9c8011b75d7c030d6129a7487494aeba (diff)
gentoo auto-resync : 13:12:2023 - 11:40:30
Diffstat (limited to 'app-text/rman')
-rw-r--r--app-text/rman/Manifest2
-rw-r--r--app-text/rman/files/rman-3.2-incompatible-pointer-types.patch24
-rw-r--r--app-text/rman/rman-3.2-r2.ebuild32
3 files changed, 58 insertions, 0 deletions
diff --git a/app-text/rman/Manifest b/app-text/rman/Manifest
index f058ef7390ed..740a39bc07cb 100644
--- a/app-text/rman/Manifest
+++ b/app-text/rman/Manifest
@@ -1,6 +1,8 @@
AUX rman-3.2-format-security.patch 336 BLAKE2B 04ec15b8d7e20293d3b5da4c85107b20957661a5a249541ad7eefd8937fbfe64806afc386ee241deee1e53bf26c752107f66582682ae21c2c11f7e4e6a268179 SHA512 4f21e07f887b509b12dda37d30dbce6f599671cb6b300934a180f9dca8661a55734e7a116f39d2d877cab38d66d3a54ad12f842693b8abf0d7448700c96ba86c
AUX rman-3.2-gentoo.patch 418 BLAKE2B bb7385f95e443a175e86c7c8c19871cfd8682b037487b6a73f3010e50d1e177929ef89e02041b70dc575a55aa5144cec99b2c13942f87ddf9f31c1c327ad8b36 SHA512 267896a7db4dc559e3162c66996bde552c655f8dd32ee3f1a23520d1df8728fad83e783fa898159e0aa96730b03092be516f711091f58a4f1b9228d24a4bc87c
+AUX rman-3.2-incompatible-pointer-types.patch 788 BLAKE2B 00cee69b9979220858cce69351f081be89d6008e63aea61c2d0e2bded54672823e8680d71a21544a7eb6feaab5bfb120c9e4a3ba4696117b41cc47b1acc1ce46 SHA512 ba01d8257dc19de13c76e3654bde5a02d96a7fcb0dd8a49fe82a815adf8b90ac93a1c5e0a093643b96f160191b33e9e60fa2425422f318116beb1c08cac086d9
AUX rman-3.2-ldflags.patch 339 BLAKE2B fa4e72627e79841e2650025d9772953834907a41f06e3a18d8a0bcae83cf104724cf29023d128ec272656d4ba9696b05243466372299f20b796ee8d3cd495fdd SHA512 ed9350878621a90aea9467afcf0fe1110c9b876c236c314e0d7566ee6c5674663c47457f8acac76517b0409f3eccff91dd3e869de1c3d1002a671610fb1e38af
DIST rman-3.2.tar.gz 79397 BLAKE2B 2be1c60f77c3b2c4fa73a59c5a8965da1c8b1f3b569e7e4d5716a372228bacb81c5421f4bbf330781aa231835393c915ed14057c717cb1e8ed57101f7febb37d SHA512 a70aea0af1510088fd88a736e63a6dab9200040be5eb89912ede4f50e3de97d423574841bbb66e90fb12934f3834dac0acefe78ff1c73a78a79c95c3dd6fa5ae
EBUILD rman-3.2-r1.ebuild 739 BLAKE2B 960966472a8b65c2620776ab56f68ea71b29ade9bf2d845bab25b9dfb2c65e78c973e42de3433cb1a122b4812fa749e5430b013bf113039098f12d5c8b0f7dde SHA512 092e29fb731d78769718e57567bb776fcb6b77ecbbb8c052c0779b8f52bbb5ce2a220ea6c9f9b0f59a650e9e7f462c0eab43a32162e1c474c2757d513dd9740a
+EBUILD rman-3.2-r2.ebuild 799 BLAKE2B 3217612299c4713a5bedcddfdd7c4ca38ee34afcac2200db82ef3b54d1f72d2c8b3219d8aaee9a4f8d96ae55d169a04c13f1c47746e8af9394ea6469059e01bc SHA512 5effe49388d7c4edf40acba0a74384656956c3578f0ef6ad9ff40e0ad9ab79e78b1280a077c8972d3f0c8a960d9b912546a489ac8da560cbc250487d8a4eed50
MISC metadata.xml 335 BLAKE2B e1e40513a1eb6dfc9eef963cb0d745afda68a3c9e8a7bf6eb0b91ad45378a7032c9e9fc3163d52c0ded151f31748d8c0365fdf6dde36605f25dffd2ea071f227 SHA512 c388881c5431def3dce4fb6a70357be1b5517a7059d92b1884396836aba708ca965bbee6939380151387a8ef1d5cde21aa7e3b4a7d5c67600547b50646ad72e1
diff --git a/app-text/rman/files/rman-3.2-incompatible-pointer-types.patch b/app-text/rman/files/rman-3.2-incompatible-pointer-types.patch
new file mode 100644
index 000000000000..bb7645c23f34
--- /dev/null
+++ b/app-text/rman/files/rman-3.2-incompatible-pointer-types.patch
@@ -0,0 +1,24 @@
+From 1120713781a5da03a56d3f8d59904c0fd20f6dd6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
+ <leohdz172@proton.me>
+Date: Mon, 11 Dec 2023 17:05:26 -0600
+Subject: [PATCH] fix build with -Werror=incompatible-pointer-types
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
+--- a/rman.c
++++ b/rman.c
+@@ -268,7 +268,7 @@ stricmp(const char *s1, const char *s2) {
+ else return 1;
+ }
+
+-int lcexceptionscmp(const char **a, const char **b) { return stricmp(*a, *b); }
++int lcexceptionscmp(const void *a, const void *b) { return stricmp((const char *)a, (const char *)b); }
+
+ int
+ strincmp(const char *s1, const char *s2, size_t n) {
+--
+2.43.0
+
diff --git a/app-text/rman/rman-3.2-r2.ebuild b/app-text/rman/rman-3.2-r2.ebuild
new file mode 100644
index 000000000000..a6e49555a341
--- /dev/null
+++ b/app-text/rman/rman-3.2-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="PolyGlotMan man page translator AKA RosettaMan"
+HOMEPAGE="https://sourceforge.net/projects/polyglotman/"
+SRC_URI="mirror://sourceforge/polyglotman/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${P}-incompatible-pointer-types.patch
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+}