pkgsrc/games/xdoom/patches/patch-ba
wiz 5ea5107654 Re-add xdoom, requested by drochner.
Address PR 24024 by marking it as not-for-lp64platforms.
2010-02-22 21:58:47 +00:00

13 lines
397 B
Text

$NetBSD: patch-ba,v 1.3 2010/02/22 21:58:48 wiz Exp $
--- linuxdoom-1.10/p_saveg.c.orig Sun Dec 21 16:03:15 1997
+++ linuxdoom-1.10/p_saveg.c Thu Aug 22 04:47:28 2002
@@ -37,7 +37,7 @@
// Pads save_p to a 4-byte boundary
// so that the load/save works on SGI&Gecko.
-#define PADSAVEP() save_p += (4 - ((int) save_p & 3)) & 3
+#define PADSAVEP() save_p += (4 - ((long) save_p & 3)) & 3