diff options
Diffstat (limited to 'devel/nasm/files/patch-disasm.h')
-rw-r--r-- | devel/nasm/files/patch-disasm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/nasm/files/patch-disasm.h b/devel/nasm/files/patch-disasm.h new file mode 100644 index 000000000000..3a1fd91bc294 --- /dev/null +++ b/devel/nasm/files/patch-disasm.h @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- disasm.h.orig ++++ disasm.h +@@ -11,8 +11,8 @@ + + #define INSN_MAX 32 /* one instruction can't be longer than this */ + +-long disasm (unsigned char *data, char *output, int segsize, long offset, +- int autosync, unsigned long prefer); +-long eatbyte (unsigned char *data, char *output); ++long disasm (unsigned char *data, char *output, int outbufsize, int segsize, ++ long offset, int autosync, unsigned long prefer); ++long eatbyte (unsigned char *data, char *output, int outbufsize); + + #endif |