SHA256
1
0
forked from pool/syslinux

4 Commits

4 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/gpxe/src/Makefile 2011-04-18 23:24:17.000000000 +0200
+++ b/gpxe/src/Makefile 2025-05-04 10:57:07.460410478 +0200
@@ -4,7 +4,7 @@
#
CLEANUP :=
-CFLAGS :=
+CFLAGS := -std=gnu11
ASFLAGS :=
LDFLAGS :=
MAKEDEPS := Makefile

17
syslinux-4.04-size.patch Normal file
View File

@@ -0,0 +1,17 @@
Newer versions of NASM (3.00+) require explicit
size hints for memory references when using movsx/movzx
to avoid ambiguity. Added "byte" keyword to indicate 8-to-16
bit sign extension.
Index: syslinux-4.04/core/getc.inc
===================================================================
--- syslinux-4.04.orig/core/getc.inc
+++ syslinux-4.04/core/getc.inc
@@ -193,7 +193,7 @@ ungetc:
push di
push bx
mov di,[CurrentGetC]
- movzx bx,[di+gc_unget_cnt]
+ movzx bx, byte [di+gc_unget_cnt]
mov [bx+di+gc_unget_buf],al
inc bx
mov [di+gc_unget_cnt],bl

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 29 19:42:57 UTC 2026 - Michael Vetter <mvetter@suse.com>
- bsc#1257495: NASM (3.00+) requires explicit size hints
Add syslinux-4.04-size.patch
-------------------------------------------------------------------
Sun May 4 09:18:37 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- Add syslinux-4.04-gpxe-gcc15.patch to fix gcc-15 compile time
errors during (re-)build of gpxelinux.0
-------------------------------------------------------------------
Mon Feb 26 13:28:56 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package syslinux
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -65,6 +65,8 @@ Patch23: %{name}-%{version}-lzo.patch
Patch24: %{name}-%{version}-gcc10.patch
Patch25: syslinux-4.04-reproducible-isohybrid.patch
Patch26: %{name}-%{version}-pie.patch
Patch27: %{name}-%{version}-gpxe-gcc15.patch
Patch28: syslinux-4.04-size.patch
%description
SYSLINUX is a boot loader for the Linux operating system which operates