diff --git a/cdrkit-1.1.11-memset.patch b/cdrkit-1.1.11-memset.patch index 453bfbe..9e4c5d0 100644 --- a/cdrkit-1.1.11-memset.patch +++ b/cdrkit-1.1.11-memset.patch @@ -1,3 +1,15 @@ +diff -up wrk/genisoimage/jte.c.wrk wrk/genisoimage/jte.c +--- wrk/genisoimage/jte.c.wrk 2013-02-22 13:24:47.722196877 +0100 ++++ wrk/genisoimage/jte.c 2013-02-22 13:31:50.967667591 +0100 +@@ -280,7 +280,7 @@ extern int list_file_in_jigdo(char *file + if (!jtemplate_out) + return 0; + +- memset(md5, 0, sizeof(md5)); ++ memset(md5, 0, sizeof(*md5)); + + /* Cheaper to check file size first */ + if (size < jte_min_size) diff -up wrk/genisoimage/md5.c.wrk wrk/genisoimage/md5.c --- wrk/genisoimage/md5.c.wrk 2013-02-22 13:15:18.210866321 +0100 +++ wrk/genisoimage/md5.c 2013-02-22 13:15:29.979935133 +0100 diff --git a/cdrkit.spec b/cdrkit.spec index d257559..b8412b1 100644 --- a/cdrkit.spec +++ b/cdrkit.spec @@ -22,7 +22,7 @@ Patch13: cdrkit-1.1.11-dvdman.patch Patch14: cdrkit-1.1.11-paranoiacdda.patch Patch15: cdrkit-1.1.11-utf8.patch Patch16: cdrkit-1.1.11-cmakewarn.patch -Patch17: cdrkit-1.1.11-edcspeed_memset.patch +Patch17: cdrkit-1.1.11-memset.patch BuildRequires: cmake libcap-devel zlib-devel perl file-devel bzip2-devel @@ -293,7 +293,7 @@ fi %changelog * Fri Feb 22 2013 Frantisek Kluknavsky - 1.1.11-16 -- faulty and unneeded memset in edcspeed.c caused a -Werror during build +- changed or deleted faulty and unneeded memset's that caused build failure with gcc-4.8 -Werror * Wed Feb 13 2013 Fedora Release Engineering - 1.1.11-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild