lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV 2-7-2, ncurses, Slackware 3.1, patches


From: David Woolley
Subject: LYNX-DEV 2-7-2, ncurses, Slackware 3.1, patches
Date: Sat, 31 Jan 1998 00:09:24 +0000 (GMT)

Lynx2-7-2, with bugfixes to  Jan 25th, requires changes equivalent to
the following to build with linux-ncurses on Slackware Linux 3.1
(obviously with a real condition, not #if 0):

*** lynx2-7-2/src/LYCurses.h.dist       Fri Nov  7 00:21:21 1997
--- lynx2-7-2/src/LYCurses.h    Fri Jan 30 08:59:46 1998
***************
*** 36,42 ****
--- 36,46 ----

  #ifdef NCURSES
  # ifndef NCURSESHEADER
+ #if 0
  #  include <ncurses/curses.h>
+ #else
+ #  include <curses.h>
+ #endif
  # else
  #  ifdef __NetBSD__
  #    include <ncurses/ncurses.h>


Also the following changes are needed to account for file location
differences (some customisations removed, so line numbers will be out
slightly) - zip and unzip really need moving to the conditional part:

*** lynx2-7-2/userdefs.h.dist   Thu Jan 15 20:20:18 1998
--- lynx2-7-2/userdefs.h        Fri Jan 30 23:38:04 1998
***************
*** 1293,1306 ****
  **  ================================
  */
  #define       COMPRESS_PATH   "/usr/bin/compress"
! #define       UNCOMPRESS_PATH "/usr/bin/gunzip"
  #define       UUDECODE_PATH   "/usr/bin/uudecode"
  #define       ZCAT_PATH       "/usr/bin/zcat"
! #define       GZIP_PATH       "/usr/bin/gzip"
  #define       INSTALL_PATH    "/usr/bin/install"
  #define       INSTALL_ARGS    "-c"
! #define       TAR_PATH        "/usr/bin/tar"
! #define       TOUCH_PATH      "/usr/bin/touch"
  #else
  /*
  **  Other Unix:
--- 1294,1307 ----
  **  ================================
  */
  #define       COMPRESS_PATH   "/usr/bin/compress"
! #define       UNCOMPRESS_PATH "/bin/gunzip"
  #define       UUDECODE_PATH   "/usr/bin/uudecode"
  #define       ZCAT_PATH       "/usr/bin/zcat"
! #define       GZIP_PATH       "/bin/gzip"
  #define       INSTALL_PATH    "/usr/bin/install"
  #define       INSTALL_ARGS    "-c"
! #define       TAR_PATH        "/bin/tar"
! #define       TOUCH_PATH      "/bin/touch"
  #else
  /*
  **  Other Unix:
***************
*** 1320,1327 ****
  **  All Unix:
  **  =========
  */
! #define       ZIP_PATH        "/usr/local/bin/zip"
! #define       UNZIP_PATH      "/usr/local/bin/unzip"
  #define       MKDIR_PATH      "/bin/mkdir"
  #define       MV_PATH         "/bin/mv"
  #define       RM_PATH         "/bin/rm"
--- 1321,1328 ----
  **  All Unix:
  **  =========
  */
! #define       ZIP_PATH        "/usr/bin/zip"
! #define       UNZIP_PATH      "/usr/bin/unzip"
  #define       MKDIR_PATH      "/bin/mkdir"
  #define       MV_PATH         "/bin/mv"
  #define       RM_PATH         "/bin/rm"

It might also be worth noting that Slackware puts lynx in /usr/bin.

Finally, I feel that the bugfixes file is now too big to distribute as
complete replacement files, rather than patches.  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]