delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/23/12:16:01

X-Spam-Check-By: sourceware.org
Message-ID: <444BA831.6070808@t-online.de>
Date: Sun, 23 Apr 2006 18:15:45 +0200
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [Patch] man-1.5p does not compile on Cygwin 1.5.19
X-ID: rw48R4ZQZeQfgRR32XlpFO+nVT0PouKFOFBay-X0rwf1LHNXY-3Ng3
X-TOI-MSGID: fe339d23-e1a2-4a76-b8f5-7f7514b87bc1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------090509050602040101040309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

below are two patches to compile man-1.5p on Cygwin 1.5.19

The first patch fixes a syntax issue in the build script (had it ever 
worked ?-)
The second patch handles the now missing dirent.d_ino.

Christian




--------------090509050602040101040309
Content-Type: text/plain;
 name="man-1.5p-1.sh.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="man-1.5p-1.sh.patch.txt"

--- man-1.5p-1.sh.orig	2005-05-04 12:12:56.001000000 +0200
+++ man-1.5p-1.sh	2006-04-21 23:51:11.578125000 +0200
@@ -75,8 +75,8 @@ prep() {
   (cd ${topdir} && \
   tar xv${opt_decomp}f ${src_orig_pkg} ; \
   cd ${topdir} && \
-  patch -p0 < ${src_patch} 
-  && mkdirs )
+  patch -p0 < ${src_patch} && \
+  mkdirs )
 }
 manpatch() {
   cd ${srcdir} && \

--------------090509050602040101040309
Content-Type: text/plain;
 name="man-1.5p-cygwin-1.5.19.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="man-1.5p-cygwin-1.5.19.patch.txt"

diff -r -u -p man-1.5p/src/glob.c man-1.5p.orig/src/glob.c
--- man-1.5p/src/glob.c	2006-04-22 00:14:45.640625000 +0200
+++ man-1.5p.orig/src/glob.c	2003-08-03 17:46:12.000000000 +0200
@@ -51,7 +51,7 @@
 
 #ifdef __QNX__
 #define REAL_DIR_ENTRY(dp) (dp->d_stat.st_ino != 0)
-#elif defined (_POSIX_SOURCE) || defined(__CYGWIN__)
+#elif defined (_POSIX_SOURCE)
 /* Posix does not require that the d_ino field be present, and some
    systems do not provide it. */
 #define REAL_DIR_ENTRY(dp) 1


--------------090509050602040101040309
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------090509050602040101040309--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019