diff --git a/dev-lang/nasm/nasm-2.03.01-haiku.diff b/dev-lang/nasm/nasm-2.03.01-haiku.diff new file mode 100644 index 000000000..60509577f --- /dev/null +++ b/dev-lang/nasm/nasm-2.03.01-haiku.diff @@ -0,0 +1,78 @@ +diff -urN nasm-2.03.01/float.h nasm-2.03.01-haiku/float.h +--- nasm-2.03.01/float.h 2008-06-17 04:31:16.000000000 +0000 ++++ nasm-2.03.01-haiku/float.h 2008-08-14 09:44:37.000000000 +0000 +@@ -14,7 +14,7 @@ + FLOAT_RC_NEAR, + FLOAT_RC_ZERO, + FLOAT_RC_DOWN, +- FLOAT_RC_UP, ++ FLOAT_RC_UP + }; + + int float_const(const char *string, int sign, uint8_t *result, int bytes, +diff -urN nasm-2.03.01/nasm.c nasm-2.03.01-haiku/nasm.c +--- nasm-2.03.01/nasm.c 2008-06-17 04:31:16.000000000 +0000 ++++ nasm-2.03.01-haiku/nasm.c 2008-08-14 09:51:50.000000000 +0000 +@@ -87,7 +87,7 @@ + enum op_type { + op_normal, /* Preprocess and assemble */ + op_preprocess, /* Preprocess only */ +- op_depend, /* Generate dependencies */ ++ op_depend /* Generate dependencies */ + }; + static enum op_type operating_mode; + /* Dependency flags */ +diff -urN nasm-2.03.01/nasm.h nasm-2.03.01-haiku/nasm.h +--- nasm-2.03.01/nasm.h 2008-06-17 04:31:16.000000000 +0000 ++++ nasm-2.03.01-haiku/nasm.h 2008-08-14 09:49:45.000000000 +0000 +@@ -74,7 +74,7 @@ + OUT_RESERVE, /* Reserved bytes (RESB et al) */ + OUT_REL2ADR, /* 2-byte relative address */ + OUT_REL4ADR, /* 4-byte relative address */ +- OUT_REL8ADR, /* 8-byte relative address */ ++ OUT_REL8ADR /* 8-byte relative address */ + }; + + /* +@@ -176,7 +176,7 @@ + TOKEN_DBL_AND, TOKEN_DBL_OR, TOKEN_DBL_XOR, /* &&, || and ^^ */ + TOKEN_SEG, TOKEN_WRT, /* SEG and WRT */ + TOKEN_FLOAT, /* floating-point constant */ +- TOKEN_FLOATIZE, /* __floatX__ */ ++ TOKEN_FLOATIZE /* __floatX__ */ + }; + + enum floatize { +@@ -187,7 +187,7 @@ + FLOAT_80M, + FLOAT_80E, + FLOAT_128L, +- FLOAT_128H, ++ FLOAT_128H + }; + + /* +diff -urN nasm-2.03.01/pptok.c nasm-2.03.01-haiku/pptok.c +--- nasm-2.03.01/pptok.c 2008-06-17 04:31:23.000000000 +0000 ++++ nasm-2.03.01-haiku/pptok.c 2008-08-14 09:50:38.000000000 +0000 +@@ -105,7 +105,7 @@ + "%strlen", + "%substr", + "%undef", +- "%xdefine", ++ "%xdefine" + }; + enum preproc_token pp_token_hash(const char *token) + { +diff -urN nasm-2.03.01/pptok.h nasm-2.03.01-haiku/pptok.h +--- nasm-2.03.01/pptok.h 2008-06-17 04:31:23.000000000 +0000 ++++ nasm-2.03.01-haiku/pptok.h 2008-08-14 09:51:17.000000000 +0000 +@@ -93,7 +93,7 @@ + PPC_IFMACRO = 14, + PPC_IFNUM = 16, + PPC_IFSTR = 18, +- PPC_IFTOKEN = 20, ++ PPC_IFTOKEN = 20 + }; + + #define PP_COND(x) ((enum pp_conditional)((x) & 0x1e))