File: darwin.patch

package info (click to toggle)
lilypond 2.8.7-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,932 kB
  • ctags: 9,802
  • sloc: cpp: 57,785; lisp: 18,180; python: 11,665; sh: 3,195; yacc: 2,392; lex: 982; perl: 373; ansic: 316; makefile: 131
file content (11 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
diff -ruN stepmake/stepmake/c++-rules.make lilypond-2.7.11/stepmake/stepmake/c++-rules.make
--- stepmake/stepmake/c++-rules.make	2005-10-02 09:14:45.000000000 -0700
+++ stepmake/stepmake/c++-rules.make	2005-10-02 09:15:10.000000000 -0700
@@ -17,6 +17,7 @@
 
 $(outdir)/%.cc: %.ll
 	$(FLEX) -Cfe -p -p -o$@ $<
+	perl -i.bak -pe 's/^class istream;/#include <iostream>;\nusing namespace std;/' $@
 
 $(outdir)/%-rc.o: $(outdir)/%.rc
 	$(WINDRES) $(WINDRES_FLAGS) -o$@ $<