9588b0d3db
This change imports the ports collection from the former porttix and srctix repositories and converts them to port(5) files with metadata pointing to the upstream release tarballs with patches checked into this repository. Ports are now developed and versioned along with the operating system and are automatically built per the PACKAGES environment variable. The patches are licensed under the same license as the relevant ports. Tix has gained support for the new port(5) format. tix-port(8) is the new high level ports build even point that handles downloading pstream releases into the new mirror cache directory, applying the patches, building the port with the lower-level tix-build(8), and finally installing the binary package. The new tix-vars(8) program parses port(5) files and the new tix-rmdiff(8) program produces input for tix-rmpatch(8). The old doc/ directory is discontinued in favor of manual pages documenting the new ports system. The obsolete porttix-create(8) and srctix-create(8) programs are removed.
66 lines
2.1 KiB
Diff
66 lines
2.1 KiB
Diff
diff -Paur --no-dereference -- flex.upstream/build-aux/config.sub flex/build-aux/config.sub
|
|
--- flex.upstream/build-aux/config.sub
|
|
+++ flex/build-aux/config.sub
|
|
@@ -1373,7 +1373,7 @@
|
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
| -sym* | -kopensolaris* | -plan9* \
|
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
- | -aos* | -aros* \
|
|
+ | -aos* | -aros* | -sortix* \
|
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
diff -Paur --no-dereference -- flex.upstream/configure flex/configure
|
|
--- flex.upstream/configure
|
|
+++ flex/configure
|
|
@@ -1,4 +1,6 @@
|
|
#! /bin/sh
|
|
+export ac_cv_func_malloc_0_nonnull=yes
|
|
+export ac_cv_func_realloc_0_nonnull=yes
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
# Generated by GNU Autoconf 2.69 for the fast lexical analyser generator 2.6.0.
|
|
#
|
|
diff -Paur --no-dereference -- flex.upstream/Makefile.in flex/Makefile.in
|
|
--- flex.upstream/Makefile.in
|
|
+++ flex/Makefile.in
|
|
@@ -227,7 +227,7 @@
|
|
ETAGS = etags
|
|
CTAGS = ctags
|
|
CSCOPE = cscope
|
|
-DIST_SUBDIRS = $(SUBDIRS)
|
|
+DIST_SUBDIRS = $(SUBDIRS_REAL)
|
|
am__DIST_COMMON = $(srcdir)/Makefile.in \
|
|
$(top_srcdir)/build-aux/compile \
|
|
$(top_srcdir)/build-aux/config.guess \
|
|
@@ -444,15 +444,16 @@
|
|
.indent.pro \
|
|
autogen.sh
|
|
|
|
+# PATCH: Building documentation and test causes problems when cross-compiling.
|
|
SUBDIRS = \
|
|
lib \
|
|
src \
|
|
- doc \
|
|
examples \
|
|
po \
|
|
- tests \
|
|
tools
|
|
|
|
+SUBDIRS_REAL = lib src doc examples po tests tools
|
|
+
|
|
all: all-recursive
|
|
|
|
.SUFFIXES:
|
|
diff -Paur --no-dereference -- flex.upstream/src/main.c flex/src/main.c
|
|
--- flex.upstream/src/main.c
|
|
+++ flex/src/main.c
|
|
@@ -364,7 +364,7 @@
|
|
/* Setup the filter chain. */
|
|
output_chain = filter_create_int(NULL, filter_tee_header, headerfilename);
|
|
if ( !(m4 = getenv("M4")))
|
|
- m4 = M4;
|
|
+ m4 = "m4";
|
|
filter_create_ext(output_chain, m4, "-P", 0);
|
|
filter_create_int(output_chain, filter_fix_linedirs, NULL);
|
|
|