Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 12 Feb 2003 16:12:06 -0800 From: shahin razeghian jahromi Subject: [PATCH] Fix clex app. to build under cygwin To: clex AT clex DOT sk Cc: cygwin AT cygwin DOT com, dank AT kegel DOT com Message-id: <9c09f59bcbbf.9bcbbf9c09f5@usc.edu> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_ieReMICaseL62vA14dbSfQ)" Content-language: en X-Accept-Language: en --Boundary_(ID_ieReMICaseL62vA14dbSfQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Hi, I ran into a compile problem while building clex under cygwin. (Clex is a curses-based file manager; see http://www.clex.sk ). A patch to fix it is attached, along with a little shell script that demonstrates how to build clex under Cygwin. Shahin Jahromi University of Southern California --Boundary_(ID_ieReMICaseL62vA14dbSfQ) Content-type: text/plain; NAME=cygwin-clex.patch Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=cygwin-clex.patch --- clex-3.1.7/configure.in.old 2003-02-12 12:09:34.000000000 -0800 +++ clex-3.1.7/configure.in 2003-02-12 12:25:56.000000000 -0800 @@ -12,7 +12,7 @@ AC_HEADER_MAJOR AC_HEADER_SYS_WAIT AC_HEADER_TIME -AC_CHECK_HEADERS(ncurses.h fcntl.h unistd.h) +AC_CHECK_HEADERS(ncurses.h fcntl.h unistd.h term.h ncurses/term.h) AC_DECL_SYS_SIGLIST AC_C_CONST AC_TYPE_UID_T --- clex-3.1.7/src/inout.c.old 2003-02-12 12:10:51.000000000 -0800 +++ clex-3.1.7/src/inout.c 2003-02-12 12:12:26.000000000 -0800 @@ -24,7 +24,11 @@ #else # include #endif +#ifdef HAVE_TERM_H #include /* enter_bold_mode */ +#elif defined (HAVE_NCURSES_TERM_H) +#include +#endif #include "clex.h" #include "inout.h" --Boundary_(ID_ieReMICaseL62vA14dbSfQ) Content-type: text/plain; NAME=buildclex.sh Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=buildclex.sh wget http://www.clex.sk/download/clex-3.1.7.src.tar.gz tar zxvf clex-3.1.7.src.tar.gz patch -p0