update to 2.03 from Gallon Sylvestre - thanks!

ok merdely@
This commit is contained in:
okan 2008-06-11 19:35:46 +00:00
parent 05a54fc691
commit 596cd2c0cd
5 changed files with 26 additions and 41 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.23 2008/04/23 20:48:33 okan Exp $
# $OpenBSD: Makefile,v 1.24 2008/06/11 19:35:46 okan Exp $
COMMENT= general-purpose multi-platform x86 assembler
ONLY_FOR_ARCHS= i386 amd64
DISTNAME= nasm-2.02
DISTNAME= nasm-2.03
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nasm/}

View File

@ -1,5 +1,5 @@
MD5 (nasm-2.02.tar.gz) = JTq8SPB20+KTcP1PVSJwlA==
RMD160 (nasm-2.02.tar.gz) = NOim+sZLJduyw1QDtpx1IUb0mME=
SHA1 (nasm-2.02.tar.gz) = KyQHbuvr+F+ASNp42uHugBxPppM=
SHA256 (nasm-2.02.tar.gz) = B9/+/3B+AIjTyVCYa71IrmHWU05HciTFVcoV/AfCgr4=
SIZE (nasm-2.02.tar.gz) = 902568
MD5 (nasm-2.03.tar.gz) = lhfiAfJ0fapxAwq/02z9nQ==
RMD160 (nasm-2.03.tar.gz) = +gAePAx5c9yxcpPHHerWyj3C0IQ=
SHA1 (nasm-2.03.tar.gz) = AVc+oIR+LifMnIQmXXGfRggcvzQ=
SHA256 (nasm-2.03.tar.gz) = rpHjvZyC0WULH1VBvHNxo5ZAK6h2Hx9uUPeHPJVe3FU=
SIZE (nasm-2.03.tar.gz) = 943350

View File

@ -1,7 +1,6 @@
$OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
--- doc/Makefile.in.orig Tue Feb 19 14:08:57 2008
+++ doc/Makefile.in Mon Apr 21 15:47:03 2008
@@ -8,7 +8,7 @@ prefix = @prefix@
--- doc/Makefile.in.orig Mon Jun 9 19:29:26 2008
+++ doc/Makefile.in Tue Jun 10 20:30:52 2008
@@ -8,7 +8,7 @@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
@ -10,7 +9,7 @@ $OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
infodir = @infodir@
datarootdir = @datarootdir@
@@ -22,11 +22,8 @@ TEXI2DVI = texi2dvi
@@ -22,11 +22,8 @@
PS2PDF = ps2pdf # Part of GhostScript
SRCS = nasmdoc.src
@ -23,7 +22,7 @@ $OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
all: $(OUT)
@@ -38,7 +35,7 @@ inslist.src: inslist.pl ../insns.dat
@@ -38,7 +35,7 @@
# Consider html, txt and ps output a side effect
nasmdoc.dip: nasmdoc.src rdsrc.pl inslist.src
mkdir -p html
@ -32,7 +31,7 @@ $OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
mv -f *.html html
nasmdoc.texi: nasmdoc.dip
@@ -55,7 +52,7 @@ nasm.info: info/nasm.info
@@ -55,7 +52,7 @@
info/nasm.info: nasmdoc.texi
mkdir -p info
@ -41,7 +40,7 @@ $OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
mv -f *.info *.info-* info
# DVI output from texinfo (optional)
@@ -64,13 +61,12 @@ nasmdoc.dvi: nasmdoc.texi
@@ -64,13 +61,12 @@
# Rules for building an OS/2 book
nasmdoc.ipf: nasmdoc.texi
@ -57,7 +56,7 @@ $OpenBSD: patch-doc_Makefile.in,v 1.4 2008/04/23 20:48:33 okan Exp $
-rm -f *.aux *.cp *.fn *.ky *.pg *.log *.toc *.tp *.vr
spotless: clean
@@ -82,4 +78,4 @@ install: all
@@ -82,4 +78,4 @@
$(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir)
mkdir -p $(INSTALLROOT)$(docdir)/html
$(INSTALL_DATA) html/* $(INSTALLROOT)$(docdir)/html

View File

@ -1,15 +1 @@
--- rdoff/rdf2bin.c.orig Tue Feb 19 14:08:57 2008
+++ rdoff/rdf2bin.c Mon Apr 21 15:18:26 2008
@@ -119,9 +119,9 @@ int main(int argc, char **argv)
return 1;
}
- if (fwrite(m->t, 1, m->f.seg[0].length, of) != m->f.seg[0].length ||
- fwrite(padding, 1, codepad, of) != codepad ||
- fwrite(m->d, 1, m->f.seg[1].length, of) != m->f.seg[1].length) {
+ if (fwrite(m->t, 1, m->f.seg[0].length, of) != (unsigned int)m->f.seg[0].length ||
+ fwrite(padding, 1, codepad, of) != (unsigned int)codepad ||
+ fwrite(m->d, 1, m->f.seg[1].length, of) != (unsigned int)m->f.seg[1].length) {
fprintf(stderr, "rdf2bin: error writing to %s\n", *argv);
return 1;
}

View File

@ -1,13 +1,13 @@
@comment $OpenBSD: PLIST,v 1.9 2008/04/23 20:48:33 okan Exp $
bin/ldrdf
bin/nasm
bin/ndisasm
bin/rdf2bin
bin/rdf2com
bin/rdf2ihx
bin/rdfdump
bin/rdflib
bin/rdx
@comment $OpenBSD: PLIST,v 1.10 2008/06/11 19:35:46 okan Exp $
@bin bin/ldrdf
@bin bin/nasm
@bin bin/ndisasm
@bin bin/rdf2bin
@bin bin/rdf2com
@bin bin/rdf2ihx
@bin bin/rdfdump
@bin bin/rdflib
@bin bin/rdx
@info info/nasm.info
@man man/man1/ldrdf.1
@man man/man1/nasm.1