summaryrefslogtreecommitdiff
path: root/games/xdoom/patches/patch-ap
diff options
context:
space:
mode:
authorblymn <blymn@pkgsrc.org>2002-07-29 11:09:50 +0000
committerblymn <blymn@pkgsrc.org>2002-07-29 11:09:50 +0000
commitb8094222a33d26b8b73809e9318d80af9665d741 (patch)
treeff5f5c27a3ed2431656436fc7322f11c400db029 /games/xdoom/patches/patch-ap
parentff1fda2fd0649f9c5b6915150ef2cfee736679d1 (diff)
downloadpkgsrc-b8094222a33d26b8b73809e9318d80af9665d741.tar.gz
Fix for PR 17741, m_swap.h needs to have sys/endian.h included to
correctly determine the endian of the host machine.
Diffstat (limited to 'games/xdoom/patches/patch-ap')
-rw-r--r--games/xdoom/patches/patch-ap14
1 files changed, 10 insertions, 4 deletions
diff --git a/games/xdoom/patches/patch-ap b/games/xdoom/patches/patch-ap
index 3bcd4d33498..b873f2a0534 100644
--- a/games/xdoom/patches/patch-ap
+++ b/games/xdoom/patches/patch-ap
@@ -1,8 +1,14 @@
-$NetBSD: patch-ap,v 1.1 2000/02/03 16:01:15 abs Exp $
+$NetBSD: patch-ap,v 1.2 2002/07/29 11:09:51 blymn Exp $
---- linuxdoom-1.10/m_swap.h.orig Mon Dec 22 20:14:41 1997
-+++ linuxdoom-1.10/m_swap.h Thu Feb 3 01:33:56 2000
-@@ -28,14 +28,17 @@
+--- linuxdoom-1.10/m_swap.h.orig Tue Dec 23 06:44:41 1997
++++ 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