SHA256
3
0
forked from pool/ncurses

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
This commit is contained in:
Dr. Werner Fink 2015-01-21 12:57:53 +00:00 committed by Git OBS Bridge
parent 0a4c9186ba
commit 0f4e575516
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- 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 > $@

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 21 12:22:05 UTC 2015 - rguenther@suse.com
- 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.
-------------------------------------------------------------------
Mon Jan 12 08:49:11 UTC 2015 - werner@suse.de

View File

@ -59,6 +59,7 @@ Patch1: ncurses-5.9-ibm327x.dif
Patch3: ncurses-5.9-overwrite.dif
Patch4: ncurses-5.7-tack.dif
Patch5: ncurses-5.9-environment.dif
Patch6: ncurses-5.9-avoid-line-markers.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@ -279,6 +280,7 @@ mv tack-* tack
%patch -P 4 -p0 -b .hs
%patch -P 5 -p0 -b .lc
%patch -P 0 -p0 -b .p0
%patch -P 6 -p0 -b .p6
rm -vf include/ncurses_dll.h
rm -vf mkdirs.sh
rm -vf tar-copy.sh