sci-libs/linux-gpib-modules: drop 4.3.5-r3

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2025-02-16 12:08:17 +01:00
parent 43656bbf5e
commit 4ff05bebdf
3 changed files with 0 additions and 90 deletions

View File

@@ -1,2 +1 @@
DIST linux-gpib-4.3.5.tar.gz 1462624 BLAKE2B fff30ed1a7abc18cd4317e8f8979ef4014a532baab8c014f9a2eaa3338a2e8e8b672214d3f2b3f44066be15f432861a3fe3d67652f6966e73e561d99ff1e1566 SHA512 018cc255922a6335f8d28418b0a0808c3a369506470d9c81432ac7183ae255217d938a419e10ba2b0c44205a9d901405ce00ad5bdd968db2721cedd83baa2f76
DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35

View File

@@ -1,27 +0,0 @@
--- linux-gpib-kernel/compat/include/linux/device.h (revision 2052)
+++ linux-gpib-kernel/compat/include/linux/device.h (revision 2053)
@@ -47,6 +47,13 @@
* for kernel versions prior to 2.6.26, so the 'drvdata' parameter of
* CLASS_DEVICE_CREATE() is pretty useless.
*/
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
+#define CLASS_CREATE(owner, name) \
+ class_create(owner, name)
+#else
+#define CLASS_CREATE(owner, name) \
+ class_create(name)
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#include <pcmcia/cs_types.h>
--- linux-gpib-kernel/drivers/gpib/sys/osinit.c (revision 2052)
+++ linux-gpib-kernel/drivers/gpib/sys/osinit.c (revision 2053)
@@ -207,7 +207,7 @@
printk( "gpib: can't get major %d\n", GPIB_CODE );
return -EIO;
}
- gpib_class = class_create(THIS_MODULE, "gpib_common");
+ gpib_class = CLASS_CREATE(THIS_MODULE, "gpib_common");
if(IS_ERR(gpib_class))
{
printk("gpib: failed to create gpib class\n");

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1
DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware"
HOMEPAGE="https://linux-gpib.sourceforge.io/"
SRC_URI="https://downloads.sourceforge.net/linux-gpib/linux-gpib-${PV}.tar.gz"
S="${WORKDIR}/linux-gpib-kernel-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
IUSE="debug"
COMMONDEPEND=""
RDEPEND="${COMMONDEPEND}
acct-group/gpib
"
DEPEND="${COMMONDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
# don't fix debian bugs if they break gentoo
"${FILESDIR}/${PN}-4.3.4-depmod.patch"
# https://sourceforge.net/p/linux-gpib/code/2053/
"${FILESDIR}/${PN}-4.3.4-kernel-6.4.patch"
)
MODULES_KERNEL_MIN=2.6.8
src_unpack() {
default
unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz"
}
src_configure() {
MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" )
use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' )
}
src_compile() {
# The individual modules don't have separate targets so we can't use
# modlist here.
emake "${MODULES_MAKEARGS[@]}"
}
src_install() {
emake \
"${MODULES_MAKEARGS[@]}" \
DESTDIR="${ED}" \
INSTALL_MOD_PATH="${ED}" \
docdir="${ED}/usr/share/doc/${PF}/html" \
install
modules_post_process
dodoc ChangeLog AUTHORS README* NEWS
einstalldocs
}