diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
commit | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (patch) | |
tree | 0a7a1b7b3ad60c3b21c697e75908b256fc9ed6b1 /app-office/dia2code | |
parent | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (diff) |
gentoo auto-resync : 20:04:2024 - 12:05:23
Diffstat (limited to 'app-office/dia2code')
-rw-r--r-- | app-office/dia2code/Manifest | 3 | ||||
-rw-r--r-- | app-office/dia2code/dia2code-1.0.0-r1.ebuild (renamed from app-office/dia2code/dia2code-1.0.0.ebuild) | 19 | ||||
-rw-r--r-- | app-office/dia2code/files/dia2code-1.0.0-fix-imports.patch | 12 |
3 files changed, 25 insertions, 9 deletions
diff --git a/app-office/dia2code/Manifest b/app-office/dia2code/Manifest index 62022f467360..06153a90dd75 100644 --- a/app-office/dia2code/Manifest +++ b/app-office/dia2code/Manifest @@ -1,3 +1,4 @@ +AUX dia2code-1.0.0-fix-imports.patch 344 BLAKE2B ace6791540361f4981956d0a058d5875e41414f7f88f240341b268efea02e10ad3a59850608641faf0f02f7036988fcfd6426496a897e69bce0720910ede59ed SHA512 787447902ba5606dee0d68704b4d1e53b8e4097b9e152f3330c644226b13282ee0c110aa3fe6cbb1a7c17dad2ed02e52b18ce501305287ab97dfe6f7847c3602 DIST dia2code-1.0.0.tar.gz 946967 BLAKE2B 48e6c29e9178032d17816726fe2b60c7a87518b898c22f0caec94b31d8cb10e50da4c093f178cad62f8c107bc55c3bbddef692e8608bbb73aed3afb156a2f2be SHA512 6669352e624fddc94aaaa36a30263ad591494d473ca09e662a9de90902e4b4a7a7eb6d3de9b28cf162c63ebeea36f86b33822d510ac87ce97c5f196c761bac85 -EBUILD dia2code-1.0.0.ebuild 679 BLAKE2B e5330f803b6456694de71723cde6164e53114de293b6e0b5f1edbd03937894872b2e5384ce403f8eba27de407e18feab02eb3d81166301b691226e73ac216fd1 SHA512 54449b0c01518112c01c3537c15d8ee407561e19cc6a6e46c0523e91af926682e422900da038970f1153caaa8952570bfe0bedf28f45891bf816e7a024a1fc34 +EBUILD dia2code-1.0.0-r1.ebuild 708 BLAKE2B f6551a3d3f3a598dd70aa5fcafeed3cdc9fbccf61bc15662fb1412487b5190b7bedf523d5e9fc75fa25b8d42ce311ba071363ab0381f443f84ffaa8bd7d7e61c SHA512 0ad345b2dace350e122d1d5223fc8f4bdf612c31b8b0e52cbe7548ff46cc5e3abe857a516a03b93b019569ae09bbcc81ac525a784b1ab279302a81b8b4e4b6af MISC metadata.xml 332 BLAKE2B a61fd65558391c808252c9503105c26019cdbff7ef885e1775ea671ce4001667416c7ba01b543634ff6b0202fbd0607b45cca8bea2bbbf1da83e331a6795640d SHA512 e6c1fcfdc5c6691e262853909e409821eaf839dbf7ca76b6df2b34d35403774d6af330cf267056525136104eb25cf2bbec855d032772dcf3bb0fce6b8947de9d diff --git a/app-office/dia2code/dia2code-1.0.0.ebuild b/app-office/dia2code/dia2code-1.0.0-r1.ebuild index be9dbe3f8d5d..58e26fc2f4bd 100644 --- a/app-office/dia2code/dia2code-1.0.0.ebuild +++ b/app-office/dia2code/dia2code-1.0.0-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit gnome2 DESCRIPTION="Convert UML diagrams produced with Dia to various source code flavours" @@ -10,20 +11,22 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86" +KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="${DEPEND}" -DEPEND=" - dev-libs/libxml2 +RDEPEND="dev-libs/libxml2" +DEPEND="${RDEPEND} test? ( app-shells/bash ) " +PATCHES=( + "${FILESDIR}"/${P}-fix-imports.patch +) + src_prepare() { # Script makes use of arrays - sed -e 's:/bin/sh:/bin/bash:' \ - -i tests/tests.sh || die + sed -e 's:/bin/sh:/bin/bash:' -i tests/tests.sh || die gnome2_src_prepare } diff --git a/app-office/dia2code/files/dia2code-1.0.0-fix-imports.patch b/app-office/dia2code/files/dia2code-1.0.0-fix-imports.patch new file mode 100644 index 000000000000..e12d38806b6d --- /dev/null +++ b/app-office/dia2code/files/dia2code-1.0.0-fix-imports.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/895298 + +--- a/src/decls.hpp ++++ b/src/decls.hpp +@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. + #include "config.h" + + #include "umlPackage.hpp" ++#include <cinttypes> + + /* Package processing auxiliary structure: + "Declarations" are UML packages (which map to IDL module or C++ |