diff options
author | Preston A. Elder <prez@gentoo.org> | 2002-05-26 10:18:51 +0000 |
---|---|---|
committer | Preston A. Elder <prez@gentoo.org> | 2002-05-26 10:18:51 +0000 |
commit | 292171478fda3078f29d3c42959318095fad454b (patch) | |
tree | 806e27cadb5b8c0f65db84085bafe26da650c2d7 /sys-libs/ncurses/files | |
parent | Fixed for gcc 3.1 (diff) | |
download | gentoo-2-292171478fda3078f29d3c42959318095fad454b.tar.gz gentoo-2-292171478fda3078f29d3c42959318095fad454b.tar.bz2 gentoo-2-292171478fda3078f29d3c42959318095fad454b.zip |
Added ncurses-5.2.20020511-r1 which compiles with gcc 3.1
Diffstat (limited to 'sys-libs/ncurses/files')
-rw-r--r-- | sys-libs/ncurses/files/digest-ncurses-5.2.20020511-r1 | 2 | ||||
-rw-r--r-- | sys-libs/ncurses/files/ncurses-5.2.20020511-gcc31.patch | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-libs/ncurses/files/digest-ncurses-5.2.20020511-r1 b/sys-libs/ncurses/files/digest-ncurses-5.2.20020511-r1 new file mode 100644 index 000000000000..54cb37a390cb --- /dev/null +++ b/sys-libs/ncurses/files/digest-ncurses-5.2.20020511-r1 @@ -0,0 +1,2 @@ +MD5 464d6a49010cf2a6eb9ce59a264d4d47 ncurses-5.2.tar.gz 1743818 +MD5 09ddc8b2eee779d2ddd8504547da5822 ncurses-5.2.20020511.diff.bz2 650642 diff --git a/sys-libs/ncurses/files/ncurses-5.2.20020511-gcc31.patch b/sys-libs/ncurses/files/ncurses-5.2.20020511-gcc31.patch new file mode 100644 index 000000000000..e351790f4bfa --- /dev/null +++ b/sys-libs/ncurses/files/ncurses-5.2.20020511-gcc31.patch @@ -0,0 +1,23 @@ +diff -urNd ncurses-5.2/c++/cursesw.cc ncurses-5.2/c++/cursesw.cc.new +--- ncurses-5.2/c++/cursesw.cc Sat May 25 12:23:26 2002 ++++ ncurses-5.2/c++/cursesw.cc.new Sat May 25 12:22:51 2002 +@@ -51,8 +51,7 @@ + char buf[BUFSIZ]; + int result = wgetstr(w, buf); + if (result == OK) { +- strstreambuf ss(buf, sizeof(buf)); +- result = ss.vscan(fmt, (_IO_va_list)args); ++ result = vsscanf(buf, fmt, args); + } + va_end(args); + return result; +@@ -73,8 +72,7 @@ + if (result == OK) { + result = wgetstr(w, buf); + if (result == OK) { +- strstreambuf ss(buf, sizeof(buf)); +- result = ss.vscan(fmt, (_IO_va_list)args); ++ result = vsscanf(buf, fmt, args); + } + } + va_end(args); |