summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-14 01:31:03 +0000
committerSam James <sam@gentoo.org>2021-12-14 01:31:03 +0000
commiteb57f9fa838562b3e70f3d1274336853b7e7a428 (patch)
tree55836ce8deafca7ce266a6fa76a636e18e9afcc7 /net-libs
parentdev-cpp/doctest: add 2.4.7 (diff)
downloadgentoo-eb57f9fa838562b3e70f3d1274336853b7e7a428.tar.gz
gentoo-eb57f9fa838562b3e70f3d1274336853b7e7a428.tar.bz2
gentoo-eb57f9fa838562b3e70f3d1274336853b7e7a428.zip
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@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnids/files/libnids-1.26-revert-SONAME-bump.patch26
-rw-r--r--net-libs/libnids/libnids-1.26-r1.ebuild (renamed from net-libs/libnids/libnids-1.26.ebuild)1
2 files changed, 27 insertions, 0 deletions
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 <sam@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
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() {