- Fix build on FreeBSD 7.x
Reported by: pointyhat (pav)
This commit is contained in:
parent
d674ccf6aa
commit
c839a9fe27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265714
2 changed files with 9 additions and 7 deletions
|
@ -26,10 +26,6 @@ USE_PERL5_BUILD= yes
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 700000
|
||||
BROKEN= requires FreeBSD 7.x and higher
|
||||
.endif
|
||||
|
||||
# utility target to build pkg-plist
|
||||
_A = mbr/mbr.bin mbr/gptmbr.bin \
|
||||
core/pxelinux.0 core/isolinux.bin gpxe/gpxelinux.0 \
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
--- libinstaller/syslinux.h.orig 2010-10-20 21:25:38.000000000 +0200
|
||||
+++ libinstaller/syslinux.h 2010-11-16 15:03:24.279408609 +0100
|
||||
@@ -18,12 +18,12 @@
|
||||
+++ libinstaller/syslinux.h 2010-12-05 14:34:43.252716727 +0100
|
||||
@@ -13,17 +13,18 @@
|
||||
#ifndef SYSLINUX_H
|
||||
#define SYSLINUX_H
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include "advconst.h"
|
||||
#include "setadv.h"
|
||||
|
||||
/* The standard boot sector and ldlinux image */
|
||||
|
@ -16,7 +22,7 @@
|
|||
extern const int syslinux_ldlinux_mtime;
|
||||
|
||||
#define boot_sector syslinux_bootsect
|
||||
@@ -31,7 +31,7 @@
|
||||
@@ -31,7 +32,7 @@
|
||||
#define boot_image syslinux_ldlinux
|
||||
#define boot_image_len syslinux_ldlinux_len
|
||||
|
||||
|
|
Loading…
Reference in a new issue