syslinux: fix build for glibc 2.36
This commit is contained in:
parent
58361cb6fb
commit
517e19d245
2 changed files with 32 additions and 2 deletions
30
srcpkgs/syslinux/patches/fix-build-with-glibc-2.36.patch
Normal file
30
srcpkgs/syslinux/patches/fix-build-with-glibc-2.36.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- a/linux/syslinux.c
|
||||
+++ b/linux/syslinux.c
|
||||
@@ -45,7 +45,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
-#include <sys/mount.h>
|
||||
|
||||
#include "linuxioctl.h"
|
||||
|
||||
--- a/libinstaller/syslxcom.c
|
||||
+++ b/libinstaller/syslxcom.c
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/mount.h>
|
||||
#include <sys/vfs.h>
|
||||
|
||||
#include "linuxioctl.h"
|
||||
--- a/extlinux/main.c
|
||||
+++ b/extlinux/main.c
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/mount.h>
|
||||
#include <sys/vfs.h>
|
||||
|
||||
#include "linuxioctl.h"
|
|
@ -1,7 +1,8 @@
|
|||
# Template file for 'syslinux'
|
||||
pkgname=syslinux
|
||||
version=6.03
|
||||
revision=7
|
||||
revision=8
|
||||
archs="i686* x86_64*"
|
||||
hostmakedepends="perl python nasm"
|
||||
makedepends="gnu-efi-libs libuuid-devel"
|
||||
short_desc="Boot loader for the Linux operating system"
|
||||
|
@ -10,7 +11,6 @@ license="GPL-2.0-or-later"
|
|||
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project"
|
||||
distfiles="${KERNEL_SITE}/utils/boot/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
checksum=26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e
|
||||
archs="i686* x86_64*"
|
||||
nopie=yes
|
||||
|
||||
pre_build() {
|
||||
|
|
Loading…
Add table
Reference in a new issue