changed or deleted faulty and unneeded memset's that caused build failure with gcc-4.8 -Werror

This commit is contained in:
Frantisek Kluknavsky 2013-02-22 13:36:49 +01:00
parent 2636290d89
commit 281cf18674
2 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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 <fkluknav@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 1.1.11-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild