* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Socket6/, dev-perl/Socket6/files/
@ 2025-06-29 3:45 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-06-29 3:45 UTC (permalink / raw
To: gentoo-commits
commit: fa1f1dc131a420ce51653f3d11b57c2f3ed4a122
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 29 03:44:34 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 29 03:44:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1f1dc1
dev-perl/Socket6: fix -Wint-to-pointer-cast
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/Socket6/Socket6-0.290.0-r1.ebuild | 23 ++++++++++++++++++++++
.../files/Socket6-0.290.0-pointer-warning.patch | 12 +++++++++++
2 files changed, 35 insertions(+)
diff --git a/dev-perl/Socket6/Socket6-0.290.0-r1.ebuild b/dev-perl/Socket6/Socket6-0.290.0-r1.ebuild
new file mode 100644
index 000000000000..b1cdfd4c7e2a
--- /dev/null
+++ b/dev-perl/Socket6/Socket6-0.290.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=UMEMOTO
+DIST_VERSION=0.29
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="IPv6 related part of the C socket.h defines and structure manipulators"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.290.0-pointer-warning.patch
+)
+
+src_unpack() {
+ default
+ tc-export CC
+}
diff --git a/dev-perl/Socket6/files/Socket6-0.290.0-pointer-warning.patch b/dev-perl/Socket6/files/Socket6-0.290.0-pointer-warning.patch
new file mode 100644
index 000000000000..d8a7b180602e
--- /dev/null
+++ b/dev-perl/Socket6/files/Socket6-0.290.0-pointer-warning.patch
@@ -0,0 +1,12 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=116784
+--- a/Socket6.xs
++++ b/Socket6.xs
+@@ -109,7 +109,7 @@ const struct in6_addr in6addr_loopback = IN6ADDR_LOOPB
+ #define PL_sv_undef sv_undef
+ #endif
+
+-static int
++static long
+ not_here(char *s)
+ {
+ croak("Socket6::%s not implemented on this architecture", s);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Socket6/, dev-perl/Socket6/files/
@ 2025-07-23 2:32 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-07-23 2:32 UTC (permalink / raw
To: gentoo-commits
commit: 5fef5e045101a3dfa23e7274e5e231c9e3f768c5
Author: Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Mon Jul 21 19:43:14 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 02:29:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fef5e04
dev-perl/Socket6: remove which command from configure and Makefile.PL
Closes: https://bugs.gentoo.org/954831
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/43103
Closes: https://github.com/gentoo/gentoo/pull/43103
Signed-off-by: Sam James <sam <AT> gentoo.org>
...0.290.0-r1.ebuild => Socket6-0.290.0-r2.ebuild} | 8 +++++++-
dev-perl/Socket6/files/Socket6-0.290.0-which.patch | 23 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/dev-perl/Socket6/Socket6-0.290.0-r1.ebuild b/dev-perl/Socket6/Socket6-0.290.0-r2.ebuild
similarity index 80%
rename from dev-perl/Socket6/Socket6-0.290.0-r1.ebuild
rename to dev-perl/Socket6/Socket6-0.290.0-r2.ebuild
index b1cdfd4c7e2a..6a7af9c6dfd8 100644
--- a/dev-perl/Socket6/Socket6-0.290.0-r1.ebuild
+++ b/dev-perl/Socket6/Socket6-0.290.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DIST_AUTHOR=UMEMOTO
DIST_VERSION=0.29
-inherit perl-module toolchain-funcs
+inherit autotools perl-module toolchain-funcs
DESCRIPTION="IPv6 related part of the C socket.h defines and structure manipulators"
@@ -15,9 +15,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv
PATCHES=(
"${FILESDIR}"/${PN}-0.290.0-pointer-warning.patch
+ "${FILESDIR}"/${PN}-0.290.0-which.patch
)
src_unpack() {
default
tc-export CC
}
+
+src_prepare () {
+ default
+ eautoreconf
+}
diff --git a/dev-perl/Socket6/files/Socket6-0.290.0-which.patch b/dev-perl/Socket6/files/Socket6-0.290.0-which.patch
new file mode 100644
index 000000000000..495c0bb73d37
--- /dev/null
+++ b/dev-perl/Socket6/files/Socket6-0.290.0-which.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/954831
+--- a/configure.in
++++ b/configure.in
+@@ -35,7 +35,7 @@
+ AC_PROG_CC
+
+ changequote(<<, >>)
+-default_perl_path=`which perl | sed -e 's/\/\/*[^\/]*$//'`
++default_perl_path=`command -v perl | sed -e 's/\/\/*[^\/]*$//'`
+ changequote([,])
+
+ AC_ARG_WITH(perl,[ --with-perl=path-to-perl],
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -34,7 +34,7 @@
+ configure_mswin32();
+ } else {
+ local $ENV{TMPDIR} = $ENV{TMPDIR};
+- my $path_perl = ($^X =~ m!^/!o) ? $^X : `which $^X`;
++ my $path_perl = ($^X =~ m!^/!o) ? $^X : `command -v $^X`;
+ my $cmd = "CC='$Config{cc}' CFLAGS='$Config{ccflags}'";
+ if ($^O eq 'android') {
+ # Work around a bug in Android's sh:
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-23 2:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 2:32 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Socket6/, dev-perl/Socket6/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-06-29 3:45 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox