diff options
Diffstat (limited to 'print/lilypond/scripts/post-patch')
-rw-r--r-- | print/lilypond/scripts/post-patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/print/lilypond/scripts/post-patch b/print/lilypond/scripts/post-patch deleted file mode 100644 index 9b09186e2..000000000 --- a/print/lilypond/scripts/post-patch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -outdir=out -cd ${WRKSRC} || exit 2 -echo "Patching for FlexLexer.h <->gcc3 issues" - -file="" -candidates=`find /usr/include -name FlexLexer.h` -#take first found file. -for d in $candidates; do if [ -f $d ]; then file=$d; break; fi; done -if [ -z "${file}" ]; then echo "Cannot find FlexLexer.h"; exit 2; fi - -echo -n "Copying and fixing $file... " -mkdir -p lily/$outdir -rm -f lily/$outdir/FlexLexer.h -sed \ - -e 's/[^:]istream/std::istream/' \ - -e 's/[^i:]ostream/std::ostream/' \ - -e 's/iostream.h/iostream/' \ - $file > lily/$outdir/FlexLexer.h -echo "done" |