diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-11-18 11:05:53 -0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-19 07:54:44 +0000 |
commit | 45a696e796150bfb88a2cda8a4fa3803ab23c27c (patch) | |
tree | 27238dc69600066f0925a80863ea1b52331762ed /testing/physfs/silence-gcc.patch | |
parent | 62e864207c67d5be9bed0111de867ade516b7019 (diff) | |
download | aports-45a696e796150bfb88a2cda8a4fa3803ab23c27c.tar.bz2 aports-45a696e796150bfb88a2cda8a4fa3803ab23c27c.tar.xz |
testing/physfs: new package
Diffstat (limited to 'testing/physfs/silence-gcc.patch')
-rw-r--r-- | testing/physfs/silence-gcc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/physfs/silence-gcc.patch b/testing/physfs/silence-gcc.patch new file mode 100644 index 0000000000..d4318f6f48 --- /dev/null +++ b/testing/physfs/silence-gcc.patch @@ -0,0 +1,19 @@ +commit e64432ac6dde3bf6943d8fc929241d57a961a673 +Author: Isaac Dunham <ibid.ag@gmail.com> +Date: Tue Nov 18 10:26:22 2014 -0800 + + shut up gcc: data_start is stored to, not used + +diff --git a/archivers/zip.c b/archivers/zip.c +index 0e65453..611198d 100644 +--- a/archivers/zip.c ++++ b/archivers/zip.c +@@ -1113,7 +1113,7 @@ static void *ZIP_openArchive(const char *name, int forWriting) + { + void *in = NULL; + ZIPinfo *info = NULL; +- PHYSFS_uint32 data_start; ++ PHYSFS_uint32 data_start = data_start; + PHYSFS_uint32 cent_dir_ofs; + + BAIL_IF_MACRO(forWriting, ERR_ARC_IS_READ_ONLY, NULL); |