diff options
author | minskim <minskim@pkgsrc.org> | 2005-02-24 23:07:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-02-24 23:07:34 +0000 |
commit | cb4bea4014625c9da120f648733477596723616b (patch) | |
tree | a3533cc261c422eb1a44ee3f50117f0bbecf6798 /games/xdoom/patches | |
parent | e06ff261ccb5bd19c190d8f963a2bbaed164ffb5 (diff) | |
download | pkgsrc-cb4bea4014625c9da120f648733477596723616b.tar.gz |
Use endian.mk instead of patching source code.
Diffstat (limited to 'games/xdoom/patches')
-rw-r--r-- | games/xdoom/patches/patch-ap | 19 |
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__ |