mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
7c084f620e
- fix build failures in i386 and amd64 due to compiler changes - fix numerous compilation warnings and logical errors that may trap in the future - convert all distribution files from DOS format to ease future changes - convert legacy patch file to new naming convention PR: 214990 Submitted by: bob@eager.cx (maintainer)
17 lines
785 B
C
17 lines
785 B
C
--- NOVA/nova_cpu.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ NOVA/nova_cpu.c
|
|
@@ -243,11 +243,12 @@
|
|
#define STK_CHECK(x,y) if (((x) & 0377) < (y)) \
|
|
int_req = int_req | INT_STK
|
|
#define IND_STEP(x) M[x] & A_IND; /* return next level indicator */ \
|
|
- if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \
|
|
+ if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) { \
|
|
if ( (x) < AUTO_DEC ) \
|
|
M[x] = (M[x] + 1) & DMASK; \
|
|
else \
|
|
M[x] = (M[x] - 1) & DMASK; \
|
|
+ } \
|
|
x = M[x] & AMASK
|
|
|
|
#define INCREMENT_PC PC = (PC + 1) & AMASK /* increment PC */
|