summaryrefslogtreecommitdiff
path: root/sci-libs/linux-gpib-modules
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-03 14:01:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-03 14:01:21 +0100
commita11ba9ffa8140a9c55c950a6947bc472b489a10a (patch)
tree4f290d635d831599222130ba8ddbf1a726129426 /sci-libs/linux-gpib-modules
parent0a65aa74175d9ac6570321fe11725dc30c574e08 (diff)
gentoo auto-resync : 03:08:2022 - 14:01:21
Diffstat (limited to 'sci-libs/linux-gpib-modules')
-rw-r--r--sci-libs/linux-gpib-modules/Manifest3
-rw-r--r--sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch21
-rw-r--r--sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild3
3 files changed, 26 insertions, 1 deletions
diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest
index ff5cec12349d..5ae40332aa68 100644
--- a/sci-libs/linux-gpib-modules/Manifest
+++ b/sci-libs/linux-gpib-modules/Manifest
@@ -1,4 +1,5 @@
+AUX linux-gpib-modules-4.3.4-depmod.patch 744 BLAKE2B 6079d0523cafcd15e38a7e73e8a0d98e107220e6816bd7646c254044acaa1d39d19e983987dff70c249a67b7accbc74a836f8ddd9f39503cdd510edc2d6bdbc2 SHA512 417193e768b0b5bd41b053a86ebbab163a74662e7f2912c70ae76a873243fb218b24f0680699f9988d4e9097b8bbd8a23902d3f5652675f8a3dbb02915308f12
AUX linux-gpib-modules-4.3.4-kernel-5.17.patch 853 BLAKE2B 501282329fdf34d2bb0ccbed9f8bb865711d505ba2a444d659fc97deffae27d179cad522239efd4c63767705e45881c6fb6e1d2f6815085204215bbcbd89606b SHA512 275c693b35885f4913345de26ca17c88deecd3e8513e73787342808fb4ed021dbfc88e6233b5f04cd6b892e43a601a24de27fd656ba6085b3027acbe96c7bc55
DIST linux-gpib-4.3.4.tar.gz 1395770 BLAKE2B 3c7182ac127851ebf0f5416ea639d7f858c160ba00f01aa7f7e423f6fb7b3be5b089424d3a473497562d040c194483ebc93d8a2a0f64582fb8907b42e2c4b832 SHA512 397ad86883bf562b004673ae47218108d392f2a15121c95926ea38764e7a76b382cb199fd48c35c9777f34c8eb99965e3d4ea2028e86ce02bcda4bd23127cbd5
-EBUILD linux-gpib-modules-4.3.4-r1.ebuild 1333 BLAKE2B 01222b3916c94f37a1c56730250a8c18e7edc7dff38f24deedd8fb03a252bb463be715ce5c876a84b1b9a27296ea99ad3a4003ead13f9b5ab2f2110e87c36e55 SHA512 c0933ba0c463a167566448a5ee2b46dee929c6e9251baa0182a681d75c71eefb367fbc385cc2b48b0debd4ccda9259c40caf5eccd4a08587cf3ed2b2eadb0f5c
+EBUILD linux-gpib-modules-4.3.4-r1.ebuild 1413 BLAKE2B d3e198d765aa8b80471213444d13e0f28a09cc19586b46d3672812e7fc3fd22df29562724af6382c08bc6041c5a87ee1005475ee9e750a2cb8bfdb656a2cfaca SHA512 0df86e4e6ce843cef29f333e7f562c9a6bd4f5846dec4354e2584a23266615a642dc91bf7e8bb67276b81f7216bacd6047ed8c831fa6494e6b1fd517758193e3
MISC metadata.xml 481 BLAKE2B 5ee2924d1131f188c19c84bbfa8a3e2c6093387d15db5a0bc86ea14d4b0c0f36924df7525fb26f0b6660efe1a75f20e19afbd71270386795bd6af82bc5cd38f8 SHA512 dd41ed66cff7ad48e4a107f512e1121fb630f6487ef7872aeab219ff39d6cdb4b5dc14fa19c1b7931697c555702c2bd8bb8ec553b060c11581f02d8a46f76ef4
diff --git a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch
new file mode 100644
index 000000000000..e858b974324c
--- /dev/null
+++ b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch
@@ -0,0 +1,21 @@
+Depmod fails here since we're still in DESTDIR and the actual target path may
+not exist...
+
+
+diff -ruN linux-gpib-kernel-4.3.4.orig/Makefile linux-gpib-kernel-4.3.4/Makefile
+--- linux-gpib-kernel-4.3.4.orig/Makefile 2020-12-29 10:42:34.000000000 +0100
++++ linux-gpib-kernel-4.3.4/Makefile 2022-08-02 12:21:38.097344102 +0200
+@@ -20,13 +20,9 @@
+ 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-4.3.4-r1.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild
index deba2dcfbbd1..40897bc634f4 100644
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild
@@ -25,6 +25,9 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
# https://sourceforge.net/p/linux-gpib/code/1998/
"${FILESDIR}/${P}-kernel-5.17.patch"
+
+ # don't fix debian bugs if they break gentoo
+ "${FILESDIR}/${P}-depmod.patch"
)
pkg_setup() {