summaryrefslogtreecommitdiff
path: root/source/a/syslinux
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/syslinux')
-rwxr-xr-xsource/a/syslinux/syslinux.SlackBuild2
-rw-r--r--source/a/syslinux/syslinux.glibc228.diff10
2 files changed, 12 insertions, 0 deletions
diff --git a/source/a/syslinux/syslinux.SlackBuild b/source/a/syslinux/syslinux.SlackBuild
index ff3b654d..ffc20dbb 100755
--- a/source/a/syslinux/syslinux.SlackBuild
+++ b/source/a/syslinux/syslinux.SlackBuild
@@ -54,6 +54,8 @@ rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1
cd ${PKGNAM}-$VERSION
+zcat $CWD/syslinux.glibc228.diff.gz | patch -p1 --verbose || exit 1
+
# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
diff --git a/source/a/syslinux/syslinux.glibc228.diff b/source/a/syslinux/syslinux.glibc228.diff
new file mode 100644
index 00000000..9e1a65b7
--- /dev/null
+++ b/source/a/syslinux/syslinux.glibc228.diff
@@ -0,0 +1,10 @@
+--- ./extlinux/main.c.orig 2013-07-25 04:28:59.000000000 -0500
++++ ./extlinux/main.c 2018-09-18 19:04:58.814072375 -0500
+@@ -36,6 +36,7 @@
+ #include <getopt.h>
+ #include <sysexits.h>
+ #include <sys/ioctl.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/mount.h>