summaryrefslogtreecommitdiffstats
path: root/base/flex
diff options
context:
space:
mode:
Diffstat (limited to 'base/flex')
-rw-r--r--base/flex/.md5sum1
-rwxr-xr-xbase/flex/Pkgfile5
2 files changed, 4 insertions, 2 deletions
diff --git a/base/flex/.md5sum b/base/flex/.md5sum
index c7265cd0a..91c1aba09 100644
--- a/base/flex/.md5sum
+++ b/base/flex/.md5sum
@@ -1 +1,2 @@
+ad9109820534278c6dd0898178c0788f flex-2.5.35-gcc44-1.patch
10714e50cea54dc7a227e3eddcd44d57 flex-2.5.35.tar.bz2
diff --git a/base/flex/Pkgfile b/base/flex/Pkgfile
index dfa9fc801..634234f61 100755
--- a/base/flex/Pkgfile
+++ b/base/flex/Pkgfile
@@ -7,10 +7,11 @@
name=flex
version=2.5.35
release=1
-source=( http://prdownloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
-
+source=( http://prdownloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2\
+ http://www.linuxfromscratch.org/patches/lfs/development/flex-2.5.35-gcc44-1.patch)
build() {
cd $name-$version
+patch -Np1 -i ../flex-2.5.35-gcc44-1.patch
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info