summaryrefslogtreecommitdiff
path: root/net-print/mtink
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-12 06:46:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-12 06:46:08 +0000
commitc6e62298405d39e635c0d8dd6e026c8cb667a478 (patch)
tree797bd877e6cc2cdcfe3e39ecfedf34781075fc86 /net-print/mtink
parent2c3b9bbdb114cc13b6ef8e0e5933c9e374fca8b6 (diff)
gentoo auto-resync : 12:03:2024 - 06:46:08
Diffstat (limited to 'net-print/mtink')
-rw-r--r--net-print/mtink/Manifest3
-rw-r--r--net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch57
-rw-r--r--net-print/mtink/mtink-1.0.16-r2.ebuild7
3 files changed, 63 insertions, 4 deletions
diff --git a/net-print/mtink/Manifest b/net-print/mtink/Manifest
index fe523a7e0ed7..a9608fc84340 100644
--- a/net-print/mtink/Manifest
+++ b/net-print/mtink/Manifest
@@ -1,3 +1,4 @@
+AUX mtink-1.0.16-fix-function-declarations.patch 1321 BLAKE2B 4b8c0a4fb500df116ef828e6422c81d84d64d779e017ef3c4c19b037fa73ba29714713cec3dec7acbc01e875cf5ed41d3e407477ab8f5046dd239bed6257d438 SHA512 4a1aae58aeba3a7c57b3e2bf9d5a408ead3d46290438c6e20bef56e1d57d175fce373be93676ea59cf22f7db8a8eed2e8fbc323dbe0d87012cdb920fbb42347c
AUX mtink-1.0.16-flags.patch 10417 BLAKE2B 0dda45b5875baf2eeff920a01a70c12e00d6e0c2d3b132f6db4ca3a49c98ca823fb3c7da5d5e922a0cb9bd559c84df4157bc03d546c18319a47d1ead9776636c SHA512 89ec2300c62d0b5199f9132570c2add7ecbb9bb458cdc70fc4ecffa534a4a1c594c19f07320fb71653d5b9ef6dcf3e20b3c06679d05eb4d9a24549f7ec4e0a2d
AUX mtink-1.0.16-fno-common.patch 503 BLAKE2B 0fc490e0d8841b14e325271f6c74ea9cc7f1d3a1458ce4e97818104203d2e0bd7ce46aef04c3643591bb6904068d0de070f57840dba184e7ea1fd0054ee77736 SHA512 985e6bd88f921f524c868c691dd0f22f176f7802f739595d8965e965973cba56b35effc7f4c7367d83db67e35ad160892f5f7e34e3ea0a37a22ecdb0ee5be009
AUX mtink-1.0.16-motif.patch 1095 BLAKE2B aada78e3861cf32bcdb3059c1bf0983ea43df94033caf7ae5a411ff6e277363aab85ca84c4e859af976bf3085ccdc1db0b2e73a159a7603dcf0dfa81f011a943 SHA512 9e8bb6a7ed81afd9c2571ad45936637fcb7ed009ef057045d7272ee210c7420a203a18c9295e4101ad347e1ba899d9f8335e71db0f3b73b5db245afae3991379
@@ -5,5 +6,5 @@ AUX mtink-1.0.16-overflow.patch 349 BLAKE2B 8c6e634f0b482ec6148a3ca6d75b783f34d4
AUX mtinkd.confd 383 BLAKE2B f407d4f3302d027f8bc2208554100ef427e9fa0735d488b75447b87a3fd0588978ff25425b384da33edfd38c02e0e66cb3e8433a9a7ef97d0e03042616bec8e5 SHA512 83bdc7aa3947c0f4f2161288fe634d355205a9e097cac6e82c2bc7f55afd6ae8bbee15c1871089ddf1c718b587a0f6929ad4be0590c601b7e3428c0ef79ed331
AUX mtinkd.rc 332 BLAKE2B ba7902b7d2e2aa00530ba1466d78eb9f91311ea164c242e2980cf5139624e9fbd607d26e824925acfa4fa7c8a6f29c76435c05b5ad143268119aa5d1677f4e7d SHA512 764cf45bf56f2fa50b3b927422e2374e1142ac1b29022b0f44cd462618587fa568200b08f56d802d3754698928a6f65a39d05d3cfde51c32b57db3b85fbca034
DIST mtink-1.0.16.tar.gz 916315 BLAKE2B 27ea1a44b1271530ea9537ee651c5e8006a68239fbc350292bb26bbab36c619263804122e2ac20d8c473ed3515e8d2d03bccd74fa98da70dfcf215433b74d326 SHA512 e760b09643e55d4dfa6367cad2da3695db1af3e9b2f0ff1ad4a72eedfb0393b797af507b0e02d7f17300824959f4224ec8cbd745cfa1c45c55f7ab0fab34dec4
-EBUILD mtink-1.0.16-r2.ebuild 1776 BLAKE2B bd8b35039c06bd7d280778facff7006ee7b939ccdac4ae6924d5c4a2b871abae5679bffc89cc56fda745e35740689b6c02a3a35952c197879ed7777f57f07fdb SHA512 06e2aa43335fe8efe7433d1e4d2b82f9338757e7a892565aef9379450264c748161074cb548e31bbe40d6fdfb6e8941efa386c9b0372e660352247ad584ac77b
+EBUILD mtink-1.0.16-r2.ebuild 1914 BLAKE2B 88c97632d5bd9b37e5882a932c7c1f869339d68c68d9d12b2eb611aef02933a1eabd6280d5a33f7e5ce5f2e095bee3e8b3d6b41c5c73ae284b9e14e1107f9ebf SHA512 26e17b4d2f06af78c8274c3b132b8d07c475165c1b9a23187e28cd784f240820174d952842f34c3c600ae57906f6ef6e6ad1747ecff6632d126fb2dd92f4428c
MISC metadata.xml 260 BLAKE2B ef27f93753b1b9b96d35941f8a39c7e3b1695a49bff8076cb92b718524ddf1449ffa97d26ae289ad493695a8bfbeadb6bee0030f649bef02e0ae155ca851713e SHA512 94c019f5d5e8bec9d817d4b192ae0b87effc9f73283800b6ee7b5fe50a85bf6e245eb9720c2d8f3b497b40c7e298969c5e23c5afe3af14384eee92e76afacc8c
diff --git a/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch b/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch
new file mode 100644
index 000000000000..459341f63a79
--- /dev/null
+++ b/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch
@@ -0,0 +1,57 @@
+Description: fix function declarations
+ This patch fixes various conflicting and implicit function declarations
+ reported by goto-cc from the cbmc package.
+Bug-Debian: http://bugs.debian.org/749433
+Author: Graham Inggs <graham@nerve.org.za>
+Forwarded: No, nothing left to forward to
+Last-Update: 2015-05-31
+--- a/mainSrc/cmd.h
++++ b/mainSrc/cmd.h
+@@ -70,6 +70,4 @@
+ }
+ #endif
+
+-extern int devRead(int fd, unsigned char *buf, int len, int timeout);
+-extern int devWrite(int fd, unsigned char *buf, int len, int timeout);
+ #endif
+--- a/mainSrc/rw.c
++++ b/mainSrc/rw.c
+@@ -18,6 +18,8 @@
+
+ #ifndef MACOS
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+--- a/mainSrc/cmd.c
++++ b/mainSrc/cmd.c
+@@ -53,6 +53,7 @@
+ #include "mtink.h"
+ #include "cmd.h"
+ #include "d4lib.h"
++#include "rw.h"
+
+ #ifdef MACOS
+ #include "usbHlp.h"
+--- a/mainSrc/gimp-mtink.c
++++ b/mainSrc/gimp-mtink.c
+@@ -23,6 +23,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <libgimp/gimp.h>
+ #include <unistd.h>
+ #include <dirent.h>
+--- a/detect/askPrinter.c
++++ b/detect/askPrinter.c
+@@ -1,6 +1,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+ #include <sys/time.h>
diff --git a/net-print/mtink/mtink-1.0.16-r2.ebuild b/net-print/mtink/mtink-1.0.16-r2.ebuild
index 8f231fa1e74e..4d46836b2d1f 100644
--- a/net-print/mtink/mtink-1.0.16-r2.ebuild
+++ b/net-print/mtink/mtink-1.0.16-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
inherit toolchain-funcs
DESCRIPTION="mtink is a status monitor and inkjet cartridge changer for some Epson printers"
-HOMEPAGE="http://xwtools.automatix.de/"
-SRC_URI="http://xwtools.automatix.de/files/${P}.tar.gz"
+HOMEPAGE="https://web.archive.org/web/20160316185818/http://xwtools.automatix.de/"
+SRC_URI="https://web.archive.org/web/20160316185818/http://xwtools.automatix.de/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${P}-flags.patch
"${FILESDIR}"/${P}-motif.patch
"${FILESDIR}"/${P}-fno-common.patch
+ "${FILESDIR}"/${P}-fix-function-declarations.patch
)
src_prepare() {