aboutsummaryrefslogtreecommitdiff
path: root/sciteco/patches/0001-scinterm-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sciteco/patches/0001-scinterm-build.patch')
-rw-r--r--sciteco/patches/0001-scinterm-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sciteco/patches/0001-scinterm-build.patch b/sciteco/patches/0001-scinterm-build.patch
new file mode 100644
index 0000000..948e504
--- /dev/null
+++ b/sciteco/patches/0001-scinterm-build.patch
@@ -0,0 +1,22 @@
+--- a/scintilla/scinterm/Makefile 2012-12-11 01:26:02.000000000 +0100
++++ b/scintilla/scinterm/Makefile 2013-01-24 01:30:55.806042954 +0100
+@@ -4,8 +4,8 @@
+
+ CXX = g++
+ INCLUDEDIRS = -I ../include -I ../src -I ../lexlib
+-CXXFLAGS = -Wall -Wno-missing-braces -Wno-char-subscripts -Wno-long-long \
+- -pedantic -DNCURSES -DSCI_LEXER $(INCLUDEDIRS)
++CXXFLAGS += -Wall -Wno-missing-braces -Wno-char-subscripts -Wno-long-long \
++ -pedantic -DNCURSES -DSCI_LEXER $(INCLUDEDIRS)
+ ifdef DEBUG
+ CXXFLAGS += -DDEBUG -g
+ else
+@@ -30,7 +30,7 @@
+ CharacterSet.o LexerBase.o LexerModule.o LexerNoExceptions.o \
+ LexerSimple.o PropSetSimple.o StyleContext.o WordList.o \
+ $(lexers) ScintillaTerm.o
+- ar rc $@ $^
++ $(AR) rc $@ $^
+ touch $@
+ clean:
+ rm -f *.o $(scintilla)