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-misc/yadex/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/yadex/files')
-rw-r--r-- | games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch | 11 | ||||
-rw-r--r-- | games-misc/yadex/files/yadex-1.7.0-elif.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch b/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch new file mode 100644 index 000000000000..7ceb7a558873 --- /dev/null +++ b/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch @@ -0,0 +1,11 @@ +--- yadex-1.7.0/src/wadlist.cc.old 2003-01-29 14:45:19.000000000 -0700 ++++ yadex-1.7.0/src/wadlist.cc 2003-01-29 14:45:56.000000000 -0700 +@@ -175,7 +175,7 @@ + priv->iter = priv->list.erase (i); + if (priv->iter == priv->list.begin ()) + { +- priv->iter = 0; // Catch bugs ++ priv->iter = (std::_List_iterator<boost::shared_ptr<Wad_file> >)NULL; // Catch bugs + priv->rewound = true; + } + } diff --git a/games-misc/yadex/files/yadex-1.7.0-elif.patch b/games-misc/yadex/files/yadex-1.7.0-elif.patch new file mode 100644 index 000000000000..a170cbe0ad77 --- /dev/null +++ b/games-misc/yadex/files/yadex-1.7.0-elif.patch @@ -0,0 +1,11 @@ +--- src/gfx.cc.old 2009-08-01 18:47:46.000000000 +0200 ++++ src/gfx.cc 2009-08-01 18:46:03.000000000 +0200 +@@ -310,7 +310,7 @@ + win_vis_id = vis_info->visualid; + #if defined _cplusplus || defined __cplusplus + win_vis_class = vis_info->c_class; +-#elif ++#else + win_vis_class = vis_info->class; + #endif + win_ncolours = vis_info->colormap_size; |