This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[Patch] man-1.5p does not compile on Cygwin 1.5.19
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 23 Apr 2006 18:15:45 +0200
- Subject: [Patch] man-1.5p does not compile on Cygwin 1.5.19
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
--- 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} && \
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
--
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/