From 461b32d4ef5c6d7d5754cb6b74f9caaa85957000 Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Wed, 16 Aug 2017 11:19:45 +0200 Subject: games-util/wit: remove unused patch --- .../files/wit-2.30a-sizeof-pointer-memaccess.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 games-util/wit/files/wit-2.30a-sizeof-pointer-memaccess.patch (limited to 'games-util') diff --git a/games-util/wit/files/wit-2.30a-sizeof-pointer-memaccess.patch b/games-util/wit/files/wit-2.30a-sizeof-pointer-memaccess.patch deleted file mode 100644 index 32ef56f8653c..000000000000 --- a/games-util/wit/files/wit-2.30a-sizeof-pointer-memaccess.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- wit-2.30a/src/lib-file.c -+++ wit-2.30a/src/lib-file.c -@@ -3510,7 +3510,7 @@ - DASSERT(fmap); - DASSERT(n_elem>0); - -- memset(fmap,0,sizeof(fmap)); -+ memset(fmap,0,sizeof(*fmap)); - - u64 last_off = 0; - while ( last_off < file->st.st_size ) ---- wit-2.30a/src/wfuse.c -+++ wit-2.30a/src/wfuse.c -@@ -340,7 +340,7 @@ - } - ResetWBFS(df->wbfs); - FREE(df->wbfs); -- memset(df,0,sizeof(df)); -+ memset(df,0,sizeof(*df)); - n_dfile--; - } - -@@ -352,7 +352,7 @@ - - if (found_df) - { -- memset(found_df,0,sizeof(found_df)); -+ memset(found_df,0,sizeof(*found_df)); - WBFS_t * wbfs = MALLOC(sizeof(*wbfs)); - InitializeWBFS(wbfs); - enumError err = OpenWBFS(wbfs,source_file,false,true,0); -- cgit v1.2.3-65-gdbad