mblaze: fix build on CRUX MUSL

This commit is contained in:
John McQuah 2024-08-01 18:11:56 +00:00
parent e8750f261c
commit 4c4ca5a04f
2 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,8 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxEU8Ul5fIvvBlAeryBJHBJpt9bkxgxhmzd8XiuVPYf70IYVXRd10Bw5eZsbvi87/HDRNjCAKrfA6L6pWe3sENAQ=
SHA256 (Pkgfile) = caa18a83b19323b6372bc72ee69ceee2a89d02c02693e8496adbff2a8bf2449a
RWTTPlFarK9CxOqrhkKcFh3r6XK9B+pBidpBgenpAKVjoQdfMQpCW+Xew05kvIEEg0ZREgX7GCNkvXspBFuNejogVoiJsdegpAI=
SHA256 (Pkgfile) = d7d54e0233a81265d11336ed4cf5933c1099ed55daa70c709a54001bc251a7c3
SHA256 (.footprint) = 6fc746ca88bb316e98fd2525578806717913e4d9da14730deb9b20e4d6bb93ca
SHA256 (mblaze-v1.2.tar.gz) = 50c164c88cc83b4f52691341ee14060da5a6f1859e86aa73ff595de4b410037f
SHA256 (mblaze-1.2.tar.gz) = 50c164c88cc83b4f52691341ee14060da5a6f1859e86aa73ff595de4b410037f
SHA256 (reuse-sent.patch) = ece58ab54ab4b65ffd5af0c59a12a4bcfacb4b257adc01f4ae8369dbe9e1b593
SHA256 (mblaze-delete.patch) = 45e79542f911ae356cf03c20ad65d6ce8bdc4b0fad632922c2ca47fe5d7c1cc1
SHA256 (mblaze-fofl.patch) = a829a8c52966dfa073b521214510eec78284214a7a8d2b9e26d979ad76f3e62e

View File

@ -6,7 +6,7 @@
name=mblaze
version=1.2
release=1
source=("https://github.com/leahneukirchen/mblaze/archive/v$version/$name-v$version.tar.gz"
source=("https://leahneukirchen.org/releases/$name-$version.tar.gz"
reuse-sent.patch mblaze-delete.patch mblaze-fofl.patch mdelete.1 mailshow)
build() {
@ -24,6 +24,10 @@ build() {
#
[ "${LANG:0:3}" = "en_" ] && patch -p1 < $SRC/mblaze-fofl.patch
# dirent.h on CRUX musl protects some macros behind an ifdef test,
# which the upstream source does not pass.
sed -e '1a #define _LARGEFILE64_SOURCE' -i mlist.c
make all
make DESTDIR=$PKG PREFIX="/usr" install