Ticket #12: gpm-1.19.3.diff

File gpm-1.19.3.diff, 859 bytes (added by markh@…, 23 years ago)

This diff for gpm-1.19.3 prevent compilation failing if tetex (i think) is missing. Could someone double check whether it's needed on a base LFS system

  • Makefile.in

    diff -NPru gpm-1.19.3/Makefile.in gpm-1.19.3-new/Makefile.in
    old new  
    202202
    203203
    204204# Maintainer portion, use at your own risk
    205 SUBDIRS = doc contrib
     205SUBDIRS = contrib
    206206
    207207configure: configure.in aclocal.m4
    208208        cd $(srcdir) && autoconf
  • special.c

    diff -NPru gpm-1.19.3/special.c gpm-1.19.3-new/special.c
    old new  
    154154      open("/dev/null",O_RDONLY); /* stdin  */
    155155      open("/dev/tty0",O_WRONLY); /* stdout */
    156156      dup(1);                     /* stderr */
    157       for (i=3;i<OPEN_MAX; i++) close(i);
     157      for (i=3;i<FOPEN_MAX; i++) close(i);
    158158      execl("/bin/sh","sh","-c",command,(char *)NULL);
    159159      exit(1); /* shouldn't happen */
    160160