- update pfe to 0.33.69

- specify license version
This commit is contained in:
jasper 2008-10-16 17:30:24 +00:00
parent 94a916ffc1
commit b6eff2a130
7 changed files with 223 additions and 120 deletions

View File

@ -1,22 +1,23 @@
# $OpenBSD: Makefile,v 1.7 2007/09/16 00:27:06 merdely Exp $
# $OpenBSD: Makefile,v 1.8 2008/10/16 17:30:24 jasper Exp $
COMMENT= Portable Forth Environment
DISTNAME= pfe-0.32.94
PKGNAME= ${DISTNAME}p3
SHARED_LIBS += pfe 32.95 # .32.94
SHARED_LIBS += pfe-0 32.95
DISTNAME= pfe-0.33.69
SHARED_LIBS += pfe 33.69 # .33.69
SHARED_LIBS += pfemodule 33.69 # .33.69
SHARED_LIBS += pfe-0-forth 33.69 # .33.69
CATEGORIES= lang
HOMEPAGE= http://pfe.sourceforge.net/
# LGPL
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pfe/}
EXTRACT_SUFX= .tar.bz2
WANTLIB= c m ncurses

View File

@ -1,5 +1,5 @@
MD5 (pfe-0.32.94.tar.gz) = vcZmv4jSqkB+NWEa+JOlXA==
RMD160 (pfe-0.32.94.tar.gz) = 6rTRLwPfErAmmtanqm02C8sNHz4=
SHA1 (pfe-0.32.94.tar.gz) = ZfukwCmEv1dQnp8VrSsFdW+nZJ8=
SHA256 (pfe-0.32.94.tar.gz) = PuLa3xfT8CAd/MkCEDtmrr26NzRaUVl2bWikJjpa0p8=
SIZE (pfe-0.32.94.tar.gz) = 1426995
MD5 (pfe-0.33.69.tar.bz2) = 7IYOHcel8KPkwYaCLpQZ5Q==
RMD160 (pfe-0.33.69.tar.bz2) = yGCys7aVTKGuDXLCCkobxR4TB7U=
SHA1 (pfe-0.33.69.tar.bz2) = Tycu1dBoTRoN3oYmvEPNkIBBik0=
SHA256 (pfe-0.33.69.tar.bz2) = wU72lW2nWQt/4abLRnZfVY+GnWBQJKeUBByH+X7/sEo=
SIZE (pfe-0.33.69.tar.bz2) = 1919569

View File

@ -1,26 +1,21 @@
$OpenBSD: patch-pfe_Makefile_in,v 1.1 2007/05/26 04:03:08 aanriot Exp $
--- pfe/Makefile.in.orig Mon Mar 3 23:04:11 2003
+++ pfe/Makefile.in Fri May 25 19:45:59 2007
@@ -98,11 +98,11 @@ install_sh = @install_sh@
libpfe_LIBADD = @libpfe_LIBADD@
libpfe_VERSION = @libpfe_VERSION@
libpfe_la = @libpfe_la@
$OpenBSD: patch-pfe_Makefile_in,v 1.2 2008/10/16 17:30:24 jasper Exp $
--- pfe/Makefile.in.orig Thu Oct 16 10:34:19 2008
+++ pfe/Makefile.in Thu Oct 16 10:35:00 2008
@@ -324,7 +324,7 @@ CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
-DEBUG = @WITHOUT_OPT@ @DEBUG@
+DEBUG =
GCC_WARN = @GCC_WARN@
LIB_TERM = @LIB_TERM@
DEFS = @DEFS@ -I. -I.. -I$(srcdir)/.. # do not do -I$(srcdir) !!
DEPDIR = @DEPDIR@
DLLFLAGS = @DLLFLAGS@
@@ -361,7 +361,7 @@ NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
# $Id: patch-pfe_Makefile_in,v 1.2 2008/10/16 17:30:24 jasper Exp $
-OPTIM = @WITH_OPT@ @OPTIM@
+OPTIM =
PFE_DEFS = @PFE_DEFS@
USER_CONFIG = @USER_CONFIG@
WITH_CFLAGS = @WITH_CFLAGS@
@@ -184,7 +184,7 @@ pkginc_gen_headers = double-sub.h \
# note: on k12xx, we link dl-internal directly since we also link main-k12
# but the dl-internal knows only zchar-ext, the other modules are external.
-CCOPTS = @cc_opt_pipe@ @cc_opt_write_strings@ @cc_opt_strict_prototypes@
+CCOPTS = @cc_opt_write_strings@ @cc_opt_strict_prototypes@
INCLUDES = $(OPT_FLOAT) $(OPTIM) $(DEBUG) $(PFE_DEFS) \
$(CCOPTS) $(GCC_WARN) $(WITH_CFLAGS) $(USER_CONFIG)
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@

