Skip to content

Commit

Permalink
syslinux: fix build for glibc 2.36
Browse files Browse the repository at this point in the history
  • Loading branch information
oreo639 authored and classabbyamp committed Sep 8, 2022
1 parent 58361cb commit 517e19d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions srcpkgs/syslinux/patches/fix-build-with-glibc-2.36.patch
@@ -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"
4 changes: 2 additions & 2 deletions srcpkgs/syslinux/template
@@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 517e19d

Please sign in to comment.