Date: Fri, 26 Apr 2013 02:56:22 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/178158: devel/jwasm: Update to version 210 Message-ID: <20130426025622.8bc2c62f3c9d652200aee10e@yahoo.com> Resent-Message-ID: <201304251810.r3PIA3Hd057387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178158 >Category: ports >Synopsis: devel/jwasm: Update to version 210 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 25 18:10:03 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p11 i386 >Organization: >Environment: >Description: - Update to version 210 New file: files/patch-H__expreval.h files/patch-H__parser.h files/patch-exprval.c files/patch-parser.c >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/jwasm/Makefile devel/jwasm/Makefile --- /usr/ports/devel/jwasm/Makefile 2012-12-08 04:23:18.000000000 +0900 +++ devel/jwasm/Makefile 2013-04-26 00:00:00.000000000 +0900 @@ -2,7 +2,7 @@ # $FreeBSD: head/devel/jwasm/Makefile 308440 2012-12-07 17:20:27Z beech $ PORTNAME= jwasm -PORTVERSION= 209 +PORTVERSION= 210 CATEGORIES= devel MASTER_SITES= http://www.japheth.de/Download/JWasm/ DISTNAME= JWasm${PORTVERSION}s diff -urN /usr/ports/devel/jwasm/distinfo devel/jwasm/distinfo --- /usr/ports/devel/jwasm/distinfo 2012-12-08 04:23:18.000000000 +0900 +++ devel/jwasm/distinfo 2013-04-26 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (JWasm209s.zip) = 94eaffdb9a6ae5c78340d05f4407518b32e42e6bb924dd9b8308de90eba1d619 -SIZE (JWasm209s.zip) = 880165 +SHA256 (JWasm210s.zip) = 8d9a5ac95fa07a8e935423f3d1e44127c79d873e380f04d1ce8e1a65ca7daafd +SIZE (JWasm210s.zip) = 939008 diff -urN /usr/ports/devel/jwasm/files/patch-H__expreval.h devel/jwasm/files/patch-H__expreval.h --- /usr/ports/devel/jwasm/files/patch-H__expreval.h 1970-01-01 09:00:00.000000000 +0900 +++ devel/jwasm/files/patch-H__expreval.h 2013-04-26 00:00:00.000000000 +0900 @@ -0,0 +1,10 @@ +--- H/expreval.h.orig ++++ H/expreval.h +@@ -130,6 +130,7 @@ + EXPF_IN_SQBR = 8 /* private flag, used inside expreval.c only */ + }; + ++extern void EmitConstError( const struct expr * ); + extern ret_code EvalOperand( int *, struct asm_tok[], int, struct expr *, uint_8 ); + extern void ExprEvalInit( void ); + diff -urN /usr/ports/devel/jwasm/files/patch-H__parser.h devel/jwasm/files/patch-H__parser.h --- /usr/ports/devel/jwasm/files/patch-H__parser.h 1970-01-01 09:00:00.000000000 +0900 +++ devel/jwasm/files/patch-H__parser.h 2013-04-26 00:00:00.000000000 +0900 @@ -0,0 +1,10 @@ +--- H/parser.h.orig ++++ H/parser.h +@@ -302,7 +302,6 @@ + extern ret_code MemtypeFromSize( int, enum memtype * ); + extern int SizeFromRegister( int ); + extern ret_code GetLangType( int *, struct asm_tok[], enum lang_type * ); +-extern void EmitConstError( const struct expr * ); + + extern void sym_add_table( struct symbol_queue *, struct dsym * ); + extern void sym_remove_table( struct symbol_queue *, struct dsym * ); diff -urN /usr/ports/devel/jwasm/files/patch-exprval.c devel/jwasm/files/patch-exprval.c --- /usr/ports/devel/jwasm/files/patch-exprval.c 1970-01-01 09:00:00.000000000 +0900 +++ devel/jwasm/files/patch-exprval.c 2013-04-26 00:00:00.000000000 +0900 @@ -0,0 +1,19 @@ +--- expreval.c.orig ++++ expreval.c +@@ -79,6 +79,16 @@ + LS_FAR32 = 0xFF06, + }; + ++void EmitConstError( const struct expr *opnd ) ++/********************************************/ ++{ ++ if ( opnd->hlvalue != 0 ) ++ EmitErr( CONSTANT_VALUE_TOO_LARGE_EX, opnd->hlvalue, opnd->value64 ); ++ else ++ EmitErr( CONSTANT_VALUE_TOO_LARGE, opnd->value64 ); ++ return; ++} ++ + static const uint_16 tbaseptr[] = { T_BP, T_EBP + #if AMD64_SUPPORT + , T_RBP diff -urN /usr/ports/devel/jwasm/files/patch-parser.c devel/jwasm/files/patch-parser.c --- /usr/ports/devel/jwasm/files/patch-parser.c 1970-01-01 09:00:00.000000000 +0900 +++ devel/jwasm/files/patch-parser.c 2013-04-26 00:00:00.000000000 +0900 @@ -0,0 +1,19 @@ +--- parser.c.orig ++++ parser.c +@@ -787,16 +787,6 @@ + return( NOT_ERROR ); + } + +-void EmitConstError( const struct expr *opnd ) +-/********************************************/ +-{ +- if ( opnd->hlvalue != 0 ) +- EmitErr( CONSTANT_VALUE_TOO_LARGE_EX, opnd->hlvalue, opnd->value64 ); +- else +- EmitErr( CONSTANT_VALUE_TOO_LARGE, opnd->value64 ); +- return; +-} +- + /* get an immediate operand without a fixup. + * output: + * - ERROR: error >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130426025622.8bc2c62f3c9d652200aee10e>