public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-augeas/files/, dev-ruby/ruby-augeas/
@ 2024-08-21  5:47 Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2024-08-21  5:47 UTC (permalink / raw
  To: gentoo-commits

commit:     b5e308a175dc5b9f0986d14aac5c6ab13009fa5c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 05:47:00 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 05:47:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e308a1

dev-ruby/ruby-augeas: fix compilation with gcc14

Closes: https://bugs.gentoo.org/884303
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 .../files/ruby-augeas-0.5.0-gcc14.patch            | 27 ++++++++++++++++++++++
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild   | 26 +++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch b/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch
new file mode 100644
index 000000000000..498ae9a992eb
--- /dev/null
+++ b/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch
@@ -0,0 +1,27 @@
+From 9f1f9df48ef8c6f62349eccb90dc54a3c3d75e3f Mon Sep 17 00:00:00 2001
+From: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
+Date: Wed, 31 Jan 2024 12:52:45 +0100
+Subject: [PATCH] Remove unused sibling argument from augeas_rm
+
+This makes the function match the method definition. There was already a
+warning about this, but Fedora 40 applies more hardening and it's a
+fatal error.
+
+Fixes: e6b57c58d24b ("Initial ruby bindings, written by Bryan Kearney")
+---
+ ext/augeas/_augeas.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/augeas/_augeas.c b/ext/augeas/_augeas.c
+index f9b49d1..7ef0d7d 100644
+--- a/ext/augeas/_augeas.c
++++ b/ext/augeas/_augeas.c
+@@ -184,7 +184,7 @@ VALUE augeas_mv(VALUE s, VALUE src, VALUE dst) {
+  *
+  * Remove path and all its children. Returns the number of entries removed
+  */
+-VALUE augeas_rm(VALUE s, VALUE path, VALUE sibling) {
++VALUE augeas_rm(VALUE s, VALUE path) {
+     augeas *aug = aug_handle(s);
+     const char *cpath = StringValueCStr(path) ;
+ 

diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild
new file mode 100644
index 000000000000..57614c50b3de
--- /dev/null
+++ b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_DOCDIR="doc/site/api"
+RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/augeas/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby bindings for Augeas"
+HOMEPAGE="https://augeas.net/"
+SRC_URI="http://download.augeas.net/ruby/${P}.gem"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND=">=app-admin/augeas-1.1.0"
+DEPEND="${RDEPEND}
+		dev-libs/libxml2"
+
+PATCHES=( "${FILESDIR}/${P}-gcc14.patch" )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-augeas/files/, dev-ruby/ruby-augeas/
@ 2024-10-29 17:19 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2024-10-29 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     4ca005182b3a4900863dc252c4f5a4bd3c8cd326
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 17:19:11 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 17:19:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca00518

dev-ruby/ruby-augeas: drop 0.5.0-r5, 0.5.0-r6

Bug: https://bugs.gentoo.org/884303
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-ruby/ruby-augeas/Manifest                      |  1 -
 .../files/ruby-augeas-0.5.0-gcc14.patch            | 27 ----------------------
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r5.ebuild   | 25 --------------------
 dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild   | 26 ---------------------
 4 files changed, 79 deletions(-)

diff --git a/dev-ruby/ruby-augeas/Manifest b/dev-ruby/ruby-augeas/Manifest
index 9aeaf1d4d041..8459f3a04559 100644
--- a/dev-ruby/ruby-augeas/Manifest
+++ b/dev-ruby/ruby-augeas/Manifest
@@ -1,2 +1 @@
-DIST ruby-augeas-0.5.0.gem 24064 BLAKE2B 7ee13cfed3e38bbcb7445305323d44f519239e177a9a0e2e98ee362629f6fa0166338e128ab31f48ffc3a37095ba450433128779be006a8add26eb0523e76142 SHA512 523742368543c617baa2b393e4682451d7fe20aecbcf9ab50fed0f5575119b3fbc06f79f0894cca728d2fee7d441cdd9f075dbcf81628835ba870930c3d2ac8d
 DIST ruby-augeas-0.6.0.gem 31232 BLAKE2B 241dd36c2a0831d396f14dcfaec0ba20ae7fbb9088e1e2057ccaa8d0039f5809dbc28fea882cd20d7ee3944ed27a531c33607f950e2f0ad1088fb94ae545a244 SHA512 a0f921bec025d73c171791549407883f90119bba2c7a1731641a78b7d3b4d08129cb92a23238256936fe8176205fd4926f2a170d7f278faf4e86c0508037a305

diff --git a/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch b/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch
deleted file mode 100644
index 498ae9a992eb..000000000000
--- a/dev-ruby/ruby-augeas/files/ruby-augeas-0.5.0-gcc14.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 9f1f9df48ef8c6f62349eccb90dc54a3c3d75e3f Mon Sep 17 00:00:00 2001
-From: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
-Date: Wed, 31 Jan 2024 12:52:45 +0100
-Subject: [PATCH] Remove unused sibling argument from augeas_rm
-
-This makes the function match the method definition. There was already a
-warning about this, but Fedora 40 applies more hardening and it's a
-fatal error.
-
-Fixes: e6b57c58d24b ("Initial ruby bindings, written by Bryan Kearney")
----
- ext/augeas/_augeas.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ext/augeas/_augeas.c b/ext/augeas/_augeas.c
-index f9b49d1..7ef0d7d 100644
---- a/ext/augeas/_augeas.c
-+++ b/ext/augeas/_augeas.c
-@@ -184,7 +184,7 @@ VALUE augeas_mv(VALUE s, VALUE src, VALUE dst) {
-  *
-  * Remove path and all its children. Returns the number of entries removed
-  */
--VALUE augeas_rm(VALUE s, VALUE path, VALUE sibling) {
-+VALUE augeas_rm(VALUE s, VALUE path) {
-     augeas *aug = aug_handle(s);
-     const char *cpath = StringValueCStr(path) ;
- 

diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r5.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r5.ebuild
deleted file mode 100644
index a912b6035674..000000000000
--- a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r5.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
-
-RUBY_FAKEGEM_DOCDIR="doc/site/api"
-RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/augeas/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby bindings for Augeas"
-HOMEPAGE="https://augeas.net/"
-SRC_URI="http://download.augeas.net/ruby/${P}.gem"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
-IUSE=""
-
-RDEPEND=">=app-admin/augeas-1.1.0"
-DEPEND="${RDEPEND}
-		dev-libs/libxml2"

diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild
deleted file mode 100644
index 57614c50b3de..000000000000
--- a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r6.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
-
-RUBY_FAKEGEM_DOCDIR="doc/site/api"
-RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/augeas/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby bindings for Augeas"
-HOMEPAGE="https://augeas.net/"
-SRC_URI="http://download.augeas.net/ruby/${P}.gem"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-RDEPEND=">=app-admin/augeas-1.1.0"
-DEPEND="${RDEPEND}
-		dev-libs/libxml2"
-
-PATCHES=( "${FILESDIR}/${P}-gcc14.patch" )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-29 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21  5:47 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-augeas/files/, dev-ruby/ruby-augeas/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29 17:19 Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox