summaryrefslogtreecommitdiff
path: root/sysutils/syslinux/files/patch-libinstaller-syslinux.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sysutils/syslinux/files/patch-libinstaller-syslinux.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/sysutils/syslinux/files/patch-libinstaller-syslinux.h b/sysutils/syslinux/files/patch-libinstaller-syslinux.h
index c7c11fa4a6f9..acbec42de7f6 100644
--- a/sysutils/syslinux/files/patch-libinstaller-syslinux.h
+++ b/sysutils/syslinux/files/patch-libinstaller-syslinux.h
@@ -1,37 +1,39 @@
---- libinstaller/syslinux.h.orig 2013-10-13 19:59:03.000000000 +0200
-+++ libinstaller/syslinux.h 2014-09-29 05:30:55.000000000 +0200
-@@ -13,20 +13,21 @@
+--- libinstaller/syslinux.h.orig 2014-10-06 18:27:44.000000000 +0200
++++ libinstaller/syslinux.h 2014-10-21 23:58:17.000000000 +0200
+@@ -13,6 +13,7 @@
#ifndef SYSLINUX_H
#define SYSLINUX_H
-+#include <sys/types.h>
++#include <unistd.h>
#include <inttypes.h>
#include "advconst.h"
#include "setadv.h"
+@@ -26,15 +27,15 @@
+ #endif
/* The standard boot sector and ldlinux image */
-extern unsigned char syslinux_bootsect[];
-+extern unsigned char *syslinux_bootsect;
++extern unsigned char* syslinux_bootsect;
extern const unsigned int syslinux_bootsect_len;
extern const int syslinux_bootsect_mtime;
--extern unsigned char syslinux_ldlinux[];
+-extern unsigned char _slimg syslinux_ldlinux[];
-extern const unsigned int syslinux_ldlinux_len;
-+extern unsigned char *syslinux_ldlinux;
++extern unsigned char* _slimg syslinux_ldlinux;
+extern unsigned int syslinux_ldlinux_len;
extern const int syslinux_ldlinux_mtime;
--extern unsigned char syslinux_ldlinuxc32[];
-+extern unsigned char *syslinux_ldlinuxc32;
+-extern unsigned char _slimg syslinux_ldlinuxc32[];
++extern unsigned char* _slimg syslinux_ldlinuxc32;
extern const unsigned int syslinux_ldlinuxc32_len;
-
+
#define boot_sector syslinux_bootsect
-@@ -34,7 +35,7 @@
+@@ -42,7 +43,7 @@
#define boot_image syslinux_ldlinux
#define boot_image_len syslinux_ldlinux_len
-extern unsigned char syslinux_mbr[];
-+extern unsigned char *syslinux_mbr;
++extern unsigned char* syslinux_mbr;
extern const unsigned int syslinux_mbr_len;
extern const int syslinux_mbr_mtime;