aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslinux
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-12-05 13:38:10 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-12-05 13:38:10 +0000
commitc839a9fe273455b5aec6ce837512ded9b7ff2217 (patch)
tree9a102688ac561b7b239c3323b7d3f00765b5e14e /sysutils/syslinux
parentd674ccf6aacb2ef850e64a3bb33258fe97293008 (diff)
- Fix build on FreeBSD 7.x
Reported by: pointyhat (pav)
Notes
Notes: svn path=/head/; revision=265714
Diffstat (limited to 'sysutils/syslinux')
-rw-r--r--sysutils/syslinux/Makefile4
-rw-r--r--sysutils/syslinux/files/patch-libinstaller-syslinux.h12
2 files changed, 9 insertions, 7 deletions
diff --git a/sysutils/syslinux/Makefile b/sysutils/syslinux/Makefile
index b87e887b375f..663347885a09 100644
--- a/sysutils/syslinux/Makefile
+++ b/sysutils/syslinux/Makefile
@@ -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 \
diff --git a/sysutils/syslinux/files/patch-libinstaller-syslinux.h b/sysutils/syslinux/files/patch-libinstaller-syslinux.h
index b7b51bd3b082..656ff493c431 100644
--- a/sysutils/syslinux/files/patch-libinstaller-syslinux.h
+++ b/sysutils/syslinux/files/patch-libinstaller-syslinux.h
@@ -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