fwnn/FreeWnn-trad_cpp.patch

61 lines
2.9 KiB
Diff

Index: FreeWnn-1.1.1-a023/Wnn/pubdicplus/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/Wnn/pubdicplus/Makefile.in
+++ FreeWnn-1.1.1-a023/Wnn/pubdicplus/Makefile.in
@@ -325,7 +325,7 @@ fzk.master-.c: fzk.master
$(LN) $? $@
std.fsrc: fzk.master-.c $(FZK_SRC)
- $(FZK_PP) fzk.master-.c > $@
+ $(CPP) -traditional-cpp $(FZK_FLAGS) fzk.master-.c > $@
full.fsrc: fzk.master-.c $(FZK_SRC)
$(FZK_PP) -DKANSAI fzk.master-.c > $@
Index: FreeWnn-1.1.1-a023/cWnn/cdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/cWnn/cdic/Makefile.in
+++ FreeWnn-1.1.1-a023/cWnn/cdic/Makefile.in
@@ -64,10 +64,10 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) con.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
$(FULLR):: $(FZK_SRCS) con.masterR-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'con.master?.c'
con.master-.c: con.master
Index: FreeWnn-1.1.1-a023/cWnn/tdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/cWnn/tdic/Makefile.in
+++ FreeWnn-1.1.1-a023/cWnn/tdic/Makefile.in
@@ -64,10 +64,10 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) con.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
$(FULLR):: $(FZK_SRCS) con.masterR-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'con.master?.c'
con.master-.c: con.master
Index: FreeWnn-1.1.1-a023/kWnn/kdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/kWnn/kdic/Makefile.in
+++ FreeWnn-1.1.1-a023/kWnn/kdic/Makefile.in
@@ -62,7 +62,7 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) fzk.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'fzk.master.c'
fzk.master-.c: fzk.master