forked from Lainports/freebsd-ports
games/slump: Jettison byteswap/endian hacks
- Make the OSVERSION conditionals simpler
This commit is contained in:
parent
e3586087ed
commit
afcde63b90
2 changed files with 1 additions and 16 deletions
|
|
@ -20,7 +20,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1302505
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
--- ./dump.c.orig Sun May 29 23:48:57 2005
|
||||
+++ ./dump.c Mon Oct 9 23:53:07 2006
|
||||
@@ -36,6 +36,12 @@
|
||||
#include <assert.h>
|
||||
#include "slump.h"
|
||||
|
||||
+#include <machine/endian.h>
|
||||
+
|
||||
+#if BYTE_ORDER == BIG_ENDIAN
|
||||
+#define ENDIAN_BIG
|
||||
+#endif
|
||||
+
|
||||
/* Global variables */
|
||||
|
||||
extern int current_level_number;
|
||||
Loading…
Add table
Reference in a new issue