summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 08:38:19 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 08:38:19 +0000
commit098029540db01b60a84bcdebbcf1283bbca3fdfa (patch)
tree840098f2eb882d393d65af6323c389b7ead3e222
parent0b5e6af8567ea1593263b8e828525b7b84495e2d (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/08 10:02:56+02:00 local!hrw flex: with include.patch flex builds for arm(eb) target - credits goes to Dwayne Fontenot (jacques on #oe) BKrev: 42a6ae7bE0QJkGFsptvQFxq_oBAbCw
-rw-r--r--packages/flex/flex-2.5.31/include.patch27
-rw-r--r--packages/flex/flex_2.5.31.bb11
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"