wok-current diff yasr/stuff/yasr.patch @ rev 8268

Fix: pack swrast drivers into mesa-dri
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 30 05:22:41 2011 +0100 (2011-01-30)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/yasr/stuff/yasr.patch	Sun Jan 30 05:22:41 2011 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +--- yasr.h.old	Thu Jan 31 12:56:45 2008
     1.5 ++++ yasr.h	Sat Jan 30 11:37:31 2010
     1.6 +@@ -309,7 +309,9 @@
     1.7 + extern void opt_write(FILE * fp);
     1.8 + 
     1.9 + /* openpty.c prototypes */
    1.10 ++#ifndef HAVE_OPENPTY
    1.11 + extern int openpty(int *, int *, char *, struct termios *, struct winsize *);
    1.12 ++#endif
    1.13 + 
    1.14 + /* cfmakeraw.c prototypes */
    1.15 + extern void cfmakeraw(struct termios *);
    1.16 +@@ -318,7 +320,9 @@
    1.17 + extern int login_tty(int);
    1.18 + 
    1.19 + /* forkpty.c prototypes */
    1.20 ++#ifndef HAVE_FORKPTY
    1.21 + extern int forkpty(int *, char *, struct termios *, struct winsize *);
    1.22 ++#endif
    1.23 + 
    1.24 + /* tbc - Would it be more efficient to ensure that "blank" grids always held
    1.25 +    ascii 0x20 rather than ascii 0x00? */