commit:     eb57f9fa838562b3e70f3d1274336853b7e7a428
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 01:31:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 01:31:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb57f9fa

net-libs/libnids: revert SONAME change

Seems to be accidental. Avoid breaking consumers.

Bug: https://github.com/MITRECND/libnids/issues/9
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/libnids-1.26-revert-SONAME-bump.patch    | 26 ++++++++++++++++++++++
 ...{libnids-1.26.ebuild => libnids-1.26-r1.ebuild} |  1 +
 2 files changed, 27 insertions(+)

diff --git a/net-libs/libnids/files/libnids-1.26-revert-SONAME-bump.patch 
b/net-libs/libnids/files/libnids-1.26-revert-SONAME-bump.patch
new file mode 100644
index 000000000000..dc6abccd8c83
--- /dev/null
+++ b/net-libs/libnids/files/libnids-1.26-revert-SONAME-bump.patch
@@ -0,0 +1,26 @@
+From 0f07fe39585971b4c59f3a9b235e68d9c68184e3 Mon Sep 17 00:00:00 2001
+From: Sam James <s...@gentoo.org>
+Date: Tue, 14 Dec 2021 01:30:00 +0000
+Subject: [PATCH] Revert SONAME bump
+
+Bug: https://github.com/MITRECND/libnids/issues/9
+---
+ src/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index e7b6dd8..e72a5da 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -13,7 +13,7 @@ includedir   = @includedir@
+ libdir                = @libdir@
+ mandir                = @mandir@
+ LIBSTATIC      = libnids.a
+-LIBSHARED      = libnids.so.1.26
++LIBSHARED      = libnids.so.1.24
+ 
+ CC            = @CC@
+ CFLAGS                = @CFLAGS@ -DLIBNET_VER=@LIBNET_VER@ 
-DHAVE_ICMPHDR=@ICMPHEADER@ -DHAVE_TCP_STATES=@TCPSTATES@ 
-DHAVE_BSD_UDPHDR=@HAVE_BSD_UDPHDR@
+-- 
+2.34.1
+

diff --git a/net-libs/libnids/libnids-1.26.ebuild 
b/net-libs/libnids/libnids-1.26-r1.ebuild
similarity index 96%
rename from net-libs/libnids/libnids-1.26.ebuild
rename to net-libs/libnids/libnids-1.26-r1.ebuild
index fa141da12665..364e3468fe7f 100644
--- a/net-libs/libnids/libnids-1.26.ebuild
+++ b/net-libs/libnids/libnids-1.26-r1.ebuild
@@ -27,6 +27,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.24-libdir.patch
        "${FILESDIR}"/${PN}-1.24-static-libs.patch
        "${FILESDIR}"/${PN}-1.24-no-inline.patch
+       "${FILESDIR}"/${PN}-1.26-revert-SONAME-bump.patch
 )
 
 src_prepare() {

Reply via email to