diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/flex | |
download | openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.bz2 openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.xz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.zip |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/flex')
-rw-r--r-- | openembedded/packages/flex/files/fix-gen.patch | 17 | ||||
-rw-r--r-- | openembedded/packages/flex/flex-2.5.31/include.patch | 27 | ||||
-rw-r--r-- | openembedded/packages/flex/flex-native_2.5.31.bb | 10 | ||||
-rw-r--r-- | openembedded/packages/flex/flex.inc | 10 | ||||
-rw-r--r-- | openembedded/packages/flex/flex_2.5.31.bb | 9 |
5 files changed, 73 insertions, 0 deletions
diff --git a/openembedded/packages/flex/files/fix-gen.patch b/openembedded/packages/flex/files/fix-gen.patch new file mode 100644 index 000000000..55f4f6fdf --- /dev/null +++ b/openembedded/packages/flex/files/fix-gen.patch @@ -0,0 +1,17 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- flex-2.5.31/gen.c~fix-gen ++++ flex-2.5.31/gen.c +@@ -1812,8 +1812,7 @@ + if (yytext_is_array) { + if (!reentrant){ + indent_puts ("static int yy_more_offset = 0;"); +- }else{ +- indent_puts ("static int yy_prev_more_offset = 0;"); ++ indent_puts ("static int yy_prev_more_offset = 0;"); + } + } + else if (!reentrant) { diff --git a/openembedded/packages/flex/flex-2.5.31/include.patch b/openembedded/packages/flex/flex-2.5.31/include.patch new file mode 100644 index 000000000..b60dcb29d --- /dev/null +++ b/openembedded/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/openembedded/packages/flex/flex-native_2.5.31.bb b/openembedded/packages/flex/flex-native_2.5.31.bb new file mode 100644 index 000000000..ff8a42772 --- /dev/null +++ b/openembedded/packages/flex/flex-native_2.5.31.bb @@ -0,0 +1,10 @@ +include flex.inc +inherit native +PR = "r2" + +do_stage () { + install -m 0755 flex ${STAGING_BINDIR} + oe_libinstall -a libfl ${STAGING_LIBDIR} + ln -sf ./flex ${STAGING_BINDIR}/flex++ + ln -sf ./flex ${STAGING_BINDIR}/lex +} diff --git a/openembedded/packages/flex/flex.inc b/openembedded/packages/flex/flex.inc new file mode 100644 index 000000000..6e605ac9b --- /dev/null +++ b/openembedded/packages/flex/flex.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text." +SECTION = "devel" +LICENSE = "BSD" + +SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-2.5.31.tar.bz2 \ + file://fix-gen.patch;patch=1" +S = "${WORKDIR}/flex-${PV}" + +inherit autotools + diff --git a/openembedded/packages/flex/flex_2.5.31.bb b/openembedded/packages/flex/flex_2.5.31.bb new file mode 100644 index 000000000..b96c64513 --- /dev/null +++ b/openembedded/packages/flex/flex_2.5.31.bb @@ -0,0 +1,9 @@ +include flex.inc +PR = "r4" + +SRC_URI += "file://include.patch;patch=1" + +do_stage() { + oe_libinstall -a libfl ${STAGING_LIBDIR} +} + |