[skycat] 01/01: Fix FTBS on hurd (MAXPATHLEN).

Ole Streicher olebole-guest at alioth.debian.org
Thu Sep 12 07:25:07 UTC 2013


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository skycat.

commit a85865846fe1330483109af3961c5f04b8b515d8
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Sep 12 09:24:51 2013 +0200

    Fix FTBS on hurd (MAXPATHLEN).
---
 debian/changelog              |    6 ++++++
 debian/patches/nonlinux.patch |   15 +++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cf5a42a..38fef43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+skycat (3.1.2+starlink1~b-3) unstable; urgency=low
+
+  * Fix FTBS on hurd (MAXPATHLEN).
+
+ -- Ole Streicher <debian at liska.ath.cx>  Thu, 12 Sep 2013 09:18:32 +0200
+
 skycat (3.1.2+starlink1~b-2) unstable; urgency=low
 
   * Configure shared libs for hurd-i386 and kfreeBSD-* correctly.
diff --git a/debian/patches/nonlinux.patch b/debian/patches/nonlinux.patch
index d0cef84..5b682f3 100644
--- a/debian/patches/nonlinux.patch
+++ b/debian/patches/nonlinux.patch
@@ -1,5 +1,6 @@
 Author: Ole Streicher <debian at liska.ath.cx>
 Description: Configure shared libs for hurd-i386 and kfreeBSD-* correctly.
+ Also, define the obsolete "MAXPATHLEN" on hurd.
 --- a/tclconfig/tcl.m4
 +++ b/tclconfig/tcl.m4
 @@ -1379,17 +1379,17 @@
@@ -45,3 +46,17 @@ Description: Configure shared libs for hurd-i386 and kfreeBSD-* correctly.
  	    if test "${TCL_THREADS}" = "1" ; then
  		# The -pthread needs to go in the CFLAGS, not LIBS
  		LIBS=`echo $LIBS | sed s/-pthread//`
+--- a/tclutil/generic/Mem_Map.h
++++ b/tclutil/generic/Mem_Map.h
+@@ -60,6 +60,11 @@
+ // Default size of mapped page on SunOS, HP and Solaris.
+ #define MMAP_PAGE_SIZE 4096
+ 
++// MAXPATHLEN not defined on Hurd, as it is "bogus."
++#ifndef MAXPATHLEN
++#define MAXPATHLEN 4096
++#endif
++
+ // External used to round request.
+ size_t
+ round_to_pagesize (off_t len);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/skycat.git



More information about the debian-science-commits mailing list