From c839a9fe273455b5aec6ce837512ded9b7ff2217 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Sun, 5 Dec 2010 13:38:10 +0000 Subject: - Fix build on FreeBSD 7.x Reported by: pointyhat (pav) --- sysutils/syslinux/Makefile | 4 ---- sysutils/syslinux/files/patch-libinstaller-syslinux.h | 12 +++++++++--- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'sysutils/syslinux') 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 -.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 + #include + #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 -- cgit v1.2.3