summaryrefslogtreecommitdiff
path: root/games/xdoom/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdoom/patches/patch-ap')
-rw-r--r--games/xdoom/patches/patch-ap19
1 files changed, 3 insertions, 16 deletions
diff --git a/games/xdoom/patches/patch-ap b/games/xdoom/patches/patch-ap
index b873f2a0534..f1cc9fb0906 100644
--- a/games/xdoom/patches/patch-ap
+++ b/games/xdoom/patches/patch-ap
@@ -1,21 +1,8 @@
-$NetBSD: patch-ap,v 1.2 2002/07/29 11:09:51 blymn Exp $
+$NetBSD: patch-ap,v 1.3 2005/02/24 23:07:34 minskim Exp $
---- linuxdoom-1.10/m_swap.h.orig Tue Dec 23 06:44:41 1997
+--- linuxdoom-1.10/m_swap.h.orig 1997-12-22 14:14:41.000000000 -0600
+++ linuxdoom-1.10/m_swap.h
-@@ -23,19 +23,23 @@
- #ifndef __M_SWAP__
- #define __M_SWAP__
-
-+#include <sys/endian.h>
-
- #ifdef __GNUG__
- #pragma interface
- #endif
-
-+#if BYTE_ORDER == BIG_ENDIAN
-+#define __BIG_ENDIAN__ 1
-+#endif
-
+@@ -32,10 +32,10 @@
// Endianess handling.
// WAD files are stored little endian.
#ifdef __BIG_ENDIAN__