commit: 0c5f0e9896c730521fcde2154229025597f609b6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 6 15:56:42 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 6 16:02:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5f0e98
net-wireless/rtl-sdr: fix subslot
In 2.0.0 and 2.0.1, the SONAME was accidentally "2". In 2.0.2, it
was restored back to "0" (see 7ebcb041f2ce887ef4d1a64607558889a86ff169
upstream).
We can't really know what users built against what and when without
us having had a subslot at the time, so we use 0.1 in it to be safe to avoid
broken binaries by forcing rebuilds.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../rtl-sdr/{rtl-sdr-2.0.2-r1.ebuild => rtl-sdr-2.0.2-r2.ebuild} | 7 ++++++-
net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/net-wireless/rtl-sdr/rtl-sdr-2.0.2-r1.ebuild
b/net-wireless/rtl-sdr/rtl-sdr-2.0.2-r2.ebuild
similarity index 78%
rename from net-wireless/rtl-sdr/rtl-sdr-2.0.2-r1.ebuild
rename to net-wireless/rtl-sdr/rtl-sdr-2.0.2-r2.ebuild
index 3517c4edf1a3..fce19e51e4bb 100644
--- a/net-wireless/rtl-sdr/rtl-sdr-2.0.2-r1.ebuild
+++ b/net-wireless/rtl-sdr/rtl-sdr-2.0.2-r2.ebuild
@@ -17,7 +17,12 @@ else
fi
LICENSE="GPL-2+ GPL-3+"
-SLOT="0"
+# In 2.0.0 and 2.0.1, the SONAME was accidentally "2". In 2.0.2, it
+# was restored back to "0" (see 7ebcb041f2ce887ef4d1a64607558889a86ff169
upstream).
+# We can't really know what users built against what and when without
+# us having had a subslot at the time, so we use 0.1 in it to be safe to avoid
+# broken binaries by forcing rebuilds.
+SLOT="0/0.1"
IUSE="+zerocopy"
DEPEND="virtual/libusb:1"
diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
index 521b9853c53c..0a07e428ff0d 100644
--- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
+++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
@@ -17,7 +17,12 @@ else
fi
LICENSE="GPL-2+ GPL-3+"
-SLOT="0"
+# In 2.0.0 and 2.0.1, the SONAME was accidentally "2". In 2.0.2, it
+# was restored back to "0" (see 7ebcb041f2ce887ef4d1a64607558889a86ff169
upstream).
+# We can't really know what users built against what and when without
+# us having had a subslot at the time, so we use 0.1 in it to be safe to avoid
+# broken binaries by forcing rebuilds.
+SLOT="0/0.1"
IUSE="+zerocopy"
DEPEND="virtual/libusb:1"