From cb4bea4014625c9da120f648733477596723616b Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 24 Feb 2005 23:07:34 +0000 Subject: Use endian.mk instead of patching source code. --- games/xdoom/patches/patch-ap | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'games/xdoom/patches') 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 - - #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__ -- cgit v1.2.3