commit: 0c7a4102207ab1ea92cf101decb1b14f4cdd8b45 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue Apr 18 12:54:29 2023 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue Apr 18 13:21:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7a4102
dev-libs/sdformat: bump to 9.10.0 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-libs/sdformat/Manifest | 2 +- dev-libs/sdformat/files/ruby.patch | 31 ++++++++++++++++++++++ ...dformat-9.8.0.ebuild => sdformat-9.10.0.ebuild} | 3 ++- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest index 7114f856b3b6..71aaabc4de25 100644 --- a/dev-libs/sdformat/Manifest +++ b/dev-libs/sdformat/Manifest @@ -1 +1 @@ -DIST sdformat-9.8.0.tar.bz2 706107 BLAKE2B d4880b8b26bc792f7932f92238fea9e583284fb95fd139da2755590f795bf8f00d2087b949ff44df7c04f7e3e81218f7a7f5643c65164e7805b76626ac13de4b SHA512 090e654f442c26d0a930960fa603ab5e58a28d8cef276ea75f4f63cad29c249c90045e76a2e081b2f90bc569b80abee086efe7598c138fd81b387535debf7e6c +DIST sdformat-9.10.0.tar.bz2 709883 BLAKE2B 3f79ad7d13cc3e2b4e4ee7b2dfc5819e805ccbae7678e4ea4d4e2577845ddc3bc69c15043132de989ac286642757bcf0c1d66990fddbc3b61aa1a297c78b7682 SHA512 233305adc98a57eef360200d651bf0951229b12383e49496e05989ce165d88d4fd86c40819a6b6528125fe0185157d26b5712880332971d8bd2fd1f7daa4c6e8 diff --git a/dev-libs/sdformat/files/ruby.patch b/dev-libs/sdformat/files/ruby.patch new file mode 100644 index 000000000000..ceada099cfe3 --- /dev/null +++ b/dev-libs/sdformat/files/ruby.patch @@ -0,0 +1,31 @@ +Index: sdformat-9.10.0/tools/xmlschema.rb +=================================================================== +--- sdformat-9.10.0.orig/tools/xmlschema.rb ++++ sdformat-9.10.0/tools/xmlschema.rb +@@ -265,7 +265,7 @@ opt_parser.parse! + if infile.nil? + puts "Missing option -i." + exit +-elsif !File.exists?(infile) ++elsif !File.exist?(infile) + puts "Input file[#{infile}] does not exist\n" + exit + end +@@ -273,7 +273,7 @@ end + if $path.nil? + puts "Missing option -s." + exit +-elsif !Dir.exists?($path) ++elsif !Dir.exist?($path) + puts "SDF source dir[#{$path}] does not exist\n" + exit + end +@@ -281,7 +281,7 @@ end + if outdir.nil? + puts "Missing output directory, option -o." + exit +-elsif !Dir.exists?(outdir) ++elsif !Dir.exist?(outdir) + Dir.mkdir(outdir) + end + diff --git a/dev-libs/sdformat/sdformat-9.8.0.ebuild b/dev-libs/sdformat/sdformat-9.10.0.ebuild similarity index 91% rename from dev-libs/sdformat/sdformat-9.8.0.ebuild rename to dev-libs/sdformat/sdformat-9.10.0.ebuild index 4a78444096c6..210757ba03de 100644 --- a/dev-libs/sdformat/sdformat-9.8.0.ebuild +++ b/dev-libs/sdformat/sdformat-9.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,7 @@ BDEPEND=" dev-lang/ruby:* virtual/pkgconfig " +PATCHES=( "${FILESDIR}/ruby.patch" ) src_prepare() { cmake_src_prepare