aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-18 16:56:25 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-18 16:56:25 +0100
commit44d7b224c51e71e634e42858bafac783e83557ec (patch)
tree4372b3b8c60de875daffde9627eccae18e0fe95e
parent9013752f8fe24073fa55c7930020c62dbe62294a (diff)
downloadaports-44d7b224c51e71e634e42858bafac783e83557ec.tar.gz
aports-44d7b224c51e71e634e42858bafac783e83557ec.tar.bz2
aports-44d7b224c51e71e634e42858bafac783e83557ec.tar.xz
main/syslinux: fix build with newer musl
-rw-r--r--main/syslinux/APKBUILD4
-rw-r--r--main/syslinux/fix-sysmacros.patch12
2 files changed, 15 insertions, 1 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD
index d3960ef118..a9ea0572a5 100644
--- a/main/syslinux/APKBUILD
+++ b/main/syslinux/APKBUILD
@@ -18,6 +18,7 @@ source="https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/${pkgver%_p
update-extlinux.conf
update-extlinux
0018-prevent-pow-optimization.patch
+ fix-sysmacros.patch
"
subpackages="$pkgname-doc $pkgname-dev"
@@ -59,4 +60,5 @@ package() {
sha512sums="7927dd39be8e2dcf4138a6fea33def67d19d938379d694f15b48fdd2f5924c028b7a9e7bd71d0c7c6630c203e9e2a54296628e530632ad5e6f55b1ebefe8fc98 syslinux-6.04-pre1.tar.xz
2ee5cae392e8aaebe3e6c37bdfbf88d4886ad4d9d200995479404c29314411d1c90247675c136ae0416e4b0a5e3b100c496c3b9cd70cf13beb7fde33fb374d4c update-extlinux.conf
bfeb911507c079c8b01027a7823e562d81100b1fcd0786c707ad33c5ce18fa0eb6d6db34bc7b6cbbc419248188970cebe8286345f4aa3662d16644c51f50b98c update-extlinux
-92fa48133ef702092d7acafae0e0e20f9355cd2b5fe199b96fcccba5a1e688c360de4d069391815255f5493228ad03998d20b99748323396d20d12a1f27c60cd 0018-prevent-pow-optimization.patch"
+92fa48133ef702092d7acafae0e0e20f9355cd2b5fe199b96fcccba5a1e688c360de4d069391815255f5493228ad03998d20b99748323396d20d12a1f27c60cd 0018-prevent-pow-optimization.patch
+6fb63b50a6c746445a58badc81cbf8525f38e2a7868b97ac21aa9d20c162f2318fab6c25505614700033a840aa5c06c3cef3065f11b5b5f4e514474194ff4b54 fix-sysmacros.patch"
diff --git a/main/syslinux/fix-sysmacros.patch b/main/syslinux/fix-sysmacros.patch
new file mode 100644
index 0000000000..dd622e86d9
--- /dev/null
+++ b/main/syslinux/fix-sysmacros.patch
@@ -0,0 +1,12 @@
+diff --git a/extlinux/main.c b/extlinux/main.c
+index a7ebd49..69bb164 100644
+--- a/extlinux/main.c
++++ b/extlinux/main.c
+@@ -41,6 +41,7 @@
+ #include <sys/types.h>
+ #include <sys/mount.h>
+ #include <sys/vfs.h>
++#include <sys/sysmacros.h>
+
+ #include "linuxioctl.h"
+