commit: 32f7342219d848f0d6c22977f2cd1f80906af495
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 6 18:35:58 2025 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Oct 6 19:01:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f73422
sci-libs/linux-gpib-modules: add 4.3.7
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
sci-libs/linux-gpib-modules/Manifest | 1 +
.../files/linux-gpib-modules-4.3.7-depmod.patch | 22 ++++++++++++++++++++++
...9999.ebuild => linux-gpib-modules-4.3.7.ebuild} | 4 ++--
.../linux-gpib-modules-9999.ebuild | 2 +-
4 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/sci-libs/linux-gpib-modules/Manifest
b/sci-libs/linux-gpib-modules/Manifest
index 6d2b8be9a89a..fd0d88128b66 100644
--- a/sci-libs/linux-gpib-modules/Manifest
+++ b/sci-libs/linux-gpib-modules/Manifest
@@ -1 +1,2 @@
DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B
64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98
SHA512
a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35
+DIST linux-gpib-4.3.7.tar.gz 1309937 BLAKE2B
22808daa8bc3bbb9c93dc94b0186327ec1f40d72842b00a4d8907d03e769ce378544de5a02b4b597f94a7928c265bcc21055134a14ff8855a0380a83eaa14258
SHA512
a0783cf54f37132b6f608f555d453be3c1da693e4bddff9e87b40c0ba034a44ac640c87f96d187cf6f98501177f09fec04e7380512bcbb7fc8d0d4652b3be7ad
diff --git
a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch
b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch
new file mode 100644
index 000000000000..34ae11eea6c7
--- /dev/null
+++ b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch
@@ -0,0 +1,22 @@
+Depmod fails here since we're still in DESTDIR and the actual target path may
+not exist...
+
+
+diff --git a/Makefile b/Makefile
+index 356bba54..8f5b4b63 100644
+--- a/Makefile
++++ b/Makefile
+@@ -27,13 +27,9 @@ clean:
+ M="$(GPIB_SRCDIR)/drivers/gpib" \
+ GPIB_TOP_DIR=$(GPIB_SRCDIR)
+
+-#We run depmod explicitly because the depmod.sh script run
+-#by modules_install fails on Debian due to it failing to find
+-#the System.map file.
+ install:
+ $(MAKE) -C $(LINUX_SRCDIR) V=$(VERBOSE) modules_install\
+ M="$(GPIB_SRCDIR)/drivers/gpib" \
+ GPIB_TOP_DIR=$(GPIB_SRCDIR) \
+ INSTALL_MOD_DIR=gpib
+- /sbin/depmod -A
+
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild
similarity index 95%
copy from sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
copy to sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild
index cf690543f994..7dfd26dc947c 100644
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild
@@ -29,10 +29,10 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
# don't fix debian bugs if they break gentoo
- "${FILESDIR}/${PN}-9999-depmod.patch"
+ "${FILESDIR}/${PN}-4.3.7-depmod.patch"
)
-MODULES_KERNEL_MIN=2.6.8
+MODULES_KERNEL_MIN=4.0
src_unpack() {
if [[ ${PV} == 9999 ]]; then
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
b/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
index cf690543f994..a0a9ebb62f2e 100644
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild
@@ -32,7 +32,7 @@ PATCHES=(
"${FILESDIR}/${PN}-9999-depmod.patch"
)
-MODULES_KERNEL_MIN=2.6.8
+MODULES_KERNEL_MIN=4.0
src_unpack() {
if [[ ${PV} == 9999 ]]; then