From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: mstflint-4.13.3
Date: Wed, 04 Mar 2020 02:33:40 +0100 [thread overview]
Message-ID: <20200304013340.q1PxCYzksivRFpMvIOOP5vDuhvdC0C-YDgkfdXDcHr0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19569@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/19569#issuecomment-594270321
Comment:
This fixup for musl:
```diff
srcpkgs/mstflint/patches/musl.patch | 11 +++++++++++
srcpkgs/mstflint/template | 2 ++
2 files changed, 13 insertions(+)
diff --git a/srcpkgs/mstflint/patches/musl.patch b/srcpkgs/mstflint/patches/musl.patch
new file mode 100644
index 0000000000..524c077438
--- /dev/null
+++ b/srcpkgs/mstflint/patches/musl.patch
@@ -0,0 +1,11 @@
+--- mtcr_ul/mtcr_ul_com.c.orig 2020-03-04 08:19:35.889730972 +0700
++++ mtcr_ul/mtcr_ul_com.c 2020-03-04 08:19:41.690743181 +0700
+@@ -76,7 +76,7 @@
+
+ #if CONFIG_ENABLE_MMAP
+ #include <sys/mman.h>
++#include <linux/pci.h>
+-#include <sys/pci.h>
+ #include <sys/ioctl.h>
+ #endif
+
diff --git a/srcpkgs/mstflint/template b/srcpkgs/mstflint/template
index 7ebe2bcd27..5dfb7283b9 100644
--- a/srcpkgs/mstflint/template
+++ b/srcpkgs/mstflint/template
@@ -13,6 +13,8 @@ homepage="https://github.com/Mellanox/mstflint"
distfiles="https://github.com/Mellanox/mstflint/releases/download/v${version}${subvers}/${pkgname}-${version}${subvers}.tar.gz"
checksum=3abc918311fc07e4add7564879bd4a8def8ccfed40962f31682c75f2ee8a58d1
+CFLAGS="-Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t"
+
mstflint-devel_package() {
depends="${pkgname}-${version}_${revision}"
short_desc+=" - development files"
```
next prev parent reply other threads:[~2020-03-04 1:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19569@inbox.vuxu.org>
2020-03-04 1:03 ` sgn
2020-03-04 1:04 ` sgn
2020-03-04 1:33 ` sgn [this message]
2020-03-04 1:56 ` ArmedAviator
2020-04-03 0:34 ` [PR PATCH] [Closed]: " ArmedAviator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200304013340.q1PxCYzksivRFpMvIOOP5vDuhvdC0C-YDgkfdXDcHr0@z \
--to=sgn@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).