diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-12-24 10:46:50 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-12-24 10:49:04 +0100 |
commit | 3a7b96de7b03ad7410198a069c551648e82720ad (patch) | |
tree | 54be42e6cc3a382e90f7f8b7b0044d7db76044b5 /dev-libs/castxml | |
parent | dev-libs/vc: drop 1.4.1-r1, 1.4.2 (diff) | |
download | gentoo-3a7b96de7b03ad7410198a069c551648e82720ad.tar.gz gentoo-3a7b96de7b03ad7410198a069c551648e82720ad.tar.bz2 gentoo-3a7b96de7b03ad7410198a069c551648e82720ad.zip |
dev-libs/castxml: Fix test code
Closes: https://bugs.gentoo.org/882475
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/castxml')
-rw-r--r-- | dev-libs/castxml/castxml-0.4.5.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/castxml/files/castxml-fix-tests.patch | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/castxml/castxml-0.4.5.ebuild b/dev-libs/castxml/castxml-0.4.5.ebuild index 3a1a814b7346..7eee74c7e25a 100644 --- a/dev-libs/castxml/castxml-0.4.5.ebuild +++ b/dev-libs/castxml/castxml-0.4.5.ebuild @@ -28,6 +28,10 @@ BDEPEND=" man? ( dev-python/sphinx ) " +PATCHES=( + "${FILESDIR}"/${PN}-fix-tests.patch +) + src_configure() { local mycmakeargs=( -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" diff --git a/dev-libs/castxml/files/castxml-fix-tests.patch b/dev-libs/castxml/files/castxml-fix-tests.patch new file mode 100644 index 000000000000..db8cec1eef02 --- /dev/null +++ b/dev-libs/castxml/files/castxml-fix-tests.patch @@ -0,0 +1,14 @@ +diff --git a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt +index fb9ae02..33b3df9 100644 +--- a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt ++++ b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt +@@ -1 +1 @@ +-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i] ++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "- +diff --git a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt +index fb9ae02..33b3df9 100644 +--- a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt ++++ b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt +@@ -1 +1 @@ +-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i] ++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "- |