diff options
-rw-r--r-- | packages/flex/flex-2.5.31/include.patch | 27 | ||||
-rw-r--r-- | packages/flex/flex_2.5.31.bb | 11 |
2 files changed, 30 insertions, 8 deletions
diff --git a/packages/flex/flex-2.5.31/include.patch b/packages/flex/flex-2.5.31/include.patch new file mode 100644 index 0000000000..b60dcb29de --- /dev/null +++ b/packages/flex/flex-2.5.31/include.patch @@ -0,0 +1,27 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- flex-2.5.31/Makefile.am~include ++++ flex-2.5.31/Makefile.am +@@ -141,7 +141,7 @@ + tests + + localedir = $(datadir)/locale +-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ -I$(top_srcdir)/intl ++AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl + LIBS = @LIBINTL@ @LIBS@ + + skel.c: flex.skl mkskel.sh flexint.h tables_shared.h +--- flex-2.5.31/Makefile.in~include ++++ flex-2.5.31/Makefile.in +@@ -292,7 +292,7 @@ + + + localedir = $(datadir)/locale +-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ -I$(top_srcdir)/intl ++AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl + + # Run GNU indent on sources. Don't run this unless all the sources compile cleanly. + # diff --git a/packages/flex/flex_2.5.31.bb b/packages/flex/flex_2.5.31.bb index 8349355b89..5cec08d8f5 100644 --- a/packages/flex/flex_2.5.31.bb +++ b/packages/flex/flex_2.5.31.bb @@ -1,9 +1,4 @@ -BROKEN_arm="1" - -# On ARM I got: -# -# tables.c: In function `yytbl_write16': -# tables.c:313: internal compiler error: in arm_print_operand, at config/arm/arm.c:11410 - include flex.inc -PR = "r1" +PR = "r2" + +SRC_URI += "file://include.patch;patch=1" |