pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mdocml Fix build under Solaris 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3173f618ad91
branches:  trunk
changeset: 648770:3173f618ad91
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Mar 19 08:29:40 2015 +0000

description:
Fix build under Solaris 10.

diffstat:

 textproc/mdocml/distinfo                   |   3 ++-
 textproc/mdocml/patches/patch-compat_fts.c |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 81b0e843ac49 -r 3173f618ad91 textproc/mdocml/distinfo
--- a/textproc/mdocml/distinfo  Thu Mar 19 08:12:50 2015 +0000
+++ b/textproc/mdocml/distinfo  Thu Mar 19 08:29:40 2015 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.37 2015/03/14 10:24:38 wiz Exp $
+$NetBSD: distinfo,v 1.38 2015/03/19 08:29:40 tron Exp $
 
 SHA1 (mdocml-1.13.3.tar.gz) = 3ccfbb492a477b84343c97de743b3dd5bd3c763b
 RMD160 (mdocml-1.13.3.tar.gz) = 47d1096708b45b15d8f198404fd6608d164bb66a
 Size (mdocml-1.13.3.tar.gz) = 358971 bytes
+SHA1 (patch-compat_fts.c) = bc20484964d8ff0aa2af07d581bad39a6c056a5a
 SHA1 (patch-roff.7) = 22335024f83abc347ca39aabf7ab8d9cb38f7db2
diff -r 81b0e843ac49 -r 3173f618ad91 textproc/mdocml/patches/patch-compat_fts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/mdocml/patches/patch-compat_fts.c        Thu Mar 19 08:29:40 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-compat_fts.c,v 1.3 2015/03/19 08:29:40 tron Exp $
+
+Fix build under Solaris 10.
+
+--- compat_fts.c.orig  2015-03-13 12:38:38.000000000 +0000
++++ compat_fts.c       2015-03-19 08:22:11.000000000 +0000
+@@ -76,6 +76,10 @@
+ 
+ #define       FCHDIR(sp, fd)  (!ISSET(FTS_NOCHDIR) && fchdir(fd))
+ 
++#ifdef __sun__
++#define dirfd(fd) ((fd)->dd_fd)
++#endif
++
+ FTS *
+ fts_open(char * const *argv, int options, void *dummy)
+ {



Home | Main Index | Thread Index | Old Index