diff --git a/syslinux-3.82-isohybrid.diff b/syslinux-3.82-isohybrid.diff new file mode 100644 index 0000000..6fd77e0 --- /dev/null +++ b/syslinux-3.82-isohybrid.diff @@ -0,0 +1,13 @@ +diff --git a/utils/isohybrid.in b/utils/isohybrid.in +index a92b572..fd128aa 100644 +--- a/utils/isohybrid.in ++++ b/utils/isohybrid.in +@@ -194,7 +194,7 @@ if ($c > 1024) { + + # Preserve id when run again + if (defined($opt{'id'})) { +- $id = $opt{'id'}; ++ $id = pack("V", $opt{'id'}); + } else { + seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n"; + read(FILE, $id, 4); diff --git a/syslinux.changes b/syslinux.changes index 27fbcd3..de5650f 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 4 10:49:19 CEST 2009 - snwint@suse.de + +- fix isohybrid -id + ------------------------------------------------------------------- Wed Jun 10 11:59:54 CEST 2009 - snwint@suse.de diff --git a/syslinux.spec b/syslinux.spec index 8de0d6f..c1eb282 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -30,7 +30,7 @@ Requires: mtools AutoReqProv: on Summary: Boot Loader for Linux Version: 3.82 -Release: 1 +Release: 2 Source: %{name}-%{version}.tar.bz2 Source1: isolinux-config Source2: README.gfxboot @@ -38,6 +38,7 @@ Patch0: %{name}-%{version}-s_herbst.diff Patch1: %{name}-%{version}-gfxboot.diff Patch2: %{name}-%{version}-suse.diff Patch3: %{name}-%{version}-compat.diff +Patch4: %{name}-%{version}-isohybrid.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -58,6 +59,7 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build cp %{SOURCE2} .