mr_bones_ 14/11/02 01:50:49 Modified: 5.5.2-glibc.patch Added: 5.5.2-warnings.patch Log: EAPI=5; build with ncurses[tinfo] (bug #527654) (Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.3 games-roguelike/moria/files/5.5.2-glibc.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/moria/files/5.5.2-glibc.patch?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/moria/files/5.5.2-glibc.patch?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/moria/files/5.5.2-glibc.patch?r1=1.2&r2=1.3 Index: 5.5.2-glibc.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/moria/files/5.5.2-glibc.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 5.5.2-glibc.patch 18 Jul 2006 07:59:25 -0000 1.2 +++ 5.5.2-glibc.patch 2 Nov 2014 01:50:49 -0000 1.3 @@ -9,7 +9,7 @@ +# CURSES = -lcurses -ltermcap # For SYS V Systems -# CURSES = -lcurses -+CURSES = -lcurses ++CURSES = `pkg-config ncurses --libs` # For XENIX, some XENIX systems may need -ltinfo # CURSES = -ltcap -ltermcap -lx 1.1 games-roguelike/moria/files/5.5.2-warnings.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/moria/files/5.5.2-warnings.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/moria/files/5.5.2-warnings.patch?rev=1.1&content-type=text/plain Index: 5.5.2-warnings.patch =================================================================== diff -ru umoria.orig/unix/unix.c umoria/unix/unix.c --- umoria.orig/unix/unix.c 2014-11-01 02:45:07.375535783 -0400 +++ umoria/unix/unix.c 2014-11-01 02:45:58.575820065 -0400 @@ -315,7 +315,7 @@ user[0] = '\0'; file++; - while (*file != '/' && i < sizeof(user)) + while (*file != '/' && i < sizeof(user) - 1) user[i++] = *file++; user[i] = '\0'; if (i == 0)