View File

@ -1,60 +1,46 @@
$OpenBSD: patch-pfe_configure,v 1.2 2007/05/26 04:03:08 aanriot Exp $
--- pfe/configure.orig Mon Mar 3 23:04:06 2003
+++ pfe/configure Fri May 25 23:05:36 2007
@@ -7358,7 +7358,7 @@ then
then
ac_compile_warnings_opt='-Wall'
fi
- CXXFLAGS="$CXXFLAGS $ac_compile_warnings_opt"
+ CXXFLAGS="$CXXFLAGS"
ac_compile_warnings_msg="$ac_compile_warnings_opt for C++"
fi
$OpenBSD: patch-pfe_configure,v 1.3 2008/10/16 17:30:24 jasper Exp $
--- pfe/configure.orig Mon May 12 01:46:32 2008
+++ pfe/configure Thu Oct 16 10:53:02 2008
@@ -28098,7 +28098,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
@@ -7368,7 +7368,7 @@ then
then
ac_compile_warnings_opt='-Wall'
fi
- CFLAGS="$CFLAGS $ac_compile_warnings_opt"
+ CFLAGS="$CFLAGS"
ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C"
fi
echo "$as_me:7374: result: $ac_compile_warnings_msg" >&5
@@ -11681,7 +11681,7 @@ EOF
rm -f conftest.*
fi
if test -n "$ac_cv_prog_cc_warnings"; then
- CFLAGS="$CFLAGS $ac_cv_prog_cc_warnings"
+ CFLAGS="$CFLAGS"
else
ac_cv_prog_cc_warnings="unknown"
fi
@@ -11693,7 +11693,6 @@ echo "${ECHO_T}$ac_cv_prog_cc_warnings" >&6
ac_save_CFLAGS="$CFLAGS"
-for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
+for ac_arg in "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-h conform % -h msglevel 2" #
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
@@ -28852,7 +28852,6 @@ test "$with_sbr_threading" = "yes" && uses_sbr_threadi
GCC_WARN="" ; OPTIM="" ; DEBUG=""
echo "$as_me:11694: checking optimize level \"$WITHVAL_OPT\" is..." >&5
echo $ECHO_N "checking optimize level \"$WITHVAL_OPT\" is...... $ECHO_C" >&6
{ echo "$as_me:$LINENO: checking optimize level \"$WITHVAL_OPT\" is..." >&5
echo $ECHO_N "checking optimize level \"$WITHVAL_OPT\" is...... $ECHO_C" >&6; }
-CFLAGS=`echo " $CFLAGS " | sed -e 's/ -O[0-9]* / /'`
opt_level="$WITHVAL_OPT"
if test "$GCC" = "yes" ; then
OPTIM="-O$opt_level"
@@ -11746,21 +11745,6 @@ echo "${ECHO_T}:can use --with-regs with traditional g
echo "${ECHO_T}:and use --with-regs on unknown gcc version" >&6 ;;
esac ;;
esac
-if test "_$libpfe_need_libm" != "yes" ; then
-echo "$as_me:11750: result: cleaning LIBS from -lm occurrences" >&5
-echo "${ECHO_T}cleaning LIBS from -lm occurrences" >&6
- LIBS=`echo " $LIBS " | sed -e "s/ -lm //g"`
-fi
@@ -29108,16 +29107,6 @@ fi
ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
-if test "$GCC" = "yes" ; then if test "_$libpfe_no_debug" = "_yes" ; then
-echo "$as_me:11755: result: cleaning CFLAGS from -g occurrences" >&5
-echo "${ECHO_T}cleaning CFLAGS from -g occurrences" >&6
-{ echo "$as_me:$LINENO: result: cleaning CFLAGS from -g occurrences" >&5
-echo "${ECHO_T}cleaning CFLAGS from -g occurrences" >&6; }
- CFLAGS=`echo " $CFLAGS " | sed -e "s/ -g //g"`
-fi fi
-if test "_$libpfe_no_strip" = "_yes" ; then
-echo "$as_me:11760: result: cleaning LDFLAGS from -Wl" >&5
-echo "${ECHO_T}cleaning LDFLAGS from -Wl" >&6
-{ echo "$as_me:$LINENO: result: cleaning LDFLAGS from -Wl" >&5
-echo "${ECHO_T}cleaning LDFLAGS from -Wl" >&6; }
- LDFLAGS=`echo " $LDFLAGS " | sed -e 's/ -Wl,-S //'`
-fi
if test "$enable_shared" = "yes" ; then
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\_ACEOF
@@ -31533,7 +31522,7 @@ sh ./libtool --features
| sed -e '/^.*undef PFE_WITH_/s,^.*undef ,config no ,'
echo "using defs= $PFE_DEFS"
- x="$cc_opt_pipe $cc_opt_write_strings $cc_opt_strict_prototypes"
+ x="$cc_opt_write_strings $cc_opt_strict_prototypes"
echo "using cflags= $x $GCC_WARN $WITH_CFLAGS $USER_CONFIG"
echo "using CFLAGS= $CFLAGS"
echo "using LIBS= $LIBS"

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-pfe_main-stdc_c,v 1.1 2008/10/16 17:30:24 jasper Exp $
--- pfe/main-stdc.c.orig Sun Apr 20 06:46:30 2008
+++ pfe/main-stdc.c Thu Oct 16 12:37:46 2008
@@ -28,6 +28,7 @@ static char* id __attribute__((unused)) =
#include <errno.h>
#ifdef PFE_HAVE_SYS_RESOURCE_H
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -57,9 +58,17 @@ main (int argc, const char** argv)
# endif
# ifdef PFE_HAVE_SYS_RESOURCE_H
- {/* a pfe does not need lots of data on the real cpu return stack */
- struct rlimit rlimits = { 64*1024, 64*1024 };
- setrlimit (RLIMIT_STACK, &rlimits);
+ {
+ /*
+ * A pfe does not need lots of data on the real cpu return stack.
+ * So, grow the maximum stack a size.
+ */
+ struct rlimit reslimit;
+
+ if (getrlimit(RLIMIT_STACK , &reslimit) == 0){
+ reslimit.rlim_cur = reslimit.rlim_max;
+ (void)setrlimit(RLIMIT_STACK , &reslimit);
+ }
}
# endif

View File

@ -1,14 +1,39 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2005/12/30 23:21:16 alek Exp $
@lib lib/libpfe-0.so.${LIBpfe-0_VERSION}
@comment $OpenBSD: PFRAG.shared,v 1.3 2008/10/16 17:30:24 jasper Exp $
@lib lib/libpfe-0-forth.so.${LIBpfe-0-forth_VERSION}
@lib lib/libpfe.so.${LIBpfe_VERSION}
lib/pfe/dstrings.so
lib/pfe/edit.so
lib/pfe/floating.so
lib/pfe/fpnostack.so
lib/pfe/gforth.so
lib/pfe/help.so
lib/pfe/module.so
lib/pfe/smart-go.so
lib/pfe/struct.so
lib/pfe/toolbelt.so
lib/pfe/zchar.so
lib/pfe-forth/assembler.so
lib/pfe-forth/complex.so
lib/pfe-forth/dstrings.so
lib/pfe-forth/edit.so
lib/pfe-forth/floating.so
lib/pfe-forth/fpnostack.so
lib/pfe-forth/gforth.so
lib/pfe-forth/help.so
lib/pfe-forth/module.so
lib/pfe-forth/renamed/libassembler.so
lib/pfe-forth/renamed/libcomplex.so
lib/pfe-forth/renamed/libdstrings.so
lib/pfe-forth/renamed/libedit.so
lib/pfe-forth/renamed/libfloating.so
lib/pfe-forth/renamed/libfpnostack.so
lib/pfe-forth/renamed/libgforth.so
lib/pfe-forth/renamed/libhelp.so
lib/pfe-forth/renamed/libmodule.so
lib/pfe-forth/renamed/libsmart-go.so
lib/pfe-forth/renamed/libsocket.so
lib/pfe-forth/renamed/libstackhelp.so
lib/pfe-forth/renamed/libstruct.so
lib/pfe-forth/renamed/libstructs.so
lib/pfe-forth/renamed/libtermcatch.so
lib/pfe-forth/renamed/libtoolbelt.so
lib/pfe-forth/renamed/libzchar.so
lib/pfe-forth/smart-go.so
lib/pfe-forth/socket.so
lib/pfe-forth/stackhelp.so
lib/pfe-forth/struct.so
lib/pfe-forth/structs.so
lib/pfe-forth/termcatch.so
lib/pfe-forth/testmodule1.so
lib/pfe-forth/testmodule2.so
lib/pfe-forth/toolbelt.so
lib/pfe-forth/zchar.so

View File

@ -1,31 +1,43 @@
@comment $OpenBSD: PLIST,v 1.2 2006/07/17 16:59:59 espie Exp $
@comment $OpenBSD: PLIST,v 1.3 2008/10/16 17:30:24 jasper Exp $
%%SHARED%%
bin/pfe
bin/pfe-config
bin/pfe-config-forth
bin/pfe-exec
@bin bin/pfe-exec-forth
@bin bin/pfe-forth
include/pfe/
include/pfe-config.h
include/pfe-target.h
include/pfe/_config.h
include/pfe/_target.h
include/pfe/assembler-ext.h
include/pfe/block-ext.h
include/pfe/block-mix.h
include/pfe/block-sub.h
include/pfe/cdecl-ext.h
include/pfe/chain-ext.h
include/pfe/chainlist-ext.h
include/pfe/complex-ext.h
include/pfe/config.h
include/pfe/core-ext.h
include/pfe/core-mix.h
include/pfe/core-sub.h
include/pfe/debug-ext.h
include/pfe/def-cell.h
include/pfe/def-comp.h
include/pfe/def-config.h
include/pfe/def-const.h
include/pfe/def-gcc.h
include/pfe/def-limits.h
include/pfe/def-macro.h
include/pfe/def-paths.h
include/pfe/def-pth.h
include/pfe/def-regmacro.h
include/pfe/def-regs.h
include/pfe/def-regth.h
include/pfe/def-restore.h
include/pfe/def-sbrcode.h
include/pfe/def-types.h
include/pfe/def-words.h
include/pfe/def-xtra.h
include/pfe/dict-comp.h
include/pfe/dict-sub.h
include/pfe/double-ext.h
@ -33,11 +45,13 @@ include/pfe/double-mix.h
include/pfe/double-sub.h
include/pfe/dstrings-ext.h
include/pfe/edit-ext.h
include/pfe/engine-set.h
include/pfe/engine-sub.h
include/pfe/environ-ext.h
include/pfe/exception-ext.h
include/pfe/exception-sub.h
include/pfe/facility-ext.h
include/pfe/facility-mix.h
include/pfe/file-ext.h
include/pfe/file-mix.h
include/pfe/file-sub.h
@ -51,6 +65,7 @@ include/pfe/header-ext.h
include/pfe/header-sub.h
include/pfe/help-ext.h
include/pfe/incl-ext.h
include/pfe/incl-mix.h
include/pfe/incl-sub.h
include/pfe/incl-sup.h
include/pfe/lined.h
@ -61,13 +76,25 @@ include/pfe/memory-alloc-ext.h
include/pfe/memory-sub.h
include/pfe/misc-ext.h
include/pfe/option-ext.h
include/pfe/option-set.h
include/pfe/os-ctype.h
include/pfe/os-delay.h
include/pfe/os-setjmp.h
include/pfe/os-string.h
include/pfe/p4-gettimeofday.h
include/pfe/pfe-base.h
include/pfe/pfe-ext.h
include/pfe/pfe-mix.h
include/pfe/pfe-set.h
include/pfe/pfe-sub.h
include/pfe/pfe-sup.h
include/pfe/pfe.h
include/pfe/posix-ext.h
include/pfe/search-order-ext.h
include/pfe/shell-os-ext.h
include/pfe/signals-ext.h
include/pfe/smart-go-ext.h
include/pfe/stackhelp-ext.h
include/pfe/string-ext.h
include/pfe/struct-ext.h
include/pfe/system-ext.h
@ -77,34 +104,52 @@ include/pfe/tools-ext.h
include/pfe/tools-mix.h
include/pfe/tools-sub.h
include/pfe/useful-ext.h
include/pfe/utils-sub.h
include/pfe/version-sub.h
include/pfe/your-ext.h
lib/libpfe.a
lib/libpfe.la
lib/pfe/
lib/pfe/dstrings.a
lib/pfe/dstrings.la
lib/pfe/edit.a
lib/pfe/edit.la
lib/pfe/floating.a
lib/pfe/floating.la
lib/pfe/fpnostack.a
lib/pfe/fpnostack.la
lib/pfe/gforth.a
lib/pfe/gforth.la
lib/pfe/help.a
lib/pfe/help.la
lib/pfe/module.a
lib/pfe/module.la
lib/pfe/smart-go.a
lib/pfe/smart-go.la
lib/pfe/struct.a
lib/pfe/struct.la
lib/pfe/toolbelt.a
lib/pfe/toolbelt.la
lib/pfe/zchar.a
lib/pfe/zchar.la
lib/pfe-forth/
lib/pfe-forth/assembler.a
lib/pfe-forth/assembler.la
lib/pfe-forth/complex.a
lib/pfe-forth/complex.la
lib/pfe-forth/dstrings.a
lib/pfe-forth/dstrings.la
lib/pfe-forth/edit.a
lib/pfe-forth/edit.la
lib/pfe-forth/floating.a
lib/pfe-forth/floating.la
lib/pfe-forth/fpnostack.a
lib/pfe-forth/fpnostack.la
lib/pfe-forth/gforth.a
lib/pfe-forth/gforth.la
lib/pfe-forth/help.a
lib/pfe-forth/help.la
lib/pfe-forth/module.a
lib/pfe-forth/module.la
lib/pfe-forth/renamed/
lib/pfe-forth/smart-go.a
lib/pfe-forth/smart-go.la
lib/pfe-forth/socket.a
lib/pfe-forth/socket.la
lib/pfe-forth/stackhelp.a
lib/pfe-forth/stackhelp.la
lib/pfe-forth/struct.a
lib/pfe-forth/struct.la
lib/pfe-forth/structs.a
lib/pfe-forth/structs.la
lib/pfe-forth/termcatch.a
lib/pfe-forth/termcatch.la
lib/pfe-forth/testmodule1.a
lib/pfe-forth/testmodule1.la
lib/pfe-forth/testmodule2.a
lib/pfe-forth/testmodule2.la
lib/pfe-forth/toolbelt.a
lib/pfe-forth/toolbelt.la
lib/pfe-forth/zchar.a
lib/pfe-forth/zchar.la
lib/pkgconfig/
lib/pkgconfig/pfe.pc
@man man/man1/pfe-config.1
@man man/man1/pfe.1
share/doc/pfe/
@ -131,12 +176,20 @@ share/pfe/test/coretest.4th
share/pfe/test/coretest.fs
share/pfe/test/dbltest.4th
share/pfe/test/dbltest.fs
share/pfe/test/deferred-x.4th
share/pfe/test/deferred-x.fs
share/pfe/test/deferred.fs
share/pfe/test/defs.4th
share/pfe/test/dstester.fs
share/pfe/test/dstrings-test.fs
share/pfe/test/environ.4th
share/pfe/test/exceptn.4th
share/pfe/test/fib.fs
share/pfe/test/file.4th
share/pfe/test/float.4th
share/pfe/test/forth-signal.4th
share/pfe/test/fp-stack.4th
share/pfe/test/fp-stack.fs
share/pfe/test/fpnostack.4th
share/pfe/test/hashvocdistri.fs
share/pfe/test/intactv.4th
@ -146,8 +199,13 @@ share/pfe/test/matrix.fs
share/pfe/test/mini-oof.fs
share/pfe/test/moof-exm.fs
share/pfe/test/moofglos.fs
share/pfe/test/number-prefixes.4th
share/pfe/test/number-prefixes.fs
share/pfe/test/parse-name.4th
share/pfe/test/parse-name.fs
share/pfe/test/postpone.4th
share/pfe/test/postpone.fs
share/pfe/test/queryapp.4th
share/pfe/test/search-order.4th
share/pfe/test/search-order.fs
share/pfe/test/siev.fs
@ -159,9 +217,15 @@ share/pfe/test/speedwhile.fs
share/pfe/test/stack.4th
share/pfe/test/string.4th
share/pfe/test/suite.4th
share/pfe/test/test-num-prefixes.4th
share/pfe/test/test-num-prefixes.fs
share/pfe/test/test-num-prefixes2.4th
share/pfe/test/test-num-prefixes2.fs
share/pfe/test/tester.fs
share/pfe/test/trydstrings.fs
share/pfe/test/tt.4th
share/pfe/test/tt.fs
share/pfe/test/wordsets.4th
share/pfe/test/wordsets.fs
share/pfe/testmodule1.fs
share/pfe/testmodule2.fs