? patch-nasm-2.03 Index: devel/nasm/Makefile =================================================================== RCS file: /cvs/ports/devel/nasm/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- devel/nasm/Makefile 23 Apr 2008 20:48:33 -0000 1.23 +++ devel/nasm/Makefile 11 Jun 2008 18:10:22 -0000 @@ -4,7 +4,7 @@ COMMENT= general-purpose multi-platform ONLY_FOR_ARCHS= i386 amd64 -DISTNAME= nasm-2.02 +DISTNAME= nasm-2.03 CATEGORIES= devel lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nasm/} Index: devel/nasm/distinfo =================================================================== RCS file: /cvs/ports/devel/nasm/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- devel/nasm/distinfo 23 Apr 2008 20:48:33 -0000 1.6 +++ devel/nasm/distinfo 11 Jun 2008 18:10:22 -0000 @@ -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 Index: devel/nasm/patches/patch-doc_Makefile.in =================================================================== RCS file: /cvs/ports/devel/nasm/patches/patch-doc_Makefile.in,v retrieving revision 1.4 diff -u -p -r1.4 patch-doc_Makefile.in --- devel/nasm/patches/patch-doc_Makefile.in 23 Apr 2008 20:48:33 -0000 1.4 +++ devel/nasm/patches/patch-doc_Makefile.in 11 Jun 2008 18:10:22 -0000 @@ -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 20 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 20 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 20 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 20 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 20 -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 Index: devel/nasm/patches/patch-rdf2bin.c =================================================================== RCS file: /cvs/ports/devel/nasm/patches/patch-rdf2bin.c,v retrieving revision 1.1 diff -u -p -r1.1 patch-rdf2bin.c --- devel/nasm/patches/patch-rdf2bin.c 23 Apr 2008 20:48:33 -0000 1.1 +++ devel/nasm/patches/patch-rdf2bin.c 11 Jun 2008 18:10:22 -0000 @@ -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; - } +