FreeBSD Bugzilla – Attachment 68506 Details for
Bug 100692
[PATCH] lang/gforth: update to 0.6.2, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gforth-0.6.2.patch
gforth-0.6.2.patch (text/plain), 12.66 KB, created by
Stanislav Sedov
on 2006-07-21 22:00:28 UTC
(
hide
)
Description:
gforth-0.6.2.patch
Filename:
MIME Type:
Creator:
Stanislav Sedov
Created:
2006-07-21 22:00:28 UTC
Size:
12.66 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/lang/gforth/Makefile /var/tmp/gforth/Makefile >--- /usr/ports/lang/gforth/Makefile Wed May 10 00:52:13 2006 >+++ /var/tmp/gforth/Makefile Sat Jul 22 00:44:46 2006 >@@ -6,90 +6,52 @@ > # > > PORTNAME= gforth >-PORTVERSION= 0.6.1 >-PORTREVISION= 2 >+PORTVERSION= 0.6.2 >+PORTREVISION= 0 > CATEGORIES= lang > MASTER_SITES= ${MASTER_SITE_GNU} > MASTER_SITE_SUBDIR= gforth > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= ssedov@mbsd.msk.ru > COMMENT= Fast and portable Forth system > >-# BROKEN= 0.6.2 runtime does Segmentation Fault at compilation time ! >-# so, no update is planned right now... sorry. >- >-#ONLY_FOR_ARCHS= i386 amd64 ia64 >- >-# Global variables >-# >- > STRIP= #none > GNU_CONFIGURE= yes >-USE_GMAKE= yes > CONFIGURE_ENV= CFLAGS=${CFLAGS:N-O*:N-f*} >-MAKE_ENV= CFLAGS=${CFLAGS:N-O*:N-f*} >+USE_GMAKE= yes > ALL_TARGET= all info >+USE_GNOME= gnometarget >+USE_EMACS= yes >+EMACS_PORT_NAME?= emacs22 >+EMACS_NO_BUILD_DEPENDS= yes >+EMACS_NO_RUN_DEPENDS= yes >+ > PLIST_SUB= PORTVERSION="${PORTVERSION}" \ >- EMACS_DIR="${EMACS_DIR:S,^${PREFIX}/,,}" \ >- FORTH_DIR="${FORTH_DIR:S,^${PREFIX}/,,}" \ >- LIB_DIR="${LIB_DIR:S,^${PREFIX}/,,}" \ >+ EMACS_DIR="${EMACS_SITE_LISPDIR}" \ > WORDSIZE=${WORDSIZE} BYTEORDER=${BYTEORDER} > >+DOC_FILES= AUTHORS BUGS Benchres COPYING COPYING.DOC \ >+ INSTALL INSTALL.BINDIST NEWS README \ >+ NEWS.vmgen README.vmgen ToDo >+ > MAN1= gforth.1 > INFO= gforth vmgen >+PORTDOCS= * > >-# Local variables >-# >+.include <bsd.port.pre.mk> > >-.if ${MACHINE_ARCH} == i386 >+.if ${ARCH} == i386 > WORDSIZE=32 > .else > WORDSIZE=64 > .endif > >-.if ${MACHINE_ARCH} == sparc64 >+.if ${ARCH} == sparc64 > BYTEORDER=b > .else > BYTEORDER=l > .endif > >-DOC_FILES= AUTHORS BUGS Benchres COPYING COPYING.DOC \ >- INSTALL INSTALL.BINDIST NEWS README \ >- NEWS.vmgen README.vmgen ToDo >- >-LIB_DIR= ${PREFIX}/lib/${PKGBASE} >- >-EMACS_FILES= gforth.el >-EMACS_DIR= ${PREFIX}/share/emacs/site-lisp >- >-EMPTY_FILES= siteinit.fs >-FORTH_DIR= ${DATADIR}/site-forth >- >-EMPTY_DIRS= generic hppa ia64 m68k power sparc >-EMPTY_DIRS+= 4stack 6502 8086 avr c165 h8 misc sharc shboom >-ARCH_DIR= ${DATADIR}/${PORTVERSION}/arch >- >-# Post-extract >-# >- >-post-extract: remove-info-files >- >-remove-info-files: >- @${RM} -f ${WRKSRC}/doc/*.info* >- >-# Post-patch >-# >- >-post-patch: patch-makefiles >- >-patch-makefiles: >- @${REINPLACE_CMD} -e 's|makeinfo|makeinfo --no-split|g' \ >- ${WRKSRC}/Makefile.in >- >-# >-# Post-install >-# >- > post-install: install-doc install-el remove-empty-files remove-empty-dirs > > install-doc: >@@ -100,21 +62,16 @@ > .endfor > .endif > >+# Install Emacs syntax file > install-el: >-.for filename in ${EMACS_FILES} >- @${INSTALL_DATA} ${WRKSRC}/${filename} ${EMACS_DIR} >-.endfor >+ @${INSTALL_DATA} ${WRKSRC}/gforth.el ${PREFIX}/${EMACS_SITE_LISPDIR} > >+# Remove unused file > remove-empty-files: >-.for filename in ${EMPTY_FILES} >- @${RM} -f ${FORTH_DIR}/${filename} >-.endfor >+ @${RM} -f ${DATADIR}/site-forth/siteinit.fs > >+# Remove unused directories > remove-empty-dirs: >-.for dir in ${EMPTY_DIRS} >- @${RMDIR} ${ARCH_DIR}/${dir} >-.endfor >- >-.include <bsd.port.mk> >+ @${FIND} -d ${DATADIR}/${PORTVERSION}/arch/ -type d -empty -delete > >-CONFIGURE_TARGET:= --build=${CONFIGURE_TARGET} >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/lang/gforth/distinfo /var/tmp/gforth/distinfo >--- /usr/ports/lang/gforth/distinfo Sun Jan 22 15:42:12 2006 >+++ /var/tmp/gforth/distinfo Fri Jul 21 23:43:53 2006 >@@ -1,3 +1,3 @@ >-MD5 (gforth-0.6.1.tar.gz) = 91855c11c3989d0ba92139e278f047d0 >-SHA256 (gforth-0.6.1.tar.gz) = 0f8a4537f876719c3278a990fc540fe2f6b0a280d5da382622c0f06a17f217d3 >-SIZE (gforth-0.6.1.tar.gz) = 1892711 >+MD5 (gforth-0.6.2.tar.gz) = 869112bd762b07fc4d2038a2d9965148 >+SHA256 (gforth-0.6.2.tar.gz) = 28a201ae78b073ef350d7ac4a8283233029c6afe6072620ac6dd6db1d192d462 >+SIZE (gforth-0.6.2.tar.gz) = 1925536 >diff -ruN --exclude=CVS /usr/ports/lang/gforth/files/patch-engine::Makefile.in /var/tmp/gforth/files/patch-engine::Makefile.in >--- /usr/ports/lang/gforth/files/patch-engine::Makefile.in Wed Mar 17 23:03:17 2004 >+++ /var/tmp/gforth/files/patch-engine::Makefile.in Thu Jan 1 03:00:00 1970 >@@ -1,12 +0,0 @@ >---- engine/Makefile.in.orig Sun Mar 9 16:06:46 2003 >-+++ engine/Makefile.in Tue Mar 9 14:47:19 2004 >-@@ -72,7 +72,8 @@ >- XCFLAGS = @CFLAGS@ >- XDEFINES = @DEFS@ >- SWITCHES = $(XCFLAGS) $(XDEFINES) >--ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves >-+#use -fno-inline to avoid register problems with asinh, atanh on gcc-3.3 on 386 >-+ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves -fno-inline >- DEBUGFLAG = @DEBUGFLAG@ >- CFLAGS = $(DEBUGFLAG) -I$(srcdir)/../arch/$(machine) -I. -O2 -Wall $(SWITCHES) -DDEFAULTPATH=\"$(FORTHPATH)\" >- CFLAGS2 = $(DEBUGFLAG) -I$(srcdir)/../arch/$(machine) -I. -O2 -Wall $(SWITCHES) -DDEFAULTPATH=\"$(FORTHPATH)\" >diff -ruN --exclude=CVS /usr/ports/lang/gforth/files/patch-engine::signals.c /var/tmp/gforth/files/patch-engine::signals.c >--- /usr/ports/lang/gforth/files/patch-engine::signals.c Wed Mar 17 23:03:17 2004 >+++ /var/tmp/gforth/files/patch-engine::signals.c Thu Jan 1 03:00:00 1970 >@@ -1,21 +0,0 @@ >---- engine/signals.c.orig Sun Mar 9 16:06:56 2003 >-+++ engine/signals.c Tue Mar 9 14:44:48 2004 >-@@ -142,10 +142,18 @@ >- #ifdef FPE_INTOVF >- case FPE_INTOVF: code=-11; break; /* integer overflow */ >- #endif >-+#ifdef FPE_FLTDIV >- case FPE_FLTDIV: code=-42; break; /* floating point divide by zero */ >-+#endif >-+#ifdef FPE_FLTOVF >- case FPE_FLTOVF: code=-43; break; /* floating point overflow */ >-+#endif >-+#ifdef FPE_FLTUND >- case FPE_FLTUND: code=-54; break; /* floating point underflow */ >-+#endif >-+#ifdef FPE_FLTRES >- case FPE_FLTRES: code=-41; break; /* floating point inexact result */ >-+#endif >- #if 0 /* defined by Unix95, but unnecessary */ >- case FPE_FLTINV: /* invalid floating point operation */ >- case FPE_FLTSUB: /* subscript out of range */ >diff -ruN --exclude=CVS /usr/ports/lang/gforth/files/patch-getopt.c /var/tmp/gforth/files/patch-getopt.c >--- /usr/ports/lang/gforth/files/patch-getopt.c Tue May 6 12:53:15 2003 >+++ /var/tmp/gforth/files/patch-getopt.c Thu Jan 1 03:00:00 1970 >@@ -1,16 +0,0 @@ >---- engine/getopt.c.orig Sat Sep 23 20:22:09 2000 >-+++ engine/getopt.c Fri Mar 16 01:42:49 2001 >-@@ -177,12 +177,12 @@ >- REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER >- } ordering, default_ordering = PERMUTE; >- >-+#include <string.h> >- #ifdef __GNU_LIBRARY__ >- /* We want to avoid inclusion of string.h with non-GNU libraries >- because there are many ways it can cause trouble. >- On some systems, it contains special magic macros that don't work >- in GCC. */ >--#include <string.h> >- #define my_index strchr >- #define my_bcopy(src, dst, n) memcpy ((dst), (src), (n)) >- #else >diff -ruN --exclude=CVS /usr/ports/lang/gforth/pkg-plist /var/tmp/gforth/pkg-plist >--- /usr/ports/lang/gforth/pkg-plist Sun Dec 4 13:06:23 2005 >+++ /var/tmp/gforth/pkg-plist Sat Jul 22 00:46:58 2006 >@@ -14,21 +14,8 @@ > bin/vmgen-%%PORTVERSION%% > @exec ln -fs %f %B/vmgen > @unexec rm -f %B/vmgen >-%%LIB_DIR%%/%%PORTVERSION%%/gforth-ditc >-%%LIB_DIR%%/%%PORTVERSION%%/gforth.fi >-@exec mkdir -p %D/lib/gforth/site-forth >-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >-%%PORTDOCS%%%%DOCSDIR%%/BUGS >-%%PORTDOCS%%%%DOCSDIR%%/Benchres >-%%PORTDOCS%%%%DOCSDIR%%/COPYING >-%%PORTDOCS%%%%DOCSDIR%%/COPYING.DOC >-%%PORTDOCS%%%%DOCSDIR%%/INSTALL >-%%PORTDOCS%%%%DOCSDIR%%/INSTALL.BINDIST >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/NEWS.vmgen >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTDOCS%%%%DOCSDIR%%/README.vmgen >-%%PORTDOCS%%%%DOCSDIR%%/ToDo >+lib/gforth/%%PORTVERSION%%/gforth-ditc >+lib/gforth/%%PORTVERSION%%/gforth.fi > %%EMACS_DIR%%/gforth.el > %%DATADIR%%/%%PORTVERSION%%/TAGS > %%DATADIR%%/%%PORTVERSION%%/add.fs >@@ -37,43 +24,11 @@ > %%DATADIR%%/%%PORTVERSION%%/answords.fs > %%DATADIR%%/%%PORTVERSION%%/arch/386/asm.fs > %%DATADIR%%/%%PORTVERSION%%/arch/386/disasm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/prim.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/relocate.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/cold.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/prim.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/softuart.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/zero.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/prim.fs > %%DATADIR%%/%%PORTVERSION%%/arch/alpha/asm.fs > %%DATADIR%%/%%PORTVERSION%%/arch/alpha/disasm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/avr/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/prim.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/h8/asm.fs > %%DATADIR%%/%%PORTVERSION%%/arch/mips/asm.fs > %%DATADIR%%/%%PORTVERSION%%/arch/mips/disasm.fs > %%DATADIR%%/%%PORTVERSION%%/arch/mips/insts.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/prim.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/sim.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/sokoban.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/tt.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/sharc/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/asm.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/compiler.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis2.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/doers.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/mach.fs >-@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/prim.fs > %%DATADIR%%/%%PORTVERSION%%/asm/README > %%DATADIR%%/%%PORTVERSION%%/asm/basic.fs > %%DATADIR%%/%%PORTVERSION%%/asm/bitmask.fs >@@ -123,6 +78,7 @@ > %%DATADIR%%/%%PORTVERSION%%/exboot.fs > %%DATADIR%%/%%PORTVERSION%%/except.fs > %%DATADIR%%/%%PORTVERSION%%/extend.fs >+%%DATADIR%%/%%PORTVERSION%%/fflib.fs > %%DATADIR%%/%%PORTVERSION%%/fi2c.fs > %%DATADIR%%/%%PORTVERSION%%/fib.fs > %%DATADIR%%/%%PORTVERSION%%/filedump.fs >@@ -149,7 +105,6 @@ > %%DATADIR%%/%%PORTVERSION%%/kernel/errore.fs > %%DATADIR%%/%%PORTVERSION%%/kernel/files.fs > %%DATADIR%%/%%PORTVERSION%%/kernel/getdoers.fs >-%%DATADIR%%/%%PORTVERSION%%/kernel/groups.fs > %%DATADIR%%/%%PORTVERSION%%/kernel/input.fs > %%DATADIR%%/%%PORTVERSION%%/kernel/int.fs > %%DATADIR%%/%%PORTVERSION%%/kernel/io.fs >@@ -186,6 +141,7 @@ > %%DATADIR%%/%%PORTVERSION%%/more.fs > %%DATADIR%%/%%PORTVERSION%%/objects.fs > %%DATADIR%%/%%PORTVERSION%%/objexamp.fs >+%%DATADIR%%/%%PORTVERSION%%/oldlib.fs > %%DATADIR%%/%%PORTVERSION%%/oof.fs > %%DATADIR%%/%%PORTVERSION%%/oofsampl.fs > %%DATADIR%%/%%PORTVERSION%%/other.fs >@@ -229,30 +185,20 @@ > %%DATADIR%%/%%PORTVERSION%%/wordinfo.fs > %%DATADIR%%/%%PORTVERSION%%/wordsets.fs > @exec mkdir -p %D/%%DATADIR%%/site-forth >-@dirrm %%DATADIR%%/site-forth >-@dirrm %%DATADIR%%/%%PORTVERSION%%/unix >-@dirrm %%DATADIR%%/%%PORTVERSION%%/test >-@dirrm %%DATADIR%%/%%PORTVERSION%%/kernel >-@dirrm %%DATADIR%%/%%PORTVERSION%%/ec >-@dirrm %%DATADIR%%/%%PORTVERSION%%/doc >-@dirrm %%DATADIR%%/%%PORTVERSION%%/compat >-@dirrm %%DATADIR%%/%%PORTVERSION%%/asm >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/shboom >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/sharc >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/misc >-@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/mips >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/h8 >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/c165 >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/avr >-@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/alpha >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/8086 >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/6205 >-@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/4stack >-@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/386 >-@dirrm %%DATADIR%%/%%PORTVERSION%%/arch >-@dirrm %%DATADIR%%/%%PORTVERSION%% >-@dirrm %%DATADIR%% >-%%PORTDOCS%%@dirrm %%DOCSDIR%% >-@dirrm %%LIB_DIR%%/site-forth >-@dirrm %%LIB_DIR%%/%%PORTVERSION%% >-@dirrm %%LIB_DIR%% >+@dirrmtry %%DATADIR%%/site-forth >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/unix >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/test >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/kernel >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/ec >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/doc >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/compat >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/asm >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/arch/mips >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/arch/alpha >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/arch/386 >+@dirrmtry %%DATADIR%%/%%PORTVERSION%%/arch >+@dirrmtry %%DATADIR%%/%%PORTVERSION%% >+@dirrmtry %%DATADIR%% >+@dirrmtry lib/gforth/site-forth >+@dirrmtry lib/gforth/%%PORTVERSION%% >+@dirrmtry lib/gforth
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 100692
: 68506