SHA256
1
0
forked from pool/deutex
deutex/deutex-nolimit.diff
Jan Engelhardt 5fb04e6c8f Accepting request 560959 from home:avindra
- update to 5.1.0
  * General
    - The -overwrite option now works.
    - Levels are extracted/inserted in a way to preserve GL nodes.
    - Inserting pictures with a height of 1 pixel no longer causes
      a malloc error, and allows the operation of rebuilding a
      Doom 1 or 2 IWAD.
    - texture lump file names can now be overridden.
  * Graphics
    - DeuTex supports reading and writing sprite offsets based on
      PNG grab chunks in a manner compatible with SLADE and ZDoom.
      wadinfo.txt overrides these offsets unless -pngoffsets is used.
- includes 5.0.0
  * Removed features
    - DeuSF.
    - -man troff format generation.
    - WinTex options.
    - -fullsnd: now the only mode.
    - MS-DOS and OS/2 compatibility.
    - Incomplete (and conditioned out) Rise of the Triad support.
  * File format support
    - PNG support added, creating an optional dependency on libpng
      1.6. If compiled in, it is the default extraction format,
      PPM otherwise.
    - Au and VOC sound formats removed. WAV is the only supported
      format for extraction and creation.
    - Full sound lumps from the WAD are always extracted.
    - MIDI files can be included just by being named *.mid, and
      are extracted to the same file name extension.
  * General
    - Log file support has been removed, in favor of the user
      doing a shell redirection (eg, with > or 2>) instead.
    - Arch-vile sprites are now extracted and inserted using
      literal names for sprites with the [ and ] characters in
      names (was illegal in DOS), and sprite names with \ are
      now altered to use ^ on-disk, matching the ZDoom PK3
      standard.
    - Graphics with a height > 128 are now inserted into Doom WAD
      files correctly.
    - UDMF (Universal Doom Map Format) support.
  * Build systems, code standards
    - Real Autoconf+Automake build system to replace the
      barely-functioning imitation one. ./configure, make, and
      related environment variables work as should be expected.
    - MS-DOS and OS/2 batch files removed.
    - A malloc.h include was removed to allow compilation on MacOS,
      and is not needed by current Unix systems in general.
    - Major cleanup, linting and refactoring
    - C99-style cleanups to use (u)intN_t types, bool, true,
      false throughout the code, replacing old defines.
    - AsciiDoc now used for documentation
- cleanup with spec-cleaner
- remove patches obsoleted by upstream cleanup and refactoring
  * deutex-automake.diff
  * deutex-braces.diff
  * deutex-init-stdfp.diff
    - check_types removed (b76fafa6fee9a64929e7b1087ac36ea3ce39e27d)
  * deutex-soundbuf.diff
- rebase deutex-proto.diff
- rebase deutex-nolimit.diff
- renumber patches

OBS-URL: https://build.opensuse.org/request/show/560959
OBS-URL: https://build.opensuse.org/package/show/games:tools/deutex?expand=0&rev=3
2018-01-01 18:58:32 +00:00

22 lines
763 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-07-07 16:45:59.059496819 +0200
Permit reading of WADs with more than 4096 entries.
---
src/mkwad.c | 2 --
1 file changed, 2 deletions(-)
Index: a/src/mkwad.c
===================================================================
--- a/src/mkwad.c
+++ b/src/mkwad.c
@@ -105,8 +105,6 @@ void WADRopenR(struct WADINFO *info, const char *wadin)
ntry = WADRreadLong(info);
if (ntry <= 0)
ProgError("WR09", "%s: zero entries", fname(wadin));
- if (ntry >= 0x2000)
- ProgError("WR11", "%s: too many entries", fname(wadin));
info->dirpos = dirpos = WADRreadLong(info);
if ((dirpos < 0) || (dirpos > 0x10000000L))
ProgError("WR13", "%s: invalid directory offset %08lX",