commit:     8a0004804e93e9c715802ff2625ae53b1388d383
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 05:43:39 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 05:44:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a000480

net-misc/socat: apply dropped const patch

Apply lost const-glibc-2.43 patch. Race between 
68dbdb6b7cd0005452521fea8e3914b1076fd67d
and c5f3e3050f95d470776c9b50ac05829c75970630.

Reported by parona.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../socat/files/{1.8.1.0-const.patch => socat-1.8.1.0-const.patch}     | 0
 net-misc/socat/socat-1.8.1.0-r1.ebuild                                 | 3 ++-
 net-misc/socat/socat-1.8.1.0.ebuild                                    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-misc/socat/files/1.8.1.0-const.patch 
b/net-misc/socat/files/socat-1.8.1.0-const.patch
similarity index 100%
rename from net-misc/socat/files/1.8.1.0-const.patch
rename to net-misc/socat/files/socat-1.8.1.0-const.patch

diff --git a/net-misc/socat/socat-1.8.1.0-r1.ebuild 
b/net-misc/socat/socat-1.8.1.0-r1.ebuild
index 768f8541de86..5ad85b65887d 100644
--- a/net-misc/socat/socat-1.8.1.0-r1.ebuild
+++ b/net-misc/socat/socat-1.8.1.0-r1.ebuild
@@ -29,7 +29,8 @@ RDEPEND="${DEPEND}"
 DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README 
SECURITY )
 
 PATCHES=(
-       "${FILESDIR}/${PN}-1.8.1.0-musl-fix.patch" # #968110
+       "${FILESDIR}"/${PN}-1.8.1.0-const.patch
+       "${FILESDIR}"/${PN}-1.8.1.0-musl-fix.patch # bug #968110
 )
 
 src_configure() {

diff --git a/net-misc/socat/socat-1.8.1.0.ebuild 
b/net-misc/socat/socat-1.8.1.0.ebuild
index e74ee422357f..7918fe323ecd 100644
--- a/net-misc/socat/socat-1.8.1.0.ebuild
+++ b/net-misc/socat/socat-1.8.1.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="${DEPEND}"
 
 DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README 
SECURITY )
 
-PATCHES=( "${FILESDIR}"/1.8.1.0-const.patch )
+PATCHES=( "${FILESDIR}"/${PN}-1.8.1.0-const.patch )
 
 src_configure() {
        # bug #293324

Reply via email to