ncurses/ncurses-5.9-avoid-line-markers.dif
Dr. Werner Fink 0f4e575516 Accepting request 282217 from home:rguenther:branches:Base:System
- Add ncurses-5.9-avoid-line-markers.dif to pass -P to the preprocessor
  when generating lib_gen.c to avoid breaking the parsing with AWK
  of the preprocessor output of GCC 4.9 and up.

OBS-URL: https://build.opensuse.org/request/show/282217
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=183
2015-01-21 12:57:53 +00:00

12 lines
604 B
Plaintext

--- ncurses/Makefile.in.orig 2015-01-21 13:27:02.427199242 +0100
+++ ncurses/Makefile.in 2015-01-21 13:27:11.946311063 +0100
@@ -219,7 +219,7 @@
sh -e $(srcdir)/run_cmd.sh $(tinfo)/MKfallback.sh $(TERMINFO) $(TERMINFO_SRC) $(TIC_PATH) $(FALLBACK_LIST) >$@
./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
- sh -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
+ sh -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS) -P" "$(AWK)" generated <../include/curses.h >$@
init_keytry.h: make_keys$(BUILD_EXEEXT) keys.list
./make_keys$(BUILD_EXEEXT) keys.list > $@