From owner-svn-ports-head@freebsd.org Mon Feb 1 10:13:47 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D505A97B8B; Mon, 1 Feb 2016 10:13:47 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE6011761; Mon, 1 Feb 2016 10:13:46 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u11ADjr7031970; Mon, 1 Feb 2016 10:13:45 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u11ADjou031966; Mon, 1 Feb 2016 10:13:45 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602011013.u11ADjou031966@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 1 Feb 2016 10:13:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407700 - in head/emulators/ia64sim: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 10:13:47 -0000 Author: amdmi3 Date: Mon Feb 1 10:13:45 2016 New Revision: 407700 URL: https://svnweb.freebsd.org/changeset/ports/407700 Log: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` Added: head/emulators/ia64sim/files/patch-include_ia64.h - copied, changed from r407699, head/emulators/ia64sim/files/patch-ia64.h Deleted: head/emulators/ia64sim/files/patch-ia64.h Modified: head/emulators/ia64sim/Makefile head/emulators/ia64sim/files/patch-ia64sim.c head/emulators/ia64sim/files/patch-makefile.unx Modified: head/emulators/ia64sim/Makefile ============================================================================== --- head/emulators/ia64sim/Makefile Mon Feb 1 10:13:38 2016 (r407699) +++ head/emulators/ia64sim/Makefile Mon Feb 1 10:13:45 2016 (r407700) @@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= IA64 simulator (Intel(R) Architecture 64) +LICENSE= PD + USES= gmake zip MAKEFILE= makefile.unx MAKE_ARGS= CC="${CC}" @@ -23,10 +25,12 @@ PORTDOCS= ia64user.txt readme OPTIONS_DEFINE= DOCS pre-build: - ${RM} -f ${WRKSRC}/obj/*.o ${WRKSRC}/ia64sim + @${RM} -f ${WRKSRC}/obj/*.o ${WRKSRC}/ia64sim do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/ia64user.txt ${WRKSRC}/readme \ ${STAGEDIR}${DOCSDIR} Modified: head/emulators/ia64sim/files/patch-ia64sim.c ============================================================================== --- head/emulators/ia64sim/files/patch-ia64sim.c Mon Feb 1 10:13:38 2016 (r407699) +++ head/emulators/ia64sim/files/patch-ia64sim.c Mon Feb 1 10:13:45 2016 (r407700) @@ -1,6 +1,6 @@ ---- ia64sim.c.orig Sun Feb 27 17:20:26 2000 -+++ ia64sim.c Sun May 6 11:51:41 2001 -@@ -779,7 +779,7 @@ +--- ia64sim.c.orig 2000-02-28 01:20:26 UTC ++++ ia64sim.c +@@ -779,7 +779,7 @@ int main(int argc, char **argv) { uint32 i; @@ -9,13 +9,13 @@ printf("Memory limits: 0x%08x-0x%08x\n", 0, MEMSIZE-1); printf("Try 'h' for help\n\n"); -@@ -810,6 +810,9 @@ - while(1) { +@@ -811,6 +811,9 @@ int main(int argc, char **argv) { printf("IA64sim>> "); fgets(cmd,sizeof(cmd),stdin); -+ + + if (feof(stdin)) + return 0; - ++ nextchar = cmd; while(*nextchar) *nextchar++ = tolower(*nextchar); + Copied and modified: head/emulators/ia64sim/files/patch-include_ia64.h (from r407699, head/emulators/ia64sim/files/patch-ia64.h) ============================================================================== --- head/emulators/ia64sim/files/patch-ia64.h Mon Feb 1 10:13:38 2016 (r407699, copy source) +++ head/emulators/ia64sim/files/patch-include_ia64.h Mon Feb 1 10:13:45 2016 (r407700) @@ -1,6 +1,6 @@ ---- include/ia64.h.orig Sun May 6 11:39:29 2001 -+++ include/ia64.h Sun May 6 11:35:10 2001 -@@ -29,6 +29,7 @@ +--- include/ia64.h.orig 2000-03-09 00:57:11 UTC ++++ include/ia64.h +@@ -29,6 +29,7 @@ benefit from your work. #include #include #include @@ -8,7 +8,7 @@ #define TRUE 1 #define FALSE 0 -@@ -38,7 +39,7 @@ +@@ -38,7 +39,7 @@ benefit from your work. 0<=lo,hi<=63 and lo<=hi */ #define BITS(x,lo,hi) ( \ @@ -17,7 +17,7 @@ ( (1<<(hi-lo+1)) - 1 ) \ ) -@@ -72,8 +73,8 @@ +@@ -72,8 +73,8 @@ typedef union { uint8 b[8]; } qword; Modified: head/emulators/ia64sim/files/patch-makefile.unx ============================================================================== --- head/emulators/ia64sim/files/patch-makefile.unx Mon Feb 1 10:13:38 2016 (r407699) +++ head/emulators/ia64sim/files/patch-makefile.unx Mon Feb 1 10:13:45 2016 (r407700) @@ -1,8 +1,16 @@ ---- makefile.unx.orig Sat Feb 12 22:25:47 2000 -+++ makefile.unx Sun May 6 11:48:13 2001 -@@ -21 +21 @@ +--- makefile.unx.orig 2000-02-13 06:25:47 UTC ++++ makefile.unx +@@ -18,11 +18,11 @@ EXECDIR = execute + OBJDIR = obj + INCDIR = include + CC = gcc -CFLAGS = -O3 -m486 -fomit-frame-pointer -s -I$(INCDIR) +CFLAGS += -s -I$(INCDIR) -@@ -25 +25 @@ + + ASMSRCS= assemble.c bundle.c asmfunc.c jumptbl.c decode.c symbols.c + -EXECSRCS = execute.c utils.c f_unit.c b_unit.c x_unit.c \ +EXECSRCS = elf.c execute.c utils.c f_unit.c b_unit.c x_unit.c \ + m_unit.c i_alu.c i_cmp.c i_shft.c globals.c + + ASMOBJS = $(ASMSRCS:.c=.o)