pkgsrc/games/xdoom/patches/patch-av
mycroft 52436f757f int32_t -> int
This broke on -current, because int32_t isn't defined by default.  In addition,
it's kinda dumb to do this in one particular place, leaving the rest of the
structures defined to use non-fixed types.
2000-10-21 21:57:39 +00:00

16 lines
421 B
Text

$NetBSD: patch-av,v 1.2 2000/10/21 21:57:39 mycroft Exp $
--- linuxdoom-1.10/w_wad.h.orig Mon Dec 22 20:25:32 1997
+++ linuxdoom-1.10/w_wad.h Thu Feb 3 01:34:03 2000
@@ -36,9 +36,8 @@
{
// Should be "IWAD" or "PWAD".
char identification[4];
- int numlumps;
- int infotableofs;
-
+ int numlumps __attribute__ ((packed));
+ int infotableofs __attribute__ ((packed));
} wadinfo_t;