diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-strategy/uqm/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-strategy/uqm/files')
-rw-r--r-- | games-strategy/uqm/files/uqm-0.7.0-tempdir.patch | 14 | ||||
-rw-r--r-- | games-strategy/uqm/files/uqm-0.7.0-warning.patch | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/games-strategy/uqm/files/uqm-0.7.0-tempdir.patch b/games-strategy/uqm/files/uqm-0.7.0-tempdir.patch new file mode 100644 index 000000000000..dbb693c660a8 --- /dev/null +++ b/games-strategy/uqm/files/uqm-0.7.0-tempdir.patch @@ -0,0 +1,14 @@ +# leaves files lying around bug #576098 + +diff -ru uqm-0.7.0.orig/build/unix/config_functions uqm-0.7.0/build/unix/config_functions +--- uqm-0.7.0.orig/build/unix/config_functions 2011-05-20 15:25:22.000000000 -0400 ++++ uqm-0.7.0/build/unix/config_functions 2016-03-09 02:46:41.512465876 -0500 +@@ -16,7 +16,7 @@ + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + BUILDLOG=/dev/null +-TEMPFILE="/tmp/build.$$.tmp" ++TEMPFILE="${T:-/tmp}/build.$$.tmp" + #KEEPTEMPFILES=keeptempfiles + + diff --git a/games-strategy/uqm/files/uqm-0.7.0-warning.patch b/games-strategy/uqm/files/uqm-0.7.0-warning.patch new file mode 100644 index 000000000000..7f05ee5bd1eb --- /dev/null +++ b/games-strategy/uqm/files/uqm-0.7.0-warning.patch @@ -0,0 +1,29 @@ +--- ./src/libs/sound/decoders/aiffaud.c.orig 2011-05-20 15:24:44.000000000 -0400 ++++ ./src/libs/sound/decoders/aiffaud.c 2016-03-10 00:53:37.336198208 -0500 +@@ -307,7 +307,7 @@ + { + int bytes; + +- memset(fmt, sizeof(*fmt), 0); ++ memset(fmt, 0, sizeof(*fmt)); + if (size < AIFF_COMM_SIZE) + { + aifa->last_error = aifae_BadFile; +@@ -369,7 +369,7 @@ + aifa->max_pcm = 0; + aifa->data_ofs = 0; + memset(&aifa->fmtHdr, 0, sizeof(aifa->fmtHdr)); +- memset(aifa->prev_val, sizeof(aifa->prev_val), 0); ++ memset(aifa->prev_val, 0, sizeof(aifa->prev_val)); + + // read wave header + if (!aifa_readFileHeader (aifa, &fileHdr)) +@@ -635,7 +635,7 @@ + + // reset previous values for SDX2 on seek ops + // the delta will recover faster with reset +- memset(aifa->prev_val, sizeof(aifa->prev_val), 0); ++ memset(aifa->prev_val, 0, sizeof(aifa->prev_val)); + + return pcm_pos; + } |