summaryrefslogtreecommitdiffstats
path: root/package/flex/0001-flex-disable-flex-binary-and-documentation.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2017-05-10 14:51:39 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-11 21:43:53 +0200
commite9a5f5843d0685c69b3c379b91bb9cce8864b8a2 (patch)
tree02ed4f51f3599a494b23f6b6b35bc67556d7cf8a /package/flex/0001-flex-disable-flex-binary-and-documentation.patch
parent9235a19f1ae01de6eaa2c36c41cc6a790892f2fe (diff)
downloadbuildroot-e9a5f5843d0685c69b3c379b91bb9cce8864b8a2.tar.gz
buildroot-e9a5f5843d0685c69b3c379b91bb9cce8864b8a2.zip
flex: bump version to 2.6.4
- 0001 patch removed. It doesn't apply on this version and is also not necessary since the AR binary is now handled correctly with AR = @AR@. - 0002 patch removed. It's already included in this release: https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466 - The flex project has moved to GitHub, so modify the URLs in both flex.mk and Config.in files. - The sed command over Makefile.in to prevent the flex binary to be built fails, so remove it. That logic has been moved to src/Makefile.in, and whenever we disable the flex binary to be built then the compilation fails when building the documentation because some bits require "../src/flex", which is the flex binary. We prevent building the flex binary and the documentation using a new patch. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/flex/0001-flex-disable-flex-binary-and-documentation.patch')
-rw-r--r--package/flex/0001-flex-disable-flex-binary-and-documentation.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/flex/0001-flex-disable-flex-binary-and-documentation.patch b/package/flex/0001-flex-disable-flex-binary-and-documentation.patch
new file mode 100644
index 0000000000..d035ef40a2
--- /dev/null
+++ b/package/flex/0001-flex-disable-flex-binary-and-documentation.patch
@@ -0,0 +1,35 @@
+flex: prevent flex binary to be built
+
+Since we prevent the flex binary to be built, we also need to prevent
+the documentation to be built, otherwise it will fail like this:
+
+Making all in doc
+make[2]: Entering directory '/br/output/build/flex-2.6.4/doc'
+make[2]: *** No rule to make target '../src/flex', needed by 'flex.1'.
+Stop.
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+diff -rup a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2017-05-06 15:49:09.000000000 +0100
++++ b/Makefile.in 2017-05-10 14:35:20.152794902 +0100
+@@ -450,7 +450,6 @@ EXTRA_DIST = \
+
+ SUBDIRS = \
+ src \
+- doc \
+ examples \
+ po \
+ tests \
+diff -rup a/src/Makefile.in b/src/Makefile.in
+--- a/src/Makefile.in 2017-05-06 15:49:09.000000000 +0100
++++ b/src/Makefile.in 2017-05-10 14:35:01.918464036 +0100
+@@ -90,7 +90,7 @@ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-bin_PROGRAMS = flex$(EXEEXT)
++bin_PROGRAMS =
+ @ENABLE_BOOTSTRAP_TRUE@noinst_PROGRAMS = stage1flex$(EXEEXT)
+ @CROSS_TRUE@am__append_1 = \
+ @CROSS_TRUE@ ../lib/malloc.c \
OpenPOWER on IntegriCloud