[Pkg-gnutls-commits] r1263 - in /packages/p11-kit/trunk/debian: changelog patches/ patches/20_path_max.diff patches/series
ametzler at users.alioth.debian.org
ametzler at users.alioth.debian.org
Wed Sep 28 17:27:11 UTC 2011
Author: ametzler
Date: Wed Sep 28 17:27:10 2011
New Revision: 1263
URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=1263
Log:
0.7-2 Fix FTBFS on GNU/Hurd. Closes: #643601
Added:
packages/p11-kit/trunk/debian/patches/
packages/p11-kit/trunk/debian/patches/20_path_max.diff
packages/p11-kit/trunk/debian/patches/series
Modified:
packages/p11-kit/trunk/debian/changelog
Modified: packages/p11-kit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/p11-kit/trunk/debian/changelog?rev=1263&op=diff
==============================================================================
--- packages/p11-kit/trunk/debian/changelog (original)
+++ packages/p11-kit/trunk/debian/changelog Wed Sep 28 17:27:10 2011
@@ -1,8 +1,9 @@
-p11-kit (0.7-2) UNRELEASED; urgency=low
+p11-kit (0.7-2) unstable; urgency=low
- * NOT RELEASED YET
+ * 20_path_max.diff Fix FTBFS on GNU/Hurd due to missing PATH_MAX (Thanks,
+ Pino Toscano). Closes: #643601
- -- Andreas Metzler <ametzler at debian.org> Tue, 27 Sep 2011 19:23:25 +0200
+ -- Andreas Metzler <ametzler at debian.org> Wed, 28 Sep 2011 19:22:40 +0200
p11-kit (0.7-1) unstable; urgency=low
Added: packages/p11-kit/trunk/debian/patches/20_path_max.diff
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/p11-kit/trunk/debian/patches/20_path_max.diff?rev=1263&op=file
==============================================================================
--- packages/p11-kit/trunk/debian/patches/20_path_max.diff (added)
+++ packages/p11-kit/trunk/debian/patches/20_path_max.diff Wed Sep 28 17:27:10 2011
@@ -1,0 +1,25 @@
+Description: Do not use PATH_MAX unless it is defined
+ Fixes FTBFS on GNU/hurd
+Author: Pino Toscano <pino at debian.org>
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41303
+Bug-Debian: http://bugs.debian.org/643601
+Last-Update: 2011-09-28
+
+--- p11-kit-0.7.orig/p11-kit/modules.c
++++ p11-kit-0.7/p11-kit/modules.c
+@@ -263,9 +263,14 @@ build_path (const char *dir, const char
+ assert (filename);
+
+ len = snprintf (NULL, 0, "%s/%s", dir, filename) + 1;
+- if (len <= 0 || len > PATH_MAX)
++ if (len <= 0)
+ return NULL;
+
++#ifdef PATH_MAX
++ if (len > PATH_MAX)
++ return NULL;
++#endif
++
+ if (!(path = malloc (len)))
+ return NULL;
+
Added: packages/p11-kit/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/p11-kit/trunk/debian/patches/series?rev=1263&op=file
==============================================================================
--- packages/p11-kit/trunk/debian/patches/series (added)
+++ packages/p11-kit/trunk/debian/patches/series Wed Sep 28 17:27:10 2011
@@ -1,0 +1,1 @@
+20_path_max.diff
More information about the Pkg-gnutls-commits
mailing list